MantisBT - VCMI
View Issue Details
0001826VCMIAI - Adventure Mappublic2014-07-05 08:102022-03-16 09:05
Siegfried 
Tow 
normalmajoralways
resolvedfixed 
LinuxUbuntu 14
0.96 
1.next 
0001826: AI endless loop
This bug is reproducable 100% on the first AI turn in the "good" campaign map 1: The AI hero moves to his home town, interacts with that town, then moves to his home town, then moves to his home town, ... I have let it run for more then 12 hours. It never ends.

I reproduced this loop in the map "titans winter" somewhere mid-game. So this might happen on any map. Although up to that point the AI did quite well and not that extremely slow.
Just start the map, do something or do not anything, and end your turn. To view it use cheat vcmieagles. Enabling AI trace before starting the game may help in finding the reason.
The first scenario in the good campaign is the only one where it happens 100% on the first turn. An excerpt of the logfile is available at http://forum.vcmi.eu/viewtopic.php?t=866&start=45 [^]
Adventure Map, AI
related to 0001727closed  Endless loop 
Issue History
2014-07-05 08:10SiegfriedNew Issue
2014-07-05 08:10SiegfriedStatusnew => assigned
2014-07-05 08:10SiegfriedAssigned To => Tow
2014-07-05 08:18SiegfriedTag Attached: Adventure Map
2014-07-05 08:18SiegfriedTag Attached: AI
2022-03-16 05:34PovelitelNote Added: 0008087
2022-03-16 05:34PovelitelStatusassigned => resolved
2022-03-16 05:34PovelitelFixed in Version => 1.next
2022-03-16 05:34PovelitelResolutionopen => fixed
2022-03-16 09:05PovelitelRelationship addedrelated to 0001727

Notes
(0008087)
Povelitel   
2022-03-16 05:34   
Fixed long time ago