issy123 / agario-protocol

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

Agar no longer sends packet 18 #26

Open xN3BULA opened 5 years ago

xN3BULA commented 5 years ago

You do not get packet 18 when connecting to an agar server anymore.

Barbosik commented 5 years ago

If you're talking about message 0x12 (clear), actually it doesn't needed. I think it was added because there was a bug on the server or client side with cell item tracking.

According to my logs, last time I was seen this message at 14 December 2018. It was server version 621.0.1: sv_protocol = "18" sv_secret = "0x000075F9" sv_versionClient = "3.2.1" sv_versionProto = "12.0.0"

But this message also was used rarely before this date. I think they using it to reset world state on the client side when server encounter some error or issue with tracking client side state.

it seems that they fixed server/client side issues related to client/server state synchronization and removed it. Probably they had issues on the client side. Because my client worked with no issue from very old version (protocol 5) and I even didn't noticed that 0x12 is not used anymore.

I think this message still can be send, for example when server is overloaded or in some rare cases.