Serialized Form


Package cz.cuni.pogamut.Client

Class cz.cuni.pogamut.Client.AgentIterationEndEvent extends java.util.EventObject implements Serializable

Class cz.cuni.pogamut.Client.AgentStats extends java.lang.Object implements Serializable

Serialized Fields

frags

int frags

deaths

int deaths

damageCaused

int damageCaused

damageSuffered

int damageSuffered

wallHits

int wallHits

teamScore

double teamScore

enemyTeamScore

double enemyTeamScore

rocketHits

int rocketHits

extra

java.io.Serializable extra

Class cz.cuni.pogamut.Client.ModifiableAgentStats extends AgentStats implements Serializable

Class cz.cuni.pogamut.Client.RcvMsgEvent extends java.util.EventObject implements Serializable

serialVersionUID: 1L

Serialized Fields

message

MessageObject message

state

CommunicationState state

Class cz.cuni.pogamut.Client.SendCmdEvent extends java.util.EventObject implements Serializable

serialVersionUID: 1L

Serialized Fields

message

Command message

Package cz.cuni.pogamut.exceptions

Class cz.cuni.pogamut.exceptions.BotLoadingException extends PogamutException implements Serializable

Class cz.cuni.pogamut.exceptions.CantCloseConnectionException extends PogamutException implements Serializable

Class cz.cuni.pogamut.exceptions.CantReadException extends PogamutException implements Serializable

Class cz.cuni.pogamut.exceptions.CantWriteException extends PogamutException implements Serializable

Class cz.cuni.pogamut.exceptions.ClientException extends PogamutException implements Serializable

Class cz.cuni.pogamut.exceptions.ConnectException extends PogamutException implements Serializable

Class cz.cuni.pogamut.exceptions.DisconnectException extends PogamutException implements Serializable

Class cz.cuni.pogamut.exceptions.PogamutException extends java.lang.Exception implements Serializable

Class cz.cuni.pogamut.exceptions.ScriptedAgentException extends PogamutException implements Serializable

Class cz.cuni.pogamut.exceptions.UCCStartException extends PogamutException implements Serializable

Class cz.cuni.pogamut.exceptions.UTServerConnectionException extends PogamutException implements Serializable

Class cz.cuni.pogamut.exceptions.UTServerConnectionReinitialization extends UTServerConnectionException implements Serializable

Class cz.cuni.pogamut.exceptions.UTServerConnectionTerminationRequested extends UTServerConnectionException implements Serializable


Package cz.cuni.pogamut.experiments

Class cz.cuni.pogamut.experiments.ExecutorException extends java.lang.Exception implements Serializable

Class cz.cuni.pogamut.experiments.ExperimentDescriptor extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Deserialization...

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Serialization...

Throws:
java.io.IOException
Serialized Fields

name

java.lang.String name
Name used for GUI, log file etc.


parameters

java.util.List<E> parameters
Parameters of the experiment


outputDirectory

java.io.File outputDirectory
Path to the directory, where to save the results.


experimentSpeed

double experimentSpeed

recordReplay

boolean recordReplay

classLoader

java.lang.ClassLoader classLoader

Class cz.cuni.pogamut.experiments.ExperimentResult extends java.lang.Object implements Serializable

Serialized Fields

systemTimeLength

long systemTimeLength

simulationTimeLength

long simulationTimeLength

hostName

java.lang.String hostName

Class cz.cuni.pogamut.experiments.LogFileStorage extends java.lang.Object implements Serializable

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Stops recording before serialization.

Throws:
java.io.IOException
Serialized Fields

logString

java.lang.String logString

Class cz.cuni.pogamut.experiments.Parameter extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name

value

java.lang.Object value

Package cz.cuni.pogamut.experiments.util

Class cz.cuni.pogamut.experiments.util.BasicExperiment.StatResult extends ExperimentResult implements Serializable

Serialized Fields

stats

AgentStats[] stats

Class cz.cuni.pogamut.experiments.util.BasicExperimentDescriptor extends ExperimentDescriptor implements Serializable

Serialized Fields

botCreator

BasicExperimentDescriptor.BotCreator botCreator

experimentLength

long experimentLength

Class cz.cuni.pogamut.experiments.util.BasicExperimentDescriptor.BotCreator extends java.lang.Object implements Serializable


