MantisBT - VCMI
View Issue Details
0000733VCMIMechanics - Otherpublic2011-05-29 10:382022-04-12 08:58
Zamolxis 
Ivan 
lowcrashalways
closedfixed 
AMD 5600+WindowsXP SP3
0.84 
0.94e 
0000733: VCMI does not load test map if no enemy player on the map.
I ran into this in 0.84c while trying to load the map attached to report 0000238. I went then back to 0.84 (and previous releases) and found the same.

The console message when map loading gets stuck always mentioned something about the AI, which made me suspect that map had no enemy player. And that was indeed the case - once I added one, the map loaded correctly. I guess VCMI did not check this back when Steven created 0000238 (v0.74c), but now it does.

I'm creating this with low priority, as starting a H3 game with no enemy might only be useful for testers, or (perhaps) very rare game mods later on.
No tags attached.
has duplicate 0001415closed Ivan I can not start the game on this map (sod). Game freeze. 
has duplicate 0000514closed Tow Unable to start map with custom victory condition in no regular victory avaliable 
jpg 2011-05-29_CrashAtStart_SpecificMap.jpg (98,342) 2011-05-29 10:38
https://bugs.vcmi.eu/file_download.php?file_id=717&type=bug
jpg

7z 2011-05-29_CrashAtStart_SpecificMap.7z (102,662) 2011-05-29 10:42
https://bugs.vcmi.eu/file_download.php?file_id=718&type=bug
Issue History
2011-05-29 10:38ZamolxisNew Issue
2011-05-29 10:38ZamolxisFile Added: 2011-05-29_CrashAtStart_SpecificMap.jpg
2011-05-29 10:42ZamolxisFile Added: 2011-05-29_CrashAtStart_SpecificMap.7z
2011-05-29 23:40TowNote Added: 0001760
2011-05-29 23:40TowAssigned To => Tow
2011-05-29 23:40TowStatusnew => acknowledged
2013-08-25 14:12TowRelationship addedhas duplicate 0001415
2013-08-25 14:37WarmongerRelationship addedhas duplicate 0000514
2013-08-29 17:30IvanNote Added: 0003902
2013-08-29 19:18IvanNote Edited: 0003902bug_revision_view_page.php?bugnote_id=3902#r2400
2013-09-01 16:40IvanAssigned ToTow => Ivan
2013-09-01 16:40IvanStatusacknowledged => assigned
2013-09-01 16:41IvanNote Added: 0003917
2014-02-09 12:10IvanNote Added: 0004441
2014-02-09 12:10IvanStatusassigned => resolved
2014-02-09 12:10IvanFixed in Version => 0.94e
2014-02-09 12:10IvanResolutionopen => fixed
2022-04-12 08:58PovelitelStatusresolved => closed

Notes
(0001760)
Tow   
2011-05-29 23:40   
The issue is different, it caused by the victory condition: defeat all enemies.
When the game starts, the victory condition is already fulfilled. I'd say such map is just ill-formed. OH3 allowed us to play one turn and then displayed victory message but I'm not convinced to reimplementing this behaviour.
(0003902)
Ivan   
2013-08-29 17:30   
(edited on: 2013-08-29 19:18)
I just encountered this error with standard map (campaign to be precise) - start first scenario of SoD campaign "Seeds of Discontent".

After opening map in editor I noticed that victory condition is to acquire artifact (Grail) but there is no "Allow normal victory" checkbox!

I went through all possible victory conditions and found 3 more conditions without this checkbox:
- acquire artifact (used on this map).
- build the grail
- defeat hero
- transport artifact

Despite that victory condition in H3 says "find artifact or defeat all" map works correctly so this IS vcmi bug. Perhaps some h3m peculiarity?

Interesting that editor does says that this is invalid map but it works just fine in-game.

Update: I've rechecked all H3 maps, including campaigns. It looks that Seeds of Discontent map is the only one that suffers from this issue (one player on map with enabled normal victory)

(0003917)
Ivan   
2013-09-01 16:41   
Will fix this along with campaign victory conditions.
(0004441)
Ivan   
2014-02-09 12:10   
Fixed, rev 3747