izestyler / gwlp-revived-open-source

Automatically exported from code.google.com/p/gwlp-revived-open-source
0 stars 0 forks source link

MulitKeyDict fail (due to equal keys) #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. (Could require: 1 CPU Core, 32bit)
2. Open both servers, but start the client before the game server has finished 
loading the pmaps etc.
3. Try to load into a map, you'll probably get a network error (because the 
game server isn't ready yet).
4. Close the client and re-open it.
5. FAIL AT LOGIN SERVER CLIENT DICTIONARY - there already is a client with the 
same netID

My guess: 
The NetworkManager closed the client connection properly, freed the NetID but 
World does not know that the client is not alive anymore.
If so, this should be reproducible by other steps as well... (e.g. play on the 
GS, close the client, try to religion)

What is the expected output? What do you see instead?
I'd expect a proper login, but the LS crashes. Not only that 
NetworkManager/World communication probably failed, but MulitKeyDictionary 
failed as well!

Please use labels and text to provide additional information.
Fix the network manager... add events for that reason?
Fix the MKDict, see also issue 14

Original issue reported on code.google.com by apple9...@googlemail.com on 30 Sep 2011 at 9:01

GoogleCodeExporter commented 9 years ago
Fixed with the latest updates

Original comment by apple9...@googlemail.com on 19 Oct 2011 at 8:59