MantisBT - VCMI
View Issue Details
0003085VCMIAI - Adventure Mappublic2019-09-12 00:232019-09-13 07:26
0003085: Adding new types of two way monoliths crashes game on ai turn
Looks like ai incorrectly circles through two way monoliths objects.
Place attached mod to mods folder
Start a map with ai
End turn to let ai move
No tags attached.
zip (4,570) 2019-09-12 00:23
Issue History
2019-09-12 00:23Macron1New Issue
2019-09-12 00:23Macron1File Added:
2019-09-12 06:38NullkillerNote Added: 0007843
2019-09-12 06:41misioklesNote Added: 0007844
2019-09-12 07:01NullkillerNote Added: 0007845
2019-09-12 07:04misioklesNote Added: 0007846
2019-09-12 07:26NullkillerNote Added: 0007847
2019-09-12 10:17Macron1Note Added: 0007848
2019-09-13 06:49NullkillerNote Added: 0007849
2019-09-13 06:55Macron1Note Added: 0007850
2019-09-13 06:58NullkillerNote Edited: 0007849bug_revision_view_page.php?bugnote_id=7849#r3591
2019-09-13 07:26NullkillerNote Added: 0007851

2019-09-12 06:38   
Any chance to have a test map or a save file? I have never used our own map editor but only the standard one.
2019-09-12 06:41   
Random map will be enough.
2019-09-12 07:01   
I am not able to generate it either. It says it can not generate a map which feets requested parameters.
2019-09-12 07:04   
Welcome to the vcmi players' world :p In builded vcmi package only few templates are attached with limited parameters for rmg. You must instal vcmi essential files for mod wiki list - there are dozens rmg templates.
2019-09-12 07:26   
It crashed. So I suggest to attach a map. It will ease things and reduce time needed to fix the bug.
2019-09-12 10:17   
Use any map that comes with hmm3. There is no need to have a map with new monolith at all.
2019-09-13 06:49   
(edited on: 2019-09-13 06:58)
Was able to reproduce it.

2019-09-13 06:55   
Yes, i works on last daily build
2019-09-13 07:26   
MapObjectsEvaluator::MapObjectsEvaluator() from VCAI uses
VLC->objtypeh->getHandlerFor(primaryID, secondaryID)
which returns null for a custom monolith and this causes a failure in VCAI code