issy123 / agario-protocol

Protocol for agar.io version 2.1.5
8 stars 2 forks source link

Protocol 20 - messages 0x71 and 0x72 #24

Open Barbosik opened 5 years ago

Barbosik commented 5 years ago

These messages was added in protocol 18, but there is still no description, so I just write it here.

Message { 0x72 } is sent from server the the client in response to spectate command. This message leads to show the message "Spectate mode is full".

Message { 0x71, 0x02 } is sent from server to the client after long timeout with no gameplay. The server will disconnect the client just after this message.

Message { 0x71, 0x01 } leads client to disconnect, find new server, connect to it and automatically join the game. I don't have what is the reason for that, but it works in such way ;)

NuclearC commented 5 years ago

I bet that last packet { 0x71, 0x01 } is pretty useful.