Locking up during AI Land phase
Moderator: MOD_EIA
Locking up during AI Land phase
Are there settings I should adjust? The game has played well enough for a year, but now locks. I have a win11 system and have had no issues with the first year of play
- Attachments
-
- EIA_Lock.png (346.02 KiB) Viewed 470 times
Re: Locking up during AI Land phase
Sorry. The soon-to-be-released Hotfix #2 for v1.26.03 should resolve the lockup problems. At least for the couple reported so far. I should have Hotfix #2 out on Tuesday. After that, if you see this again then please post a game save and I'll take a look.
Bill Macon
Empires in Arms Developer
Strategic Command Developer
Empires in Arms Developer
Strategic Command Developer
Re: Locking up during AI Land phase
Looks like the Hotfix has helped! Thank you! Now if I could only do something about that infestation of Romanovs I've contracted...
Thanks so much for your continued dedication to this game!
Thanks so much for your continued dedication to this game!
Re: Locking up during AI Land phase- Bigger Bug
Somehow, Spain's entire OOB gets plopped from everywhere onto the board into Amsterdam. I renamed the save file as .txt and uploaded it so you can see
Re: Locking up during AI Land phase- Bigger Bug
Hey, sorry, not sure what this bug is about, but I could use a good game save (.sav and .dat files) of the game turn prior to this glitch. I need to be able to recreate the problem to find it and fix it. The text file you provided has no information I can work with. If you don't have that turn anymore, a copy of the game log might be helpful. I assume you had a good installation and compatibility setting is WinXP SP2. I note you are using alternate map and alternate counters; this shouldn't affect anything but maybe. I don't know. But a game save is critical for being able to troubleshoot on my end. Thanks.
Bill Macon
Empires in Arms Developer
Strategic Command Developer
Empires in Arms Developer
Strategic Command Developer
Re: Locking up during AI Land phase
I think this should do it. I went back to a prior month and was able to proceed. The same issue crops from time to time and I repeat the process and usually can get by. It seems to be an intermittent issue, if that helps?
Re: Locking up during AI Land phase
Yes, thanks for a good save. I was able to run this save a few times but without getting the issue. If I had a nickle for every "intermittent issue" I've tried to track down, I'd be wealthy. LOL. Seriously, this is almost impossible for me to figure out without recreating the issue and at least being able to review game logs and AI logs. I have no idea how or why Spain's units would have been teleported to Amsterdam. I'll chalk it up to being another intermittent issue, and as long as players can rerun their turn and continue the game then that will have to do.
I note in your game that AI Turkey never DOWd Egypt and that's odd. And France DOWd Prussia and forced a surrender but appears hung up in Hanover and never DOWd Austria. And Austria seems to be committing too much against Turkey and not leaving enough of a reserve back home. Those last two items are something I will look at.
Bill Macon
Empires in Arms Developer
Strategic Command Developer
Empires in Arms Developer
Strategic Command Developer
Re: Locking up during AI Land phase
I spoke too soon. I ran your save again with the intention of advancing to the French diplomacy phase to figure out the DOW issue versus Austria. But then everything went weird, with Great Britain fighting a naval battle against Turkey in December 1806 and human Spain getting to select AI Turkey battle casualties. Something got corrupted in there.
Looking back in the game log, it looks like Great Britain and Turkey fought a previous naval battle (70:12) in Area 733 and Turkey lost its I Hvy Flt. What's not clear is how and why Turkey's II Hvy Flt got to Area 733 without a combat, and then Russia's III Hvy Flt got to Area 733 without being intercepted in Area 737 or 733 and ended in Area 733 without a combat. I'm thinking a root cause to all of this is how enemy fleets can be in the same sea area without a naval combat and no loser being forced to retreat. That's not right and it's something I can investigate.
I also noted AI Great Britain fighting and losing a couple of outnumbered naval battles in the English Channel in October and November. That concerns me.
Looking back in the game log, it looks like Great Britain and Turkey fought a previous naval battle (70:12) in Area 733 and Turkey lost its I Hvy Flt. What's not clear is how and why Turkey's II Hvy Flt got to Area 733 without a combat, and then Russia's III Hvy Flt got to Area 733 without being intercepted in Area 737 or 733 and ended in Area 733 without a combat. I'm thinking a root cause to all of this is how enemy fleets can be in the same sea area without a naval combat and no loser being forced to retreat. That's not right and it's something I can investigate.
I also noted AI Great Britain fighting and losing a couple of outnumbered naval battles in the English Channel in October and November. That concerns me.
Bill Macon
Empires in Arms Developer
Strategic Command Developer
Empires in Arms Developer
Strategic Command Developer
Re: Locking up during AI Land phase
Latest issue. Turkey should be in civil disorder but won't surrender..
- Attachments
-
- 1810.zip
- (288.52 KiB) Downloaded 9 times
Re: Locking up during AI Land phase
Good catch. I think I have resolved this issue. One problem was that the nation status was checked for civil disorder but not set to civil disorder for the surrender checks. I got that working and then noticed the surrender conditions went to Great Britain, then Spain, then Russia, and then Austria. Per the rules, the order should be based on political standings: Spain (28), Great Britain (25), Russia (23), and Austria (20). So I had to change how the winner array was being sorted. Lots of trial and error iterations to get it all right. Here's an excerpt of the post-fix game log:
This made two game bugs I worked on today, this one and the siege combat. I want to playtest some tomorrow and probably get another hotfix out on Wednesday. We'll see. Thanks for this feedback and another good game save.1811, Jan Turkey Is In Fiasco Zone!
1811, Jan Turkey Loses -8 PP
1811, Jan Austria Gains +3 PP
1811, Jan Kushanz Ali Released Back To Turkey
1811, Jan Grand Vizier Released Back To Turkey
1811, Jan Russia Gains +5 PP
1811, Jan Bagration Released Back To Russia
1811, Jan Pechlivan Khan Released Back To Turkey
1811, Jan Great Britain Gains +5 PP
1811, Jan Spain Gains +5 PP
1811, Jan Russia Did Not Choose Any Leaders To Remove!
1811, Jan Russia Forcing Turkey To Remove 1 Leader
1811, Jan Turkey Not Allowed To Trade!
1811, Jan Royal Marriage Great Britain +2 PP
1811, Jan Royal Marriage Between Turkey And Great Britain
1811, Jan Great Britain Has Enforced Access To Turkey
1811, Jan Great Britain Forcing Turkey To Remove Home Garrison Factors
1811, Jan Spain Selected Macedonia To Be Ceded!
1811, Jan Spain Selected Greece To Be Ceded!
1811, Jan Spain Selected Crete To Be Ceded!
1811, Jan Spain Forcing Turkey To Cede 3 Provinces
1811, Jan Turkey Pays 2/3 Of Next Two Quarter's Income To Spain
1811, Jan Turkey Enforced Peace With Spain For 36 Months
1811, Jan Turkey SURRENDERS CONDITIONALLY To Austria
1811, Jan Turkey SURRENDERS UNCONDITIONALLY To Russia
1811, Jan Turkey SURRENDERS UNCONDITIONALLY To Great Britain
1811, Jan Turkey SURRENDERS UNCONDITIONALLY To Spain
1811, Jan Ru, Fr, Au, Sp, Tu, Gr, Pr
1811, Jan Minor Diplomacy Random Order
1811, Jan Great Britain Finished Diplomacy!
1811, Jan All Playing Diplomacy ...
1811, Jan Prussia Finished Diplomacy!
1811, Jan Prussia Will Cede Poland To Austria At Next Economic Phase
1811, Jan All Playing Diplomacy ...
1811, Jan Austria Finished Diplomacy!
1811, Jan Austria Receives Access Granted By Russia
1811, Jan All Playing Diplomacy ...
1811, Jan Turkey Finished Diplomacy!
1811, Jan Turkey Receives Access Granted By France
1811, Jan Turkey Must Sue All Nations That It Is At War With!
1811, Jan Turkey Is In Civil Disorder!
1811, Jan All Playing Diplomacy ...
1811, Jan Russia Finished Diplomacy!
1811, Jan Russia Receives Access Granted By Austria
1811, Jan Russia Receives Access Granted By Prussia
1811, Jan Russia Receives Access Granted By Great Britain
1811, Jan All Playing Diplomacy ...
1811, Jan France Finished Diplomacy!
1811, Jan All Playing Diplomacy ...
Bill Macon
Empires in Arms Developer
Strategic Command Developer
Empires in Arms Developer
Strategic Command Developer
Re: Locking up during AI Land phase
I think I found the source of the naval combat problem. In my playtest as Spain, AI Russia at war with AI Turkey moved a fleet to interfere with Turkey's invasion of Cyrenaica. In the next turn, Russia moved the fleet out and got intercepted by Turkey, but I (Spain) ended up playing the Turkey defender in naval combat. First, I made a change to set the interceptor nation as the attacker, and the moving nation as the defender. That's if interception is successful. The other problem I found was if the interception was not successful then the code would check for running a blockade; if there were enemy ships in the area then it would set up a battle. That's not correct so I added a check to verify the area has a port blockade. So now it appears that the interceptions are working as intended.
There is another issue for why AI Russia sent a light fleet to interfere with Turkish transports escorted by a heavy fleet; that should not happen. I'll get to it for the next hotfix.
.
There is another issue for why AI Russia sent a light fleet to interfere with Turkish transports escorted by a heavy fleet; that should not happen. I'll get to it for the next hotfix.
.
Bill Macon
Empires in Arms Developer
Strategic Command Developer
Empires in Arms Developer
Strategic Command Developer
Re: Locking up during AI Land phase
Part II of this whole naval inteception saga. I was troubled by the lack of naval combat information in the interception case above. Long story short, the code was only checking for naval forces in the battle area. So, intercepting fleets from an adjacent area were not getting checked. Also, who was attacking and who was defending in an interception battle was muddled. The moving player is the one being intercepted and should be the defender. The interceptor force should be the attacker. Then checks can be made for a side having only light ships versus a side with heavy ships and being forced to retreat.
So, in the attached screenshot, the Russian II Lt Flt with 2 light ships has moved from Area738 to Area740 and has been intercepted by the Turkish IHvy Flt with 12 heavy and 6 light ships. Russia is forced to retreat and successfully withdraws, and then continues on its way. As it should be.
Bottom line. This was a good case for evaluating interceptions, and the changes I've made will benefit both human and AI naval actions. I don't think I've ever seen a successful interception into an adjacent area. Naval activity should be much more interesting now.
.
So, in the attached screenshot, the Russian II Lt Flt with 2 light ships has moved from Area738 to Area740 and has been intercepted by the Turkish IHvy Flt with 12 heavy and 6 light ships. Russia is forced to retreat and successfully withdraws, and then continues on its way. As it should be.
Bottom line. This was a good case for evaluating interceptions, and the changes I've made will benefit both human and AI naval actions. I don't think I've ever seen a successful interception into an adjacent area. Naval activity should be much more interesting now.
.
Bill Macon
Empires in Arms Developer
Strategic Command Developer
Empires in Arms Developer
Strategic Command Developer