You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2026. It is now read-only.
If tank A shoots tank B and, at the same time, tank B moves, shoots, etc. the game server crashes.
This occurs when server first processes tank A shooting tank B. Tank B is therefore removed from the game. However, the next message processed is tank B performing its action, by which time it is no longer in the game. So, the server throws an exception and crashes.
This can be easily fixed by not throwing an exception when a tank that no longer exists makes a move. However, doing so may introduce other, unexpected bugs.
If tank A shoots tank B and, at the same time, tank B moves, shoots, etc. the game server crashes.
This occurs when server first processes tank A shooting tank B. Tank B is therefore removed from the game. However, the next message processed is tank B performing its action, by which time it is no longer in the game. So, the server throws an exception and crashes.
This can be easily fixed by not throwing an exception when a tank that no longer exists makes a move. However, doing so may introduce other, unexpected bugs.