MantisBT - VCMI
View Issue Details
0001279VCMIMechanics - Battlespublic2013-05-29 17:582022-04-11 17:49
Macron1 
Ivan 
normalcrashalways
closedfixed 
0.92b 
0.94b 
0001279: Game crashes, when there is a shooter among stacks and it's missile DEF is missing
Game crashes, when there is a shooter among stacks and it's missile DEF is missing (the path shown is wrong). And there is no diagnostic message about missing missile DEF.
Take a json-file of shooter creature and change path to missile to something wrong. That start game, buy this creature and attack bank, monster on map etc.
I think, that crash is absolutely not necessary.
It can be corrected by using some DEF of invisible missile (this will not hurt battle mechanics at all) or by immideately implying damage to target.
No tags attached.
? Clipboard01Error.bmp (846,454) 2013-05-29 17:58
https://bugs.vcmi.eu/file_download.php?file_id=1286&type=bug
bmp
Issue History
2013-05-29 17:58Macron1New Issue
2013-05-29 17:58Macron1File Added: Clipboard01Error.bmp
2013-05-29 20:02IvanNote Added: 0003594
2013-05-29 20:37Macron1Note Added: 0003597
2013-05-30 19:45IvanAssigned To => Ivan
2013-05-30 19:45IvanStatusnew => assigned
2013-10-26 21:28IvanNote Added: 0004097
2013-10-26 21:28IvanStatusassigned => resolved
2013-10-26 21:28IvanFixed in Version => 0.94b
2013-10-26 21:28IvanResolutionopen => fixed
2022-04-11 17:49PovelitelStatusresolved => closed

Notes
(0003594)
Ivan   
2013-05-29 20:02   
Invisible projectile *may* be an interesting option but incorrect path is an obvious error. Should be easy to detect at startup though.
(0003597)
Macron1   
2013-05-29 20:37   
"Should be easy to detect at startup though"

Should be easy, if check of DEF existence is added:-)
Now this is not logged at all...
(0004097)
Ivan   
2013-10-26 21:28   
VCMI will check for presence of all files mentioned in json. To fixed.