Page 1 of 1

Random disconnects in 0.8.3

PostPosted: 07 Feb 2012, 00:44
by avamk
Hello again,

I was playing a game against the AI, and during almost every turn for the AI (minimax), my client would disconnect from the server (my server and client are on the same machine). This is the output from the server (the computer player is "hal"):
INFO [2012-02-06 19:40 [39:441]] ComputerPlayer2[pool-4-thread-2]: Timeout - Calculated 14 nodes in 26.413083s
INFO [2012-02-06 19:40 [39:442]] ComputerPlayer3[pool-4-thread-2]: hal simulated 3326 nodes in 185.210863s - average 17.95790995261439 nodes/s
INFO [2012-02-06 19:40 [39:443]] ComputerPlayer2[pool-4-thread-2]: Turn 12 Step mage.game.turn.PostCombatMainStep@1badd1dd Player hal Life 20
INFO [2012-02-06 19:40 [39:444]] Session[Timer-0]: session disconnected for user a9492b86-7d47-480d-bd5c-dd4073951cae
INFO [2012-02-06 19:40 [40:267]] ChatSession[Timer-0]: avamk has left chat 96fc9fc2-7cb5-49d8-90af-537183319c98
INFO [2012-02-06 19:40 [40:268]] UserManager[Timer-0]: user disconnected a9492b86-7d47-480d-bd5c-dd4073951cae
INFO [2012-02-06 19:40 [40:268]] User[Timer-0]: User avamk disconnected
INFO [2012-02-06 19:40 [40:340]] Main$ClientConnectionListener[Timer-0]: connection to client lost - avamk at 192.168.56.1
I can hit connect again in the client and I am brought back into the game. But this happens all the time. What am I doing wrong?

Thanks.

Re: Random disconnects in 0.8.3

PostPosted: 07 Feb 2012, 13:40
by BetaSteward
It looks like the server is getting stuck in a loop and timing out. Can you let me know what decks you are playing? Both yourself and the AI, since it tries to anticipate how you are going to respond to it's actions.

Re: Random disconnects in 0.8.3

PostPosted: 07 Feb 2012, 14:49
by avamk
Both minimax and I were usin randomly generated decks, both two colours but I really don't remember which. Another funny thing, and I don't know if it is related, is that my Serra Angel with flying kept getting blocked by non-flying creatures. Maybe this is why the AI was confused?