Page 1 of 1
Possible bugfix to AI game hanging on convoy movement
Posted: Tue Oct 15, 2013 8:03 pm
by Peter Stauffenberg
I Just added some code in game.class that will hopefully fix the issue where the AI convoys hang if they are located in the same hex as Axis subs when starting to move a turn. Unfortunately I'm not allowed to upload the file here since I get the message that the attachment quota has been used up on this site.
So please send me a PM with your email address if you want this file sent to you. I will send it as a zip'ed file.
The update will NOT affect save games so you can add it without disruping any ongoing games.
It would be nice if you report your findings with the updated file here.
Re: Possible bugfix to AI game hanging on convoy movement
Posted: Wed Oct 16, 2013 2:02 pm
by Falcon1
Will this address the issue of the game hanging up during the German AI turn (but not the allied AI turn)? My personal experience is that those hangs do not occur during convoy movement, and if it was convoy related then it would also happen in games against an allied AI.
Sorry if this is referring to some different fix than what you mentioned in the tech support forum.
Re: Possible bugfix to AI game hanging on convoy movement
Posted: Wed Oct 16, 2013 10:37 pm
by Peter Stauffenberg
I fixed the one where an autosave was attached. I checked the code line where it hung and fixed that. Then I tried the same autosave and it didn't hang. Without an autosave I can't find the bug that is being referred to.
The bug I fixed was related to movement of convoys. That happens at the end of the Axis turn. Convoys are NOT moving during the Allied turn. So you will see this bug during the Axis turn.
For some reason this doesn't seem to happen in PBEM games. The source of the problem is that a sub has ended up in the same hex as the convoy and that violates the one unit per hex rule. There is no logic to why that is happening because in PBEM games that doesn't happen even if you try to move a sub to the location of a convoy.
Re: Possible bugfix to AI game hanging on convoy movement
Posted: Thu Oct 17, 2013 2:45 am
by Falcon1
OK thanks, I'll try another game soon with the fix installed. If I get hung up again then I'll send another save file.
Re: Possible bugfix to AI game hanging on convoy movement
Posted: Fri Oct 18, 2013 5:10 pm
by Numdydar
Thanks so much for this. The fix worked great and I could continue my game without restarting

Re: Possible bugfix to AI game hanging on convoy movement
Posted: Sun Oct 20, 2013 12:38 am
by Cataphract88
Thank you very much for sending me the bugfix file; everything seems to be working okay so far.

Re: Possible bugfix to AI game hanging on convoy movement
Posted: Mon Jul 27, 2015 8:15 pm
by ArnhemKnight
Could you send me the file please stauffenberg? This must be what im experiencing right now
Re: Possible bugfix to AI game hanging on convoy movement
Posted: Wed Aug 05, 2015 6:06 pm
by Metalogic
ArnhemKnight wrote:Could you send me the file please stauffenberg? This must be what im experiencing right now
I think it's already in the GS 3.1 release:
"* Bug fix for the game hanging during convoy movement phase for allied player against an AI."
viewtopic.php?f=18&t=52328#p489695