Infinite loop retreating from multiplayer game - IMPLEMENTED

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

Infinite loop retreating from multiplayer game - IMPLEMENTED

Post 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.
Age of Fantasy design leader
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Infinite loop retreating from multiplayer game

Post by Stratego (dev) »

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 »

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: 7969
Joined: Thu Feb 26, 2015 8:18 pm

Re: Infinite loop retreating from multiplayer game

Post 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
Age of Fantasy design leader
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Infinite loop retreating from multiplayer game

Post 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.
User avatar
Alexander82
Posts: 7969
Joined: Thu Feb 26, 2015 8:18 pm

Re: Infinite loop retreating from multiplayer game - IMPLEME

Post by Alexander82 »

ok, i'll make you know asap
Age of Fantasy design leader
User avatar
Alexander82
Posts: 7969
Joined: Thu Feb 26, 2015 8:18 pm

Re: Infinite loop retreating from multiplayer game - IMPLEME

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

Return to “Solved/Answered”