MantisBT - VCMI | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0003035 | VCMI | AI - Adventure Map | public | 2019-02-12 13:24 | 2019-02-16 07:51 |
Reporter | Dydzio | ||||
Assigned To | Nullkiller | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Microsoft Windows | OS | Windows 7 | OS Version | Home Premium x64 |
Product Version | 1.next | ||||
Target Version | 1.next | Fixed in Version | |||
Summary | 0003035: AI pathfinder generating goal that cannot be realized | ||||
Description | This happens with newest VCMI code (after https://github.com/vcmi/vcmi/pull/548 [^] merge): In attached map AI will not capture town and heroes will stand in one place infinitely, because ai-ah->HowToVisitObj inside GatherArmy::getAllPossibleSubgoals() will generate VisitTile goal that requires beating the army that is supposed to be reason why we gather army in first place. That goal gets picked as best goal while it should not appear at all considering it's impossible to realize. | ||||
Steps To Reproduce | 1.Run attached map 2.Enable vcmieagles cheat for player only 3.See how AI gets stuck after GatherArmy decomposition | ||||
Additional Information | I guess this could be fixed by filtering generated goals inside GatherArmy but proper solution would be fixing pathfinder logic. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | vcmiaistacksplit_v1.h3m (8,615) 2019-02-12 13:24 https://bugs.vcmi.eu/file_download.php?file_id=2983&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-02-12 13:24 | Dydzio | New Issue | |||
2019-02-12 13:24 | Dydzio | Status | new => assigned | ||
2019-02-12 13:24 | Dydzio | Assigned To | => Nullkiller | ||
2019-02-12 13:24 | Dydzio | File Added: vcmiaistacksplit_v1.h3m | |||
2019-02-14 13:48 | Dydzio | Note Added: 0007749 | |||
2019-02-16 07:51 | Nullkiller | Status | assigned => resolved | ||
2019-02-16 07:51 | Nullkiller | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|