|Anonymous | Login | Signup for a new account||2013-05-21 22:31 CEST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000225||VCMI||AI - Battles||public||2009-11-21 19:14||2012-02-16 22:26|
|Target Version||Fixed in Version||0.88|
|Summary||0000225: AI does not re-assess its attack each round, staying locked on the initial target, so if we block the access AI stops advancing|
|Description||ORIGINAL REPORT: Enemy stops advancing towards my troops, after I place my melee units as such that shooters & machines become "inaccessible". From that position, I can just use Defend on my melee troops and keep shooting and casting spells until the enemy is finished.|
UPDATE: It seems the cause is not related to shooters or machines (as in my original report), but simply to which targets the enemy chooses. Especially if all enemy creatures choose the same target I think (and/or it may also be related to which hex the target creature is and battle obstacles, but that may also be combination with other bugs). This can always be reproduced (in 0.86, 0.84, 0.75...) if you do the following:
- Load the map from 0000707, open Neela's hero screen and split some of her stacks so that she has at least 5 in total
- Attack the blue player in front of her castle
- Use Wait in the first part of the first round; you'll notice enemies start advancing to the top-left hex where the Gremlin is (I didn't yet try with other creatures)
- Then finish first round (and continue in the second) by moving the creatures as such that they occupy all hexes around the top-left Gremlin
- Once all hexes around the "target" are occupied, the enemy will stop moving; I used defend on my creatures for 5-6 rounds in a row and the enemy did not make a move
(see the new screenshot - it's from an edited version of the 0000707 map, where blue player had lots of Hydras yet remained stuck since I blocked the Gremlin, and didn't move even if I was moving around some of the other creatures, but without creating a passage to the target - but you don't need the Hydras, it can be reproduced with any creatures in the enemy army)
I know this was marked as fixed in 0.84, because the release brought major Battle AI changes, but this flaw remains exactly the same, hence the re-opening of the ticket.
|Tags||No tags attached.|
|Attached Files|| 2009-11-21_EnemyConfusedIfShootersCovered.jpg [^] (79,502 bytes) 2009-11-21 19:14
2011-10-28_HydraLockedOnTarget.jpg [^] (64,864 bytes) 2011-10-28 20:38
|Probably related to 0000061, 0000130, maybe even 0000021. But I guess all these will be moved to Fixed/Resolved as soon as the new battle AI will be put in place.|
|r1910 brought a new battle AI, still very, very basic but the issue described here should be gone.|
I'm not sure what I tested back in 0.84, but the bug is still there. Perhaps I missed it because I didn't know what was the cause. But I believe I identified it now.
And it's not something which was fixed and came back. Now that I identified the pattern (while testing something else in 0.86), I went back with it in 0.84 and even 0.75, and the behavior was identical. The AI simply locks their target on a certain creature and gets stuck if we block the path to that creature. I'll update the summary and description with the necessary details.
|That "new battle AI" mentioned by Tow currently used only for neutral player. If you'll place this Hydra in town without fort or in garrison, battle will be controlled by new AI and this bug should no longer be present.|
edited on: 2011-11-01 12:51
N00b question maybe, but would it be difficult (or creating bug risks) to expand the new battle AI to all computer players? The way I see it, as long as I can still reproduce the problem, we cannot mark this as Resolved yet.
Anyway, I guess that explains why I couldn't reproduce it in 0.84. Probably I was just fighting a monster on the map.
well it's not catastrophic that VCMI team has this type of bug.
Very similair bug once existed in oryginal HoMM 2.
but well it certainly need be fixed.
greetings to all devs and testers for their great and valuable work
VCAI is adventure-only AI able to cede battle tasks onto another AI. At the moment StupidAI is used.
With an introduction of VCAI the GeniusAI (that caused the problem) is not used anymore at all and the issue is totally gone.
|2009-11-21 19:14||Zamolxis||New Issue|
|2009-11-21 19:14||Zamolxis||File Added: 2009-11-21_EnemyConfusedIfShootersCovered.jpg|
|2009-11-21 19:16||Zamolxis||Summary||Enemy stops advancing towards my troops, after I place my melee troops as such to make shooters & machines inaccessible => Enemy stops advancing towards my troops, after I place my melee units as such to make shooters & machines "inaccessible"|
|2009-11-21 19:16||Zamolxis||Description Updated||View Revisions|
|2009-11-21 19:19||Zamolxis||Description Updated||View Revisions|
|2010-12-17 01:57||Zamolxis||Relationship added||related to 0000067|
|2010-12-17 01:58||Zamolxis||Relationship added||related to 0000130|
|2010-12-17 02:01||Zamolxis||Note Added: 0001466|
|2011-01-15 03:55||Tow||Note Added: 0001479|
|2011-01-15 03:55||Tow||Status||new => resolved|
|2011-01-15 03:55||Tow||Fixed in Version||=> 0.89|
|2011-01-15 03:55||Tow||Resolution||open => fixed|
|2011-01-15 03:55||Tow||Assigned To||=> Tow|
|2011-03-03 00:28||Zamolxis||Note Added: 0001591|
|2011-03-03 00:28||Zamolxis||Status||resolved => closed|
|2011-10-28 20:09||Zamolxis||Note Added: 0002095|
|2011-10-28 20:09||Zamolxis||Status||closed => feedback|
|2011-10-28 20:09||Zamolxis||Resolution||fixed => reopened|
|2011-10-28 20:38||Zamolxis||Reproducibility||have not tried => always|
|2011-10-28 20:38||Zamolxis||Summary||Enemy stops advancing towards my troops, after I place my melee units as such to make shooters & machines "inaccessible" => AI does not re-assess its attack each round, staying locked on the initial target, so if we block the access AI stops advancing|
|2011-10-28 20:38||Zamolxis||Description Updated||View Revisions|
|2011-10-28 20:38||Zamolxis||File Added: 2011-10-28_HydraLockedOnTarget.jpg|
|2011-10-28 20:41||Zamolxis||Note Deleted: 0001591|
|2011-10-28 20:44||Zamolxis||Fixed in Version||0.84 =>|
|2011-10-31 22:09||Ivan||Note Added: 0002112|
|2011-11-01 12:50||Zamolxis||Note Added: 0002115|
|2011-11-01 12:50||Zamolxis||Status||feedback => assigned|
|2011-11-01 12:51||Zamolxis||Note Edited: 0002115||View Revisions|
|2011-11-21 11:18||majaczek||Note Added: 0002134|
|2012-02-16 22:26||Tow||Note Added: 0002175|
|2012-02-16 22:26||Tow||Status||assigned => resolved|
|2012-02-16 22:26||Tow||Fixed in Version||=> 0.89|
|2012-02-16 22:26||Tow||Resolution||reopened => fixed|
|Copyright © 2000 - 2012 MantisBT Group|