MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003085VCMIAI - Adventure Mappublic2019-09-12 00:232020-12-20 10:35
ReporterMacron1 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003085: Adding new types of two way monoliths crashes game on ai turn
DescriptionLooks like ai incorrectly circles through two way monoliths objects.
Steps To ReproducePlace attached mod to mods folder
Start a map with ai
End turn to let ai move
TagsNo tags attached.
Attached Fileszip file icon monolith2way_test-mod.zip [^] (4,570 bytes) 2019-09-12 00:23

- Relationships

-  Notes
(0007843)
Nullkiller (developer)
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.
(0007844)
misiokles (reporter)
2019-09-12 06:41

Random map will be enough.
(0007845)
Nullkiller (developer)
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.
(0007846)
misiokles (reporter)
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.
(0007847)
Nullkiller (developer)
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.
(0007848)
Macron1 (developer)
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.
(0007849)
Nullkiller (developer)
2019-09-13 06:49
edited on: 2019-09-13 06:58

Was able to reproduce it.

(0007850)
Macron1 (developer)
2019-09-13 06:55

Yes, i works on last daily build
(0007851)
Nullkiller (developer)
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
(0007966)
kdmcser (reporter)
2020-12-19 13:14

Two way monoliths is not enough for some XL random template. Now the map generator behavior lead to a confusion: 4 or more zones were connected in one monolith. I really need a mod which extends the two way monolith. Hope the bug can be solved soon.
(0007967)
misiokles (reporter)
2020-12-19 13:17

More two-way monoliths were added in vcmi HotA port but vcmi RMG system doesn't handle additional, custom monoliths. Every attemp to add new monoliths causes crashes.
(0007968)
Nullkiller (developer)
2020-12-20 10:35

I hardly know anything about modding and do not know why getHandlerFor returns nullptr for your mod. Does the mod work for humans?

- Issue History
Date Modified Username Field Change
2019-09-12 00:23 Macron1 New Issue
2019-09-12 00:23 Macron1 File Added: monolith2way_test-mod.zip
2019-09-12 06:38 Nullkiller Note Added: 0007843
2019-09-12 06:41 misiokles Note Added: 0007844
2019-09-12 07:01 Nullkiller Note Added: 0007845
2019-09-12 07:04 misiokles Note Added: 0007846
2019-09-12 07:26 Nullkiller Note Added: 0007847
2019-09-12 10:17 Macron1 Note Added: 0007848
2019-09-13 06:49 Nullkiller Note Added: 0007849
2019-09-13 06:55 Macron1 Note Added: 0007850
2019-09-13 06:58 Nullkiller Note Edited: 0007849 View Revisions
2019-09-13 07:26 Nullkiller Note Added: 0007851
2020-12-19 13:14 kdmcser Note Added: 0007966
2020-12-19 13:17 misiokles Note Added: 0007967
2020-12-20 10:35 Nullkiller Note Added: 0007968

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2021 MantisBT Team
Hosting provided by DigitalOcean