MantisBT - VCMI
View Issue Details
0000067VCMIAI - Battlespublic2009-10-03 15:372011-03-02 23:38
Tow dragon 
Tow 
normalmajorsometimes
closedfixed 
0.72d 
0.84 
0000067: Strange AI battle behavior (enemy Pikeman fighting Ammo Cart, while the rest of the enemy stacks remain stuck midfield)
0.72d#09 Strange AI battle behavior: when 1 Pikeman started to 'fight' the Ammo Cart, the other 4 got stuck in the middle of the battlefield for 4-5 rounds:
http://s4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2007/?action=view&current=090728-SamePikementbehaviorlateronw.jpg [^]

To reproduce, load the "Spell Learning" map attached to the post on the forum (above the report) and attack Pink hero (Tyris) with Sir Mullich. What I did was to use Defend for all my creatures continuously and shoot only with Ballista. One Pikeman got to my Phoenix and was killed in retaliation, but after another started 'fighting' the Ammo Cart, the others remained frozen for the next (about) 4 rounds, until my Ballista finally killed the Pikeman in front of Ammo Cart. Then they started advancing again. A couple were killed by Phoenix retaliations, but when after a 3rd Pikeman 'got angry' on my Ammo Cart again, the 4th one remained again stuck for a few rounds (until my Ballista killed the one next to the Cart):
http://s4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2007/?action=view&current=090728-SamePikementbehaviorlateronw.jpg [^]
Originally reported here: http://forum.vcmi.eu/viewtopic.php?p=3077#3077 [^]
No tags attached.
related to 0000130closed Tow Sometimes in battles between player's ranged troops and enemy melee troops, the melee troops stay stuck. 
related to 0000225closed Tow AI does not re-assess its attack each round, staying locked on the initial target, so if we block the access AI stops advancing 
Issue History
2009-10-03 15:37Tow dragonNew Issue
2009-10-10 04:04ZamolxisSeverityminor => major
2009-10-10 04:04ZamolxisReproducibilityhave not tried => sometimes
2009-10-10 04:04ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=174#r174
2009-10-10 14:12majaczekNote Added: 0000086
2009-10-11 10:51ZamolxisNote Added: 0000088
2010-05-29 19:41ZamolxisSummaryStrange AI battle behavior => Strange AI battle behavior (enemy Pikeman fighting Ammo Cart, while the rest of the enemy stacks remain stuck midfield)
2010-05-29 19:41ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=780#r780
2010-05-29 19:43ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=781#r781
2010-05-29 19:45ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=782#r782
2010-05-29 19:45ZamolxisProduct Version => 0.72d
2010-12-17 00:50ZamolxisRelationship addedrelated to 0000130
2010-12-17 00:57ZamolxisRelationship addedrelated to 0000225
2011-03-02 23:38ZamolxisNote Added: 0001592
2011-03-02 23:38ZamolxisStatusnew => resolved
2011-03-02 23:38ZamolxisFixed in Version => 0.84
2011-03-02 23:38ZamolxisResolutionopen => fixed
2011-03-02 23:38ZamolxisAssigned To => Tow
2011-03-02 23:38ZamolxisStatusresolved => closed

Notes
(0000086)
majaczek   
2009-10-10 14:12   
In wog with extended war machines units also attacks war machines frequently regardless of armies (but they not stuck)
(0000088)
Zamolxis   
2009-10-11 10:51   
Well, in WoG it make sense, because there War Machines are actually worth something.

But the main problem is not that a pikeman started to fight with my Ammo Cart, but that all others remained stuck until I killed that pikeman. It was like killing the Ammo Cart was their only objective in battle (but even then they were not very smart, as one or two of them remained stuck in a position that kept the Ammo Cart out of their walking range).
(0001592)
Zamolxis   
2011-03-02 23:38   
Not an issue anymore, following the new battle AI changes implemented in 0.84 (using the same steps to reproduce, the Pikemen didn't even touch my Ammo Cart anymore, but they all went to attack different creatures in my army, albeit with a preference for the Phoenix, which eventually got them all killed in Phoenix's retaliation).