mooege/mooege — Issue #174: Creating a game, leaving the game, then trying to create a game results in an exception and locks the client up
Author: dustinconrad
Created: 2011-10-13 04:07:13+00:00
State: open

[Debug] [MooNetRouter]: - [Exception] System.ArgumentException: An item with th
e same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boo
lean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at Mooege.Core.GS.Game.GameManager.CreateGame(Int32 gameId) in C:\Users\Dusti
n\mooege\src\Mooege\Core\GS\Game\GameManager.cs:line 15
at Mooege.Core.MooNet.Games.GameCreator.StartGame(List`1 clients, UInt64 obje
ctId) in C:\Users\Dustin\mooege\src\Mooege\Core\MooNet\Games\GameCreator.cs:line
66
at Mooege.Core.MooNet.Games.GameCreatorManager.FindGame(MooNetClient client,
UInt64 requestId, FindGameRequest request) in C:\Users\Dustin\mooege\src\Mooege\
Core\MooNet\Games\GameCreatorManager.cs:line 60
at Mooege.Core.MooNet.Services.GameMasterService.FindGame(IRpcController cont
roller, FindGameRequest request, Action`1 done) in C:\Users\Dustin\mooege\src\Mo
oege\Core\MooNet\Services\GameMasterService.cs:line 77
at bnet.protocol.game_master.GameMaster.CallMethod(MethodDescriptor method, I
RpcController controller, IMessage request, Action`1 done) in C:\Users\Dustin\mo
oege\src\LibMooNet\bnet\protocol\game_master\GameMaster.cs:line 7589
at Mooege.Net.MooNet.MooNetRouter.Identify(IConnection connection, CodedInput
Stream stream) in C:\Users\Dustin\mooege\src\Mooege\Net\MooNet\MooNetRouter.cs:l
ine 66