MantisBT - VCMI |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0001590 | VCMI | AI - Adventure Map | public | 2013-11-17 13:50 | 2016-04-07 13:37 |
|
Reporter | Povelitel | |
Assigned To | SXX | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | PC | OS | Windows | OS Version | Windows7 sp1 |
Product Version | 0.94 | |
Target Version | | Fixed in Version | 0.98g | |
|
Summary | 0001590: border guard - useless expenditure of a turn. |
Description | The blue and green heroes tries to open infinitely border guard, can't remember
that he didn't visit tent! Also spends completely the turn, and several heroes.
http://youtu.be/BL-Bf-CvWNU [^]
Probably an example not so successful (because he has no place to go). But it spends real time of the player. Absolutely useless actions.
Tuning is necessary :)
|
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | 0002374 | closed | SXX | VisitHero::fulfillsMe goal check used after battle with killed hero | has duplicate | 0002096 | closed | SXX | Freeze. AI infinitely try open Border Quard | related to | 0002383 | closed | SXX | AI infinitely loops with this save - secSkill desync | related to | 0002326 | closed | SXX | AI turn takes really long when there is many completely blocked heroes |
|
Attached Files | border guard.rar (833,136) 2013-11-17 13:50 https://bugs.vcmi.eu/file_download.php?file_id=1621&type=bug testowanie mantisa.h3m (5,926) 2014-06-01 20:10 https://bugs.vcmi.eu/file_download.php?file_id=1821&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2013-11-17 13:50 | Povelitel | New Issue | |
2013-11-17 13:50 | Povelitel | Status | new => assigned |
2013-11-17 13:50 | Povelitel | Assigned To | => Tow |
2013-11-17 13:50 | Povelitel | File Added: border guard.rar | |
2013-12-21 20:48 | Warmonger | Assigned To | Tow => Warmonger |
2013-12-21 20:50 | Warmonger | Note Added: 0004196 | |
2013-12-21 21:33 | Warmonger | Note Added: 0004197 | |
2013-12-21 21:33 | Warmonger | Status | assigned => resolved |
2013-12-21 21:33 | Warmonger | Fixed in Version | => 0.94b |
2013-12-21 21:33 | Warmonger | Resolution | open => fixed |
2014-06-01 20:09 | Kantor | Note Added: 0004696 | |
2014-06-01 20:10 | Kantor | File Added: testowanie mantisa.h3m | |
2014-06-01 20:12 | Kantor | Note Added: 0004697 | |
2014-06-01 20:12 | Kantor | Status | resolved => feedback |
2014-06-01 20:12 | Kantor | Resolution | fixed => reopened |
2016-01-31 19:25 | SXX | Assigned To | Warmonger => SXX |
2016-01-31 19:25 | SXX | Status | feedback => assigned |
2016-01-31 19:26 | SXX | Relationship added | related to 0002374 |
2016-02-04 13:50 | Povelitel | Note Added: 0006404 | |
2016-02-04 15:53 | SXX | Note Added: 0006406 | |
2016-02-04 15:53 | SXX | Relationship added | related to 0002096 |
2016-02-25 03:17 | SXX | Relationship added | related to 0002383 |
2016-02-25 03:21 | SXX | Relationship added | has duplicate 0002326 |
2016-02-25 03:23 | SXX | Relationship deleted | related to 0002096 |
2016-02-25 03:23 | SXX | Relationship added | has duplicate 0002096 |
2016-02-25 03:27 | SXX | Note Added: 0006449 | |
2016-02-25 05:55 | SXX | Note Added: 0006450 | |
2016-02-25 05:55 | SXX | Status | assigned => resolved |
2016-02-25 05:55 | SXX | Fixed in Version | 0.94b => 0.98g |
2016-02-25 05:55 | SXX | Resolution | reopened => fixed |
2016-02-25 05:56 | SXX | Relationship deleted | has duplicate 0002326 |
2016-02-25 05:56 | SXX | Relationship added | related to 0002326 |
2016-02-25 06:30 | Warmonger | Note Added: 0006453 | |
2016-02-25 10:45 | Warmonger | Note Added: 0006456 | |
2016-02-25 12:33 | SXX | Note Added: 0006457 | |
2016-04-07 13:37 | Povelitel | Status | resolved => closed |
Notes |
|
|
|
|
|
|
|
(0004696)
|
Kantor
|
2014-06-01 20:09
|
|
This one is still an issue. I'm including a map. |
|
|
(0004697)
|
Kantor
|
2014-06-01 20:12
|
|
The AI is still wasting it's move on border guard. |
|
|
|
it's may be related? bugs.vcmi.eu/view.php?id=2096 |
|
|
(0006406)
|
SXX
|
2016-02-04 15:53
|
|
|
|
(0006449)
|
SXX
|
2016-02-25 03:27
|
|
So problem occur because VCAI use check CQuest::checkQuest while code for border guard visits can only be found in CGBorderGuard::checkQuest.
Also there is quest type of CQuest::MISSION_KEYMASTER, but it's not really implemented so quest type of border guard is MISSION_NONE. In the end this cause infinite loop since AI thinking it's possible to "open" that tile when it's not. |
|
|
(0006450)
|
SXX
|
2016-02-25 05:55
|
|
|
|
|
That's a good explanation, but I can't see anything in the commit that would fix it? |
|
|
|
|
|
(0006457)
|
SXX
|
2016-02-25 12:33
|
|
|