MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002059VCMIAI - Adventure Mappublic2015-02-09 17:232024-05-11 11:33
ReporterSXX 
Assigned ToWarmonger 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version0.97b 
Target VersionFixed in Version 
Summary0002059: AI scouts heroes may block path for others when path is blocked by armed instance
DescriptionSo here is problem that can be easily reproduced on attached map or on any map where only one tile way available. Initially AI start to explore on map with not too powerful heroes that usually unable to win any battle so they're not going to try.

When this happen on small map it's possible that there is already 1-2 more other heroes that already blocked way back to this scout. As result hero that have army and assigned to attack this armed instance unable to go here because of scout, but scout can't go back because other heroes block his way.

So there need to be smart way to solve such situations. Though I'm currently made some dirty hack for myself that just make AI delete heroes that block way for others more than few times, but this not solution.
Steps To Reproduce  - Run game on attached map or load save (if it's compatible).
  - Use "vcmieagles" cheat to see map.
  - Now watch what AI's doing and both blue and orange will likely stuck in their zones because one of heroes going to block way for others.
Additional InformationSave is for 1396476869aa52ac21fe92f1ac4ae000dd668b9d.
TagsNo tags attached.
Attached Files? file icon Wasteland.h3m [^] (9,948 bytes) 2015-02-09 17:23
zip file icon bug_al_stuck_heroes.zip [^] (648,952 bytes) 2015-02-09 17:31
jpg file icon 001.jpg [^] (159,340 bytes) 2024-05-11 11:32


png file icon 002.png [^] (324,386 bytes) 2024-05-11 11:32


png file icon 003.png [^] (573,492 bytes) 2024-05-11 11:33

- Relationships

-  Notes
(0005436)
SXX (administrator)
2015-02-09 18:47

Anyone interested may follow this branch:
https://github.com/ArseniyShestakov/vcmi/commits/internalOnlyExperimentAI [^]
Though as should be obvious from it's name this will be never pulled in upstream until I find right solution for AI problems I found. Then I'll create new branch with properly coded solution and will sent pull request.
(0008978)
Povelitel (updater)
2024-05-11 11:33

NKAI has a same problem

- Issue History
Date Modified Username Field Change
2015-02-09 17:23 SXX New Issue
2015-02-09 17:23 SXX Status new => assigned
2015-02-09 17:23 SXX Assigned To => Warmonger
2015-02-09 17:23 SXX File Added: Wasteland.h3m
2015-02-09 17:31 SXX File Added: bug_al_stuck_heroes.zip
2015-02-09 18:47 SXX Note Added: 0005436
2024-05-11 11:32 Povelitel File Added: 001.jpg
2024-05-11 11:32 Povelitel File Added: 002.png
2024-05-11 11:33 Povelitel Note Added: 0008978
2024-05-11 11:33 Povelitel File Added: 003.png

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean