My theory about the warband crash
Posted: Sat May 14, 2016 6:59 am
This is just a theory based on what I have seen while I have been playing.
I do not think its a malformed packet.
I think it is a desync between the client and the server based on who is in the warband.
Example of how things should work.
Lets say a player is in slot 7.
Said player quits/logs off or is some how removed from the group.
Server sends a update packet to client telling the client the player is removed from slot 7.
A new player attempts to join warband .
The spot the server picks is slot 7 and send the updated into to client.
client updates with that players info.
In this example I have a feeling there is a disconnect between what slots are open on the server and what clients have gotten that updated info.
What I think is causing the client to crash
So said player leaves warband and slot 7 is updated. The update packet only hits like 5 of the 19 players that clear that spot in the warband. The others still show that player in that slot. A new person join and the server send that update info to the client to place the new player in slot 7. The players that never got the original player removed from the list crash out because its trying to put the new player into slot 7 but it is already filled. This causes the client to freak out and crash.
Also, when changing areas I noticed the client refreshes the warband list.
Again, this is a theory and it would explain why you do not see anything wrong with the packets. The packets are all correct, its more a timing issue.
I do not think its a malformed packet.
I think it is a desync between the client and the server based on who is in the warband.
Example of how things should work.
Lets say a player is in slot 7.
Said player quits/logs off or is some how removed from the group.
Server sends a update packet to client telling the client the player is removed from slot 7.
A new player attempts to join warband .
The spot the server picks is slot 7 and send the updated into to client.
client updates with that players info.
In this example I have a feeling there is a disconnect between what slots are open on the server and what clients have gotten that updated info.
What I think is causing the client to crash
So said player leaves warband and slot 7 is updated. The update packet only hits like 5 of the 19 players that clear that spot in the warband. The others still show that player in that slot. A new person join and the server send that update info to the client to place the new player in slot 7. The players that never got the original player removed from the list crash out because its trying to put the new player into slot 7 but it is already filled. This causes the client to freak out and crash.
Also, when changing areas I noticed the client refreshes the warband list.
Again, this is a theory and it would explain why you do not see anything wrong with the packets. The packets are all correct, its more a timing issue.