Package cz.cuni.pogamut.MessageObjects

Class cz.cuni.pogamut.MessageObjects.AddAmmo extends AddItem implements Serializable

Serialized Fields

weaponType

ItemType weaponType

ammoAmount

int ammoAmount

Class cz.cuni.pogamut.MessageObjects.AddArmor extends AddItem implements Serializable

Serialized Fields

strength

int strength

typeOfArmor

ItemType typeOfArmor

Class cz.cuni.pogamut.MessageObjects.AddExtra extends AddItem implements Serializable

Class cz.cuni.pogamut.MessageObjects.AddHealth extends AddItem implements Serializable

Serialized Fields

strength

int strength

typeOfHealth

ItemType typeOfHealth

boostable

boolean boostable

Class cz.cuni.pogamut.MessageObjects.AddItem extends MessageObject implements Serializable

Serialized Fields

itemID

int itemID
Int ID of item that was picked up


cls

java.lang.String cls
Class - a string representing type of object

Class cz.cuni.pogamut.MessageObjects.AddSpecial extends AddItem implements Serializable

Serialized Fields

typeOfSpecial

ItemType typeOfSpecial

Class cz.cuni.pogamut.MessageObjects.AddWeapon extends AddItem implements Serializable

Serialized Fields

melee

boolean melee

weaponType

ItemType weaponType

currentAmmo

int currentAmmo

currentAltAmmo

int currentAltAmmo
how many current alternative ammo we have in the weapon


maxAmmo

int maxAmmo

effectiveDist

int effectiveDist

maxDist

int maxDist

Class cz.cuni.pogamut.MessageObjects.AdrenalineGained extends MessageObject implements Serializable

Serialized Fields

amount

double amount
how many adrenaline we have gained

Class cz.cuni.pogamut.MessageObjects.AliveMessage extends MessageObject implements Serializable

Serialized Fields

time

double time

Class cz.cuni.pogamut.MessageObjects.Ammo extends Item implements Serializable

Serialized Fields

typeOfWeapon

ItemType typeOfWeapon
which weapon is it for


ammoAmount

int ammoAmount
how much ammo does it add

Class cz.cuni.pogamut.MessageObjects.Armor extends Item implements Serializable

Serialized Fields

typeOfArmor

ItemType typeOfArmor

strenght

int strenght

Class cz.cuni.pogamut.MessageObjects.AutoTraceRay extends MessageObject implements Serializable

Serialized Fields

from

Triple from

to

Triple to

fastTrace

boolean fastTrace

result

boolean result

hitNormal

Triple hitNormal

hitLocation

Triple hitLocation

traceActors

boolean traceActors

hitId

int hitId

Class cz.cuni.pogamut.MessageObjects.BeginMessage extends MessageObject implements Serializable

Serialized Fields

time

double time

Class cz.cuni.pogamut.MessageObjects.BotDamaged extends MessageObject implements Serializable

Serialized Fields

damage

int damage
Damage - amount of damage taken


damageType

java.lang.String damageType
DamageType - a string describing what kind of damage


idInstigator

int idInstigator
idInstigator - id of the player who is damaging the bot, filled only iff instigator is in the field of view of the bot

Class cz.cuni.pogamut.MessageObjects.BotKilled extends MessageObject implements Serializable

Serialized Fields

killerID

int killerID
KillerID - unique ID of player that killed him if any (may have walked off a ledge)


damageType

java.lang.String damageType
DamageType - a string describing what kind of damage killed them

Class cz.cuni.pogamut.MessageObjects.Bumped extends MessageObject implements Serializable

Serialized Fields

actorID

int actorID
actorId - unique id of actor (actors include other players and other physical objects that can block your path.)


location

Triple location
Location - location of thing you rammed

Class cz.cuni.pogamut.MessageObjects.ConfigChange extends MessageObject implements Serializable

Serialized Fields

manualSpawn

boolean manualSpawn

autoTrace

boolean autoTrace

invulnerable

boolean invulnerable

name

java.lang.String name

visionTime

double visionTime

showDebug

boolean showDebug

showFocalPoint

boolean showFocalPoint

drawTraceLines

boolean drawTraceLines

synchronousOff

boolean synchronousOff

Class cz.cuni.pogamut.MessageObjects.DeleteFromBatch extends MessageObject implements Serializable

