mooege/mooege — Issue #163: Server Lockup bug
Author: Nuk3R4z0r
Created: 2011-10-12 10:56:22+00:00
State: open

Scenario:
- Logging in > start game with fresh character.

- Finding items equipping, gaining xp, leveling and so on...

- Leaving game(game freezes for some seconds)

- Start game again and the game locks up

Server gave this output:

[Debug] [MooNetRouter]: - [Exception] System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Mooege.Core.GS.Game.GameManager.CreateGame(Int32 gameId)
at Mooege.Core.MooNet.Games.GameCreator.StartGame(List`1 clients, UInt64 objectId)
at Mooege.Core.MooNet.Games.GameCreatorManager.FindGame(MooNetClient client, UInt64 requestId, FindGameRequest request)
at Mooege.Core.MooNet.Services.GameMasterService.FindGame(IRpcController controller, FindGameRequest request, Action`1 done)
at bnet.protocol.game_master.GameMaster.CallMethod(MethodDescriptor method, IRpcController controller, IMessage request, Action`1 done)
at Mooege.Net.MooNet.MooNetRouter.Identify(IConnection connection, CodedInputStream stream)