MantisBT - VCMI
View Issue Details
0001385VCMIMechanics - Adventure Mappublic2013-07-27 22:372022-04-11 17:49
Ivan 
Tow 
normalcrashalways
closedfixed 
0.93 
0.94 
0001385: VCMI crashes on starting user-made map (SoD)
Some weird Chinese map that makes VCMI crash on start. See attachment.

Tail of console log:

Established connection with VCMI 0.93b (server)
    Connecting to the server: 0
    Will send info to server...
Server opened map properly.
vcmiserver: lib/CObjectHandler.cpp:1561: void CGHeroInstance::putArtifact(ArtifactPosition, CArtifactInstance *): Assertion `!getArt(pos)' failed.
Aborted
Tail of server log:

01:34:16 TRACE bonus [0x17e6f30] - Artifact instance of Surcoat of Counterpoise type #attached to# Artifact: Surcoat of Counterpoise
01:34:16 TRACE bonus [0x17e6f30] - Hero �����װ��� #attached to# Artifact instance of Surcoat of Counterpoise type
01:34:16 TRACE bonus [0x17e6f30] - Artifact instance of Garniture of Interference type #attached to# Artifact: Garniture of Interference
01:34:16 TRACE bonus [0x17e6f30] - Hero �����װ��� #attached to# Artifact instance of Garniture of Interference type
01:34:16 TRACE bonus [0x17e6f30] - Artifact instance of Equestrian's Gloves type #attached to# Artifact: Equestrian's Gloves
01:34:16 TRACE bonus [0x17e6f30] - Hero �����װ��� #attached to# Artifact instance of Equestrian's Gloves type
01:34:16 TRACE bonus [0x17e6f30] - Artifact instance of Ring of the Wayfarer type #attached to# Artifact: Ring of the Wayfarer
01:34:16 TRACE bonus [0x17e6f30] - Hero �����װ��� #attached to# Artifact instance of Ring of the Wayfarer type
01:34:16 TRACE bonus [0x17e6f30] - Artifact instance of Boots of Polarity type #attached to# Artifact: Boots of Polarity
01:34:16 TRACE bonus [0x17e6f30] - Hero �����װ��� #attached to# Artifact instance of Boots of Polarity type
01:34:16 TRACE bonus [0x17e6f30] - Artifact instance of Hourglass of the Evil Hour type #attached to# Artifact: Hourglass of the Evil Hour
01:34:16 TRACE bonus [0x17e6f30] - Hero �����װ��� #attached to# Artifact instance of Hourglass of the Evil Hour type
01:34:16 TRACE bonus [0x17e6f30] - Artifact instance of Spirit of Oppression type #attached to# Artifact: Spirit of Oppression
01:34:16 TRACE bonus [0x17e6f30] - Hero �����װ��� #attached to# Artifact instance of Spirit of Oppression type
01:34:16 TRACE bonus [0x17e6f30] - Artifact instance of Catapult type #attached to# Artifact: Catapult
No tags attached.
related to 0001415closed Ivan I can not start the game on this map (sod). Game freeze. 
related to 0001427closed Ivan I can not start the game on this map (sod). Game freeze. 
? xiedu.h3m (169,297) 2013-07-27 22:37
https://bugs.vcmi.eu/file_download.php?file_id=1402&type=bug
Issue History
2013-07-27 22:37IvanNew Issue
2013-07-27 22:37IvanFile Added: xiedu.h3m
2013-08-24 21:32TowNote Added: 0003887
2013-08-24 21:32TowAssigned To => Tow
2013-08-24 21:32TowStatusnew => confirmed
2013-08-24 21:32TowRelationship addedrelated to 0001415
2013-08-24 21:32TowSeverityminor => crash
2013-09-03 13:25TowNote Added: 0003923
2013-09-03 13:25TowStatusconfirmed => resolved
2013-09-03 13:25TowFixed in Version => 0.94
2013-09-03 13:25TowResolutionopen => fixed
2013-09-04 22:13IvanRelationship addedrelated to 0001427
2022-04-11 17:49PovelitelStatusresolved => closed

Notes
(0003887)
Tow   
2013-08-24 21:32   
VCMI crashes when there is a hero that has set some properties (like artifact) twice:
* once in the predefined hero list (in the map properties window)
* once in the properties of hero object placed on the map

I'll fix it.
(0003923)
Tow   
2013-09-03 13:25   
Fixed in r3527.