Serialized Fields

msgType

MessageType msgType

itemClass

java.lang.String itemClass
In case the delete from batch is of type ITEM, this field is filled by the parser so the agent know the ItemClass so it is possible to delete it from batch.

NOTE THAT THIS IS HACK! When new communication will be implemented this will be dropped. (as well as whole delta-message stuff update()/diff())

Class cz.cuni.pogamut.MessageObjects.Disconnected extends MessageObject implements Serializable

Serialized Fields

reason

java.lang.String reason

Class cz.cuni.pogamut.MessageObjects.DominationPoint extends MessageObject implements Serializable

Serialized Fields

controller

int controller
Which team controls this point.


location

Triple location
Location of navpoint


hashComputed

boolean hashComputed
thanks to weird hashcode flag if hashcode has been specified


hashCode

int hashCode
hash code for astar


reachable

boolean reachable
Is there no obstacle in way bot-navpoint = can bot run there directly?

Class cz.cuni.pogamut.MessageObjects.DummyMessage extends MessageObject implements Serializable

Serialized Fields

fatal

boolean fatal

Class cz.cuni.pogamut.MessageObjects.EndMessage extends MessageObject implements Serializable

Serialized Fields

time

double time

Class cz.cuni.pogamut.MessageObjects.Extra extends Item implements Serializable

Class cz.cuni.pogamut.MessageObjects.FallEdge extends MessageObject implements Serializable

Serialized Fields

fell

boolean fell
Flag for falling, if true, then bot has already fallen


location

Triple location
Current location of the bot

Class cz.cuni.pogamut.MessageObjects.FastTrace extends MessageObject implements Serializable

Serialized Fields

from

Triple from

to

Triple to

result

boolean result

Class cz.cuni.pogamut.MessageObjects.FlagInfo extends MessageObject implements Serializable

Serialized Fields

location

Triple location

holderID

int holderID

holderUnrealID

java.lang.String holderUnrealID

team

int team

reachable

boolean reachable

state

java.lang.String state

Class cz.cuni.pogamut.MessageObjects.GameInfo extends MessageObject implements Serializable

Serialized Fields

gameType

java.lang.String gameType
Gametype - What you are playing (BotDeathMatchPlus, BotTeamGame, BotDomination, BotCTFGame)


level

java.lang.String level
Level - name of map in play


timeLimit

double timeLimit
TimeLimit - maximum time game will last (if tied at end, goes into sudden death overtime)


fragLimit

int fragLimit
FragLimit - number of kills needed to win game (BotDeathMatchPlus only)


goalTeamScore

double goalTeamScore
GoalTeamScore - number of points a team needs to win game (BotTeamGame,BotDomination)


maxTeams

int maxTeams
MaxTeams - max number of teams. valid team range will be 0 to (MaxTeams - 1)(BotTeamGame, BotDomination)


maxTeamSize

int maxTeamSize
MaxTeamSize - Max number of players per side (BotTeamGame, BotDomination)


remainingTime

int remainingTime
TODO: dont know what this does


gamePaused

boolean gamePaused
is game paused


botsPaused

boolean botsPaused
Are paused only bots or everything


gameSpeed

double gameSpeed
speed of game

Class cz.cuni.pogamut.MessageObjects.GamePaused extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.GameResumed extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.GameStatus extends MessageObject implements Serializable

Serialized Fields

playerScores

java.util.HashMap<K,V> playerScores
List of player scores. Stored in format InID of player -> Score


teamScores

java.util.HashMap<K,V> teamScores

domPoints

java.util.HashMap<K,V> domPoints
in case of Domination points, this is filled ... IntID_of_point -> number of team owning dompoint


myFlag

java.lang.String myFlag
sent in CTF games, if the bot is carrying the flag


enemyFlag

java.lang.String enemyFlag
sent in CTF games, if some enemy bot is carrying flag of your team


damageModifier

double damageModifier
damage from weapons are multiplied by this number

Class cz.cuni.pogamut.MessageObjects.GlobalChat extends MessageObject implements Serializable

Serialized Fields

string

java.lang.String string
String - a human readable message sent by another player in the game on the global channel


name

java.lang.String name

Class cz.cuni.pogamut.MessageObjects.Health extends Item implements Serializable

Serialized Fields

typeOfHealth

