How do I prevent disconnection?
I need to know how to prevent disconnection of my client from the ROTMG servers.
When i change my weapon's ID into an ID that's not what i have equipped, i get disconnected a few seconds later.
I'm assuming i'm being disconnected due to the ID of the weapon being different from what the server thinks, so it disconnects the player.
EX: Client changes weapon to weapon 2 when it really has weapon 1, server gets confused and disconnects player.
When i change my weapon's ID into an ID that's not what i have equipped, i get disconnected a few seconds later.
I'm assuming i'm being disconnected due to the ID of the weapon being different from what the server thinks, so it disconnects the player.
EX: Client changes weapon to weapon 2 when it really has weapon 1, server gets confused and disconnects player.