Turn Auto-Ended in AI game

If you find a bug please report it here

Turn Auto-Ended in AI game

Postby KGB » Fri Apr 05, 2013 11:43 pm

I've had this happen more than once so I reporting it. I'm finishing up a human game with AI players. At this point there are no humans left but me. Not sure if the other human players being eliminated matters, just reporting it in case it does.

The game is taking longer to finish than I can do in 1 sitting. So in the middle of a turn, I go to the top menu and select Main->Account. The game then pops up a message saying here are unsaved actions and press OK to save them. When I do, instead of saving and exiting back to my main account, the game ends my turn!!!

Now, 98% of the time when I select Main->Account there are no unsaved actions so I don't get the accidental end turn. In fact I can't figure out how to force unsaved actions so you can test. It seems to happen at random because even if I set a bunch of paths and then try Main->Account I don't get unsaved action issues.

I'm mostly worried now in all human games if I have unsaved actions and do a Main->Account that my turn will get ended by accident.

KGB
KGB
 
Posts: 3030
Joined: Tue Feb 16, 2010 12:06 am

Re: Turn Auto-Ended in AI game

Postby SnotlinG » Sat Apr 06, 2013 8:11 am

Hmm, could this be in games where it has only been you (only human player) playing for a few turns, so the turn has auto-reloaded rather than having you reload the webbrowser "manually"?
SnotlinG
 
Posts: 2148
Joined: Sat Feb 13, 2010 12:42 am

Re: Turn Auto-Ended in AI game

Postby KGB » Sat Apr 06, 2013 3:07 pm

SnotlinG,

Yes, definitely I had been playing for a few turns. Maybe that's why I can't make it happen when I just hop into a turn and try to recreate it.

KGB
KGB
 
Posts: 3030
Joined: Tue Feb 16, 2010 12:06 am

Re: Turn Auto-Ended in AI game

Postby SnotlinG » Sat Apr 06, 2013 8:26 pm

Yes I suspect it has with that new feature I created to let you skip reload the client.
Probably the OK button "remembers" it should make endturn, even though it is not part of the endturn popup anymore. Ill investigate my code a bit more...
SnotlinG
 
Posts: 2148
Joined: Sat Feb 13, 2010 12:42 am

Re: Turn Auto-Ended in AI game

Postby SnotlinG » Mon Apr 08, 2013 9:14 am

Think I found the problem. Was a combination of making endturn vs only AI opponents left, where you had some changes to save before your endturn command took effect, and then next time you hit savegame it would then trigger an endturn. I have updated the code now, so please let me know if you still see this issue.

Thanks for reporting!
SnotlinG
 
Posts: 2148
Joined: Sat Feb 13, 2010 12:42 am


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 22 guests

cron
Not able to open ./cache/data_global.php