Initiate the communication with GameBots (GameBots handshake)

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.

Fig. 1. Bot connection handshake.

Fig. 2. Control connection handshake.

Fig. 3. Password protection.

For Observer connection the init phase works as follows:

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):