ItemType typeOfHealth

strength

int strength

boostable

boolean boostable

Class cz.cuni.pogamut.MessageObjects.HearNoise extends MessageObject implements Serializable

Serialized Fields

sourceID

int sourceID
SourceID - unique ID of actor making the noise


rotation

Triple rotation
How should bot rotate if it would like to be in the direction of the pickuped actor

Class cz.cuni.pogamut.MessageObjects.HearPickup extends MessageObject implements Serializable

Serialized Fields

playerID

int playerID
playerID - unique ID of player how picked up the object


name

java.lang.String name
Name of the pickuped actor


sourceClass

java.lang.String sourceClass
Class of the pickuped actor


rotation

Triple rotation
How should bot rotate if it would like to be in the direction of the pickuped actor

Class cz.cuni.pogamut.MessageObjects.HelloBotHandshake extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.HelloControlServerHandshake extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.HelloMap extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.ChangedWeapon extends MessageObject implements Serializable

Serialized Fields

weaponID

int weaponID
Id - unique id of new weapon, based on the weapon's name.


cls

java.lang.String cls

Class cz.cuni.pogamut.MessageObjects.IncommingProjectile extends MessageObject implements Serializable

Serialized Fields

time

double time
estimated time till impact


direction

Triple direction

origin

Triple origin

damageRadius

double damageRadius

velocity

Triple velocity

location

Triple location

speed

double speed

cls

java.lang.String cls
Unreal class of incoming projectile

Class cz.cuni.pogamut.MessageObjects.Item extends MessageObject implements Serializable

Serialized Fields

location

Triple location

reachable

boolean reachable

cls

java.lang.String cls

amount

int amount
if not negative it specified amount of the item (e.g. in medkit it's how many health you will get)


event

java.lang.String event

humanName

java.lang.String humanName
Filled by ItemCathegories.processItem(). Represents human readable string (sort of ;-)


navPoint

NavPoint navPoint
Warning, can be null if no navpoint of the same location exists! E.g. when it falls to the ground.

Class cz.cuni.pogamut.MessageObjects.ItemList extends MessageObject implements Serializable

Serialized Fields

sending

boolean sending
flag, if true, then we are in ITEM_LIST sending, if false, then not

Class cz.cuni.pogamut.MessageObjects.MapFinished extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.MapChange extends MessageObject implements Serializable

Serialized Fields

mapName

java.lang.String mapName
Name of map server swap into.

Class cz.cuni.pogamut.MessageObjects.MapListEnd extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.MapListStart extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.MessageObject extends java.lang.Object implements Serializable

Serialized Fields

type

MessageType type
type of message from GameBot


ID

int ID
int ID in Parser. Corresponds uniquely to UnrealID


UnrealID

java.lang.String UnrealID

visible

boolean visible

Class cz.cuni.pogamut.MessageObjects.Mover extends MessageObject implements Serializable

Serialized Fields

location

Triple location
Location - an absolute location


reachable

boolean reachable
Reachable - true if the bot can run here mover, false otherwise


damageTrig

boolean damageTrig
DamageTrig - true if the mover needs to be shot to activated.


cls

java.lang.String cls
Class - Class of the mover.


isMoving

boolean isMoving
isMoving - does mover move right now?


velocity

Triple velocity
velovity - velocity vector

Class cz.cuni.pogamut.MessageObjects.NavList extends MessageObject implements Serializable

Serialized Fields

sending

boolean sending
flag, if true, then we are in NAVLISt sendinf, if false, then not

Class cz.cuni.pogamut.MessageObjects.NavPoint extends MessageObject implements Serializable

Serialized Fields

location

Triple location
Location of navpoint


itemClass

java.lang.String itemClass
Class of respawn item, "None" if no item is respawning there TODO: NOT SUPPORTED RIGHT NOW


neighbours

java.util.ArrayList<E> neighbours
List of neighbours


neighboursMap

java.util.Map<K,V> neighboursMap
Neighbours: int id of neighbour navpoint -> NeighNav leading to the navpoint id


hashComputed

boolean hashComputed
thanks to weird hashcode flag if hashcode has been specified


hashCode

int hashCode
hash code for astar


reachable

boolean reachable
Is there no obstacle in way bot-navpoint = can bot run there directly?


item

Item item
If there is an item spawned in the same location it's saved here.


itemID

int itemID
id of item laying on the NavPoint, when 0, there is not any


itemUnrealID

java.lang.String itemUnrealID
unrelID of item laying on the NavPoint, when null, there is not any


flag

java.lang.String flag
could be PathNode, PlayerStart, InventorySpot, AIMarker. If Flag is AIMarker, then additional attributes can be found: - rotation - roamingSpot - snipingSpot - preferedWeapon


rotation

Triple rotation
rotation - which direction agent should face to on the roamingSpot, snipingSpot


roamingSpot

boolean roamingSpot
roaming spot is a place to make an ambush


snipingSpot

boolean snipingSpot
sniping spot is a place to use a sniper rifle from;)


classOfPreferedWeapon

java.lang.String classOfPreferedWeapon
prefered weapon to use at the spot - like XWeapons.ClassicSniperRifle on the snipingSpot

Class cz.cuni.pogamut.MessageObjects.NeighNav extends MessageObject implements Serializable

Serialized Fields

flags

int flags

collisionH

int collisionH

collisionR

int collisionR

neededJump

Triple neededJump
if is filled, it contains a place where bot MUST jump, check forceDoubleJump if true you need to double jump


forceDoubleJump

boolean forceDoubleJump
Whether you will need to double jump.


neighbour

NavPoint neighbour
Should be initialized by AgentBody when receiving of all navpoints is finished.

Class cz.cuni.pogamut.MessageObjects.Path extends MessageObject implements Serializable

Serialized Fields

nodes

java.util.ArrayList<E> nodes
array of nodes, if bot walks from current position through sequence of these NavPoints, it will arrive to the destination Note, that reachable is not valid in these NavPoints


pongID

java.lang.String pongID
PongID, same as pingID in GETPATH request, necessary for identification in case of multiple requests

Class cz.cuni.pogamut.MessageObjects.Player extends MessageObject implements Serializable

Serialized Fields

location

Triple location
Location - an absolute location for the player


rotation

Triple rotation
Rotation - which direction the player is facing in absolute terms


velocity

Triple velocity
Velocity - absolute velocity in UT units


team

int team
Team - what team the player is on.


weapon

java.lang.String weapon
Weapon - what class of weapon the character is holding.


reachable

boolean reachable
Reachable - true if the bot can run to this other player directly, false otherwise. Possible reasons for false: pit or obstacle between the two characters


shooting

int shooting
Shooting - whether player is shooting


name

java.lang.String name
Name of the player


autoTrace

boolean autoTrace
Autotrace feature enabled?


invulnerable

boolean invulnerable
Is bot invulnerable?


manualSpawn

boolean manualSpawn
is it necessary to spawn bot manually?


visionTime

double visionTime
vision time of bot


showDebug

boolean showDebug
show debug for him?


showFocalPoint

boolean showFocalPoint
show where the bot look at


drawTraceLines

boolean drawTraceLines
draw trace line in UT GUI?


synchronousOff

boolean synchronousOff
Disable all synchronous messages?

Class cz.cuni.pogamut.MessageObjects.PlayerDamaged extends MessageObject implements Serializable

Serialized Fields

hitID

int hitID
hitID - unique ID of player hit


damage

int damage
Damage - amount of damage done


damageType

java.lang.String damageType
DamageType - a string describing what kind of damage

Class cz.cuni.pogamut.MessageObjects.PlayerJoinsGame extends MessageObject implements Serializable

Serialized Fields

name

java.lang.String name

Class cz.cuni.pogamut.MessageObjects.PlayerKilled extends MessageObject implements Serializable

Serialized Fields

playerID

int playerID
Id - unique ID of player


killerID

int killerID
Killer - unique ID of player that killed them if any (may have walked off a ledge)


damageType

java.lang.String damageType
DamageType - a string describing what kind of damage killed them

Class cz.cuni.pogamut.MessageObjects.PlayerLeft extends MessageObject implements Serializable

Serialized Fields

name

java.lang.String name

Class cz.cuni.pogamut.MessageObjects.PlayerListEnd extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.PlayerListStart extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.Pong extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.RayList extends MessageObject implements Serializable

Serialized Fields

sending

boolean sending
flag, if true, then we are in RAY_LIST sending, if false, then not

