Infinite loop retreating from multiplayer game - IMPLEMENTED

Moderator: Endru1241

Post Reply
User avatar
Alexander82
Posts: 6677
Joined: Thu Feb 26, 2015 8:18 pm

Infinite loop retreating from multiplayer game - IMPLEMENTED

Post by Alexander82 » Tue Sep 22, 2015 5:48 pm

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.
Age of Fantasy design leader

Stratego (dev)
Site Admin
Posts: 9547
Joined: Fri Apr 25, 2014 9:28 pm

Re: Infinite loop retreating from multiplayer game

Post by Stratego (dev) » Tue Sep 22, 2015 5:57 pm

any suggestion what should happen (the AIs start fighting each other)

User avatar
TheBluePhoenix
Posts: 1498
Joined: Thu Jul 30, 2015 5:09 pm

Re: Infinite loop retreating from multiplayer game

Post by TheBluePhoenix » Tue Sep 22, 2015 6:14 pm

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
BEWARE!!!!The long lost empire of phoenicia is rising- The world is but just near the golden age,wherein men played and frolicked,without any worries at all


User avatar
Alexander82
Posts: 6677
Joined: Thu Feb 26, 2015 8:18 pm

Re: Infinite loop retreating from multiplayer game

Post by Alexander82 » Tue Sep 22, 2015 6:30 pm

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
Age of Fantasy design leader

Stratego (dev)
Site Admin
Posts: 9547
Joined: Fri Apr 25, 2014 9:28 pm

Re: Infinite loop retreating from multiplayer game

Post by Stratego (dev) » Tue Sep 22, 2015 6:38 pm

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.

User avatar
Alexander82
Posts: 6677
Joined: Thu Feb 26, 2015 8:18 pm

Re: Infinite loop retreating from multiplayer game - IMPLEME

Post by Alexander82 » Tue Sep 22, 2015 6:57 pm

ok, i'll make you know asap
Age of Fantasy design leader

User avatar
Alexander82
Posts: 6677
Joined: Thu Feb 26, 2015 8:18 pm

Re: Infinite loop retreating from multiplayer game - IMPLEME

Post by Alexander82 » Tue Sep 22, 2015 7:06 pm

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
Age of Fantasy design leader

Post Reply

Return to “Solved/Answered”