MantisBT - VCMI
View Issue Details
0000937VCMIAI - Adventure Mappublic2012-04-19 08:022014-05-17 12:19
q4a 
Warmonger 
normalmajoralways
closedfixed 
x86WindowsXP SP3
 
0.95b 
0000937: Blue AI don't finish turn on "Titan's Winter" map.
Tested on r2634. Console output:
Looking for an another place for exploration...
                Time of looking for new exploration point was 3015 ms.
                Time of Evaluating exploration possibilities was 2938 ms.
                Considering goal VISIT TILE
                Considering goal CLEAR WAY TO
                Considering goal VISIT TILE
                Considering goal GATHER ARMY
                Considering goal EXPLORE
                Time of looking for best exploration neighbour was 15 ms.
Looking for an another place for exploration...
                Time of looking for new exploration point was 3032 ms.
                Time of Evaluating exploration possibilities was 3078 ms.
                Considering goal VISIT TILE
                Considering goal CLEAR WAY TO
                Considering goal VISIT TILE
                Considering goal GATHER ARMY
                Considering goal EXPLORE
                Time of looking for best exploration neighbour was 16 ms.
Looking for an another place for exploration...
                Time of looking for new exploration point was 3406 ms.
...and so on...
Load attached save game.
Finish your turn.
Another bug "AI don't finish turn" is http://bugs.vcmi.eu/view.php?id=894 [^]
No tags attached.
related to 0000985closed Tow AI got case EXPLORE -- assert(0); //this goal is not elementar! 
7z save.7z (213,205) 2012-04-19 08:02
https://bugs.vcmi.eu/file_download.php?file_id=911&type=bug
Issue History
2012-04-19 08:02q4aNew Issue
2012-04-19 08:02q4aStatusnew => assigned
2012-04-19 08:02q4aAssigned To => Tow
2012-04-19 08:02q4aFile Added: save.7z
2012-04-28 14:13WarmongerNote Added: 0002388
2012-06-01 16:17TowRelationship addedrelated to 0000985
2012-06-01 16:19TowNote Added: 0002596
2013-12-21 19:14WarmongerAssigned ToTow => Warmonger
2014-05-17 12:18WarmongerSeverityminor => major
2014-05-17 12:19WarmongerNote Added: 0004664
2014-05-17 12:19WarmongerStatusassigned => closed
2014-05-17 12:19WarmongerResolutionopen => fixed
2014-05-17 12:19WarmongerFixed in Version => 0.95b

Notes
(0002388)
Warmonger   
2012-04-28 14:13   
AI should break the loop after analyzing 100 sub-goals, which is just over 2 minutes in your case ;)

But yes, I've never seen such long processing times even on 252 maps.
(0002596)
Tow   
2012-06-01 16:19   
I'm afraid that it'd crash after breaking the loop, as it happened in 0000985.

We need detection of loops in goal reasoning.
(0004664)
Warmonger   
2014-05-17 12:19   
We have some loop detection algorithm since 0.95 and current AI worked normally for few months. Closing.