After successful connection to GameBots server to start the communication with GameBots the client needs to pass the handshake phase. Handshake differs for connections and also if the server is password protected. Below the handshake for bot, control and observer connection will be shown also with optional password protection (Figures 1,2,3). After that order of info messages exported after ready command will be outlined.
For Observer connection the init phase works as follows:
---------> HELLO_OBSERVER
<--------- READY
<---------> (*) PASSWORD PROTECTION
---------> NFO (observing server is sending only NFO message as a response to READY)
<--------- INIT {Name PlayerName} (or "INIT {Id UnrealId}" )
The info batch messages will be exported in this order after READY command was received (however, only thosed allowed in GameBots2004.ini file will be exported):
Game info message. (NFO message)
Mutators batch info messages. (SMUT, MUT, EMUT messages)
Item categories messages. (SITC, ITC, EITC messages)
NavPoints batch info messages. (SNAV, NAV, ENAV messages)
Item batch info messages. (SINV, IINV, EINV messages)
Player batch info messages. (SPLR, PLR, EPLR messages)