Page 1 of 1

Infinite loop retreating from multiplayer game - IMPLEMENTED

Posted: Tue Sep 22, 2015 5:48 pm
by Alexander82
If you retreat from an inactive multiplayer game, where noone is playing anymore (everyone lost or become AI) the game start to skip turns endlessly and the game remain on your server list without any chance to delete it.

Re: Infinite loop retreating from multiplayer game

Posted: Tue Sep 22, 2015 5:57 pm
by Stratego (dev)
any suggestion what should happen (the AIs start fighting each other)

Re: Infinite loop retreating from multiplayer game

Posted: Tue Sep 22, 2015 6:14 pm
by TheBluePhoenix
I have also got this problem. Maybe if the last player withdraws from the game then the ai team with more pts should be made the winner to end the loop

Re: Infinite loop retreating from multiplayer game

Posted: Tue Sep 22, 2015 6:30 pm
by Alexander82
That probably happens because the game prevents you from leaving a multiplayer game befor every ai player has acted, but this way after every ai player there is another, an thus it continues to play indefinitely.
It would probably work a functions that close the game after the withdrawn of a player if there are no more human players

Re: Infinite loop retreating from multiplayer game

Posted: Tue Sep 22, 2015 6:38 pm
by Stratego (dev)
i have a possible fix : will quit if no more humans are there (and if there were any)
i did not have time to check, please someone test it - thanks!

up on server in 15 minutes.

Re: Infinite loop retreating from multiplayer game - IMPLEME

Posted: Tue Sep 22, 2015 6:57 pm
by Alexander82
ok, i'll make you know asap

Re: Infinite loop retreating from multiplayer game - IMPLEME

Posted: Tue Sep 22, 2015 7:06 pm
by Alexander82
The games doesn't stop, but even tought you shut up manually when you enter and delete the game you don't find it on the server list anymore, so i can say this is a great step ahead