MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002059VCMIAI - Adventure Mappublic2015-02-09 17:232015-02-09 18:47
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

- 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.

- 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

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2022 MantisBT Team
Hosting provided by DigitalOcean