Class cz.cuni.pogamut.MessageObjects.Reachable extends MessageObject implements Serializable

Serialized Fields

pongID

java.lang.String pongID
pongID - an id matching the one sent by client. Allows bot to match answer with right querry.


reachable

boolean reachable
Reachable - true if the bot can run here directly, false otherwise

Class cz.cuni.pogamut.MessageObjects.SeePlayer extends MessageObject implements Serializable

Serialized Fields

rotation

Triple rotation
Rotation - which direction the player is facing in absolute terms


location

Triple location
Location - an absolute location for the player


velocity

Triple velocity
Velocity - absolute velocity in UT units


team

java.lang.String team
Team - what team the player is on.


reachable

boolean reachable
Reachable - true if the bot can run to this other player directly, false otherwise. Possible reasons for false: pit or obstacle between the two characters


weapon

java.lang.String weapon
Weapon - what weapon the character is holding.


shooting

int shooting
Wether player is shooting


name

java.lang.String name
Name of the player

Class cz.cuni.pogamut.MessageObjects.Self extends MessageObject implements Serializable

Serialized Fields

name

java.lang.String name
Name - players human readable name


location

Triple location
Location - an absolute location


rotation

Triple rotation
Rotation - which direction the player is facing in absolute terms


velocity

Triple velocity
Velocity - absolute velocity in UT units


team

int team
Team - what team the player is on. 255 is no team. 0-3 are red, blue, green, gold in that order


weapon

java.lang.String weapon
Weapon - weapon the player is holding. Weapon strings to look for include: "ImpactHammer", "Enforcer", "Translocator", "GESBioRifle", "ShockRifle", "PulseGun", "Minigun2", "UT_FlakCannon", "UT_Eightball", "WarheadLauncher"


reachable

boolean reachable

health

int health
Health - how much health the bot has left. Starts at 100, ranges from 0 to 200


currentAmmo

int currentAmmo
CurrentAmmo - How much ammo the bot has left for current weapon


armor

int armor
Armor - how much armor the bot is wearing. Starts at 0, can range up to 200.


altFiring

int altFiring

adrenaline

double adrenaline
Adrenaline - how much adrenaline the bot has.


currentAltAmmo

int currentAltAmmo
Alternative Ammo - how many alternative ammo for the current weapon the bot has.


shooting

boolean shooting
Shooting - wether the bot is shooting or not TODO: FIXME: IS NOT IMPLEMENTED YET BY GAMEBOTS (in this class diff(), update() are OK)

Class cz.cuni.pogamut.MessageObjects.Spawn extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.Special extends Item implements Serializable

Serialized Fields

typeOfSpecial

ItemType typeOfSpecial

Class cz.cuni.pogamut.MessageObjects.TeamChat extends MessageObject implements Serializable

Serialized Fields

string

java.lang.String string
String - a human readable message sent by a team mate in the game on the private team channel

Class cz.cuni.pogamut.MessageObjects.Thrown extends MessageObject implements Serializable

Class cz.cuni.pogamut.MessageObjects.Trace extends MessageObject implements Serializable

Serialized Fields

from

Triple from

to

Triple to

fastTrace

boolean fastTrace

result

boolean result

hitNormal

Triple hitNormal

hitId

int hitId

hitLocation

Triple hitLocation

traceActors

boolean traceActors

Class cz.cuni.pogamut.MessageObjects.Triple extends java.lang.Object implements Serializable

Serialized Fields

x

double x

y

double y

z

double z

hashCode

int hashCode

Class cz.cuni.pogamut.MessageObjects.UTMap extends MessageObject implements Serializable

Serialized Fields

mapName

java.lang.String mapName

Class cz.cuni.pogamut.MessageObjects.WallCollision extends MessageObject implements Serializable

Serialized Fields

collisionID

int collisionID
Int ID of wall collision


normal

Triple normal
Normal - normal of the angle bot colided at.


location

Triple location
Location - absolute location of bot at time of impact

Class cz.cuni.pogamut.MessageObjects.Weapon extends Item implements Serializable

Serialized Fields

melee

boolean melee

weaponType

ItemType weaponType

loaded

boolean loaded

currentAmmo

int currentAmmo

maxAmmo

int maxAmmo

effectiveDist

int effectiveDist

maxDist

int maxDist

