MantisBT - VCMI
View Issue Details
0002458VCMIMechanics - Otherpublic2016-08-18 04:002016-08-18 14:35
SXX 
Warmonger 
normalminoralways
assignedopen 
0.98g 
 
0002458: Artifacts from log might have id of ArtifactID::ART_LOCK (145)
That's caused issue 0002455 which is fixed, but problem with id conflict still there. Whoever going to fix this must check that changes not break something in saved games.
No tags attached.
related to 0002455closed SXX VCAI: Freeze on attempt to move artifact locks 
Issue History
2016-08-18 04:00SXXNew Issue
2016-08-18 04:01SXXRelationship addedchild of 0002455
2016-08-18 04:01SXXRelationship deletedchild of 0002455
2016-08-18 04:01SXXRelationship addedrelated to 0002455
2016-08-18 05:53WarmongerNote Added: 0006567
2016-08-18 05:53WarmongerAssigned To => Warmonger
2016-08-18 05:53WarmongerStatusnew => assigned
2016-08-18 14:01SXXNote Added: 0006568
2016-08-18 14:06WarmongerNote Added: 0006569
2016-08-18 14:15SXXNote Added: 0006570
2016-08-18 14:35WarmongerNote Added: 0006571

Notes
(0006567)
Warmonger   
2016-08-18 05:53   
I hoped mod artifact IDs are already fixed - but if they are not, this change will likely invalidate old savesgames.
(0006568)
SXX   
2016-08-18 14:01   
I think issue might be related to fact that I don't use WoG that some IDs over 145 reserved for. So actual problem is that ART_LOCK (145) isn't reserved at all in our data files.

So we should probably get rid of WoG artifacts in GameConstants.h too.
(0006569)
Warmonger   
2016-08-18 14:06   
Quite the opposite, all WoG artifacts AND other special cases like this one should be reserved so mod artifacts (or game mechanics in general) don't use these slots.
(0006570)
SXX   
2016-08-18 14:15   
If they can't be handled by mod system alone and need some special treatment in native code then it's understandable to keep them reserved. Otherwise there is very little reason for that since WoG isn't that different than any other mod.
(0006571)
Warmonger   
2016-08-18 14:35   
WoG actually is different as it replaces original game files. Not to mention planned compatibility with ERM.