AI in endless loop

Burin

Chieftain
Joined
Jun 26, 2005
Messages
3
Maybe it is already posted, so hard to find in many searches...

bts: in about turn 420-450, happens every fourth or fifth game:

one nice turn AI simply doesn't want to finish his turn... game is very stable, main menu can be opened, map scrolled, but i didn't find the way how to proceed...

"wiating for other civilisations" forever... means 15-20 minutes of waiting (turn normally lasts one minute becouse of lot of RAM available, I beleive)

(shift+enter to force turn finish didn't work, of course)

can debug menu be used to help with this? I am really not familiar with tech issues...
 
Hello,

Thanks for replying.

No, it is not patched game.

I had autosav one turn old, so i repeted all my moves and the sam happened again.

Than I reloaded autosav again, but changed some decisions, military actions, purchasing. And it didn't happen.

But it happened couple of turns later... It looks like some multitude of events forces AI to go in that loop.

Very annoying, having that in near-end game.
 
Soory for not emphasizing: It is Beyond the sword unpatched, but I remember the same problem with original civ, which menas it is not corrected in bts.

You gave me push to make some checks: looking at Matrix you sent me I came into some comparisons:

only kmehr leader sury...- looks the most suspisious for me.

I compared your xls table (for bts) with original xml and what i find:

memory decay -voted aganist us is changed from 20 to 10
memory decay - voted for us - the same.

But what is most interesting memory attitude made demand and stop trading are doubled in original file, with different values! (There are two more doubles in memory attitude column, but they have the same valuse, so it shouldn't make too much trouble).

If one fixed value is reffered two times with different values, maybe it can make the loop...
 
those loops are more likely from other AI calculations - the memory stuff is pretty easily implemented really.
Now with all games: patches do solve some problems - and beyond the sword also had its own issues related to new or "improved" features that could cause these loops. So I would recommend patching the game. You can also post a game were this reliably happens and I'll check if I can find something...
 
Back
Top Bottom