Class cz.cuni.pogamut.MessageObjects.ZoneChangedBot extends MessageObject implements Serializable

Serialized Fields

zoneID

int zoneID
unique id of zone entered


pain

boolean pain

Class cz.cuni.pogamut.MessageObjects.ZoneChangedFoot extends MessageObject implements Serializable

Serialized Fields

zoneID

int zoneID
Id - unique id of zone entered


pain

boolean pain

Class cz.cuni.pogamut.MessageObjects.ZoneChangedHead extends MessageObject implements Serializable

Serialized Fields

zoneID

int zoneID
unique id of zone entered


pain

boolean pain

Package cz.cuni.pogamut.remote

Class cz.cuni.pogamut.remote.AgentIterationEndEvent extends java.util.EventObject implements Serializable


Package cz.cuni.pogamut.server

Class cz.cuni.pogamut.server.MapVisualizationPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

ut

UTWorld ut

log

java.util.logging.Logger log

rawGBLog

java.util.logging.Logger rawGBLog

initialized

boolean initialized

serverURI

java.net.URI serverURI

connection

UTServerConnection connection

info

UTServerInfoSnapshot info

gameInfo

GameInfo gameInfo

serverState

Flag<T> serverState

players

java.util.Map<K,V> players

navPoints

java.util.List<E> navPoints

navPointsMap

java.util.Map<K,V> navPointsMap

waitNavPoints

java.util.concurrent.CountDownLatch waitNavPoints

mapExtens

double[] mapExtens
Contains minX, minY, maxX, maxY of the navpoints coords.


xLength

double xLength
mapExtens[MAX_X] - mapExtens[MIN_X]


yLength

double yLength
mapExtens[MAX_Y] - mapExtens[MIN_Y]


zLength

double zLength
mapExtens[MAX_Z] - mapExtens[MIN_Z]


xScale

double xScale
Scale x-double from UT2004 to pixel on the map.


yScale

double yScale
Scale y-double from UT2004 to pixel on the map.


zScale

double zScale
Scale y-double from UT2004 to pixel on the map.


xSize

int xSize
X-size of the map on the panel int pixels.


ySize

int ySize
Y-size of the map on the panel int pixels.


zSize

int zSize
Y-size of the map on the panel int pixels. Maximal radius of the navpoint.


xBorder

int xBorder
Border for drawing.


yBorder

int yBorder
Border for drawing.


mapsExtensCounted

boolean mapsExtensCounted
Flag whether mapExtens have been counted.


serverUp

boolean serverUp
Flag whether server is up.

Class cz.cuni.pogamut.server.UTServer extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Deserialization...

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Serialization...

Throws:
java.io.IOException
Serialized Fields

info

UTServerInfoSnapshot info
This contains all the informations about the server. We have it in one class because you make call snapshot() that will return it's clone.


gbConn

GameBotConnection gbConn

gbSocket

java.net.Socket gbSocket

writer

java.io.PrintWriter writer

Class cz.cuni.pogamut.server.UTServerInfoSnapshot extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Deserialization...

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Serialization...

Throws:
java.io.IOException
Serialized Fields

pingPong

boolean pingPong
Whether to test actively the connection for being alive.


pongTimeoutMillis

int pongTimeoutMillis
How long we should wait for PONG message before assuming the communication as dead.


automaticallyReconnect

boolean automaticallyReconnect
Whether to automatically reconnect to the server if down.


autoReconnectMillis

int autoReconnectMillis
How often we should try the reconnect.


gamebotsControlConnectionURI

java.net.URI gamebotsControlConnectionURI
Server URI where we want to connect to.


gamebotsBotsURI

java.net.URI gamebotsBotsURI
Server URI where we want to connect to.


serverRemoteParserURI

java.net.URI serverRemoteParserURI
URI of remote parser associated with this UT server.


serverOpened

boolean serverOpened
Does this server allow connection of new bots? It isn't necesarry to check this flag. It is just polite to do so. It's not checked anywhere in this class, but you should use it before calling connectBot(). It's because of Experiments. When experiment is started on the server, this flag is set to false and only experiment should connect the bots into it.


name

java.lang.String name
Name of the server.


Package cz.cuni.utils

Class cz.cuni.utils.MyLevel extends java.util.logging.Level implements Serializable

serialVersionUID: -1441820277811342563L