MantisBT - VCMI
View Issue Details
0000538VCMIMechanics - Battlespublic2010-07-21 16:262014-05-30 17:40
Zamolxis 
Warmonger 
normalcrashalways
closedfixed 
AMD 5600+WindowsXP SP3
0.81 
0.86 
0000538: Battle freeze if we try to cast a spell which is not yet implemented
Creature static animations still work, but we cannot press any button or do any action (the game does not receive mouse/hotkey commands anymore).

I know this should normally not be an issue after all spells are implemented, but I thought of the following:
- It may take a while until the last spell is implemented, and it's not nice for the tester if they have to kill/restart the application if they happen to select such spell during one of their battles
- On the long term, if a mod will work on implementing a custom spell, the VCMI should find a way to handle a spell book icon with no spell properly associated without a freeze

Plus I'm not sure we had this issue before and whether it's really reproducible for everyone (so I'm attaching a forced crash dump file just in case).
No tags attached.
7z ForceCrash_SpellNotImpl.7z (98,346) 2010-07-21 16:26
https://bugs.vcmi.eu/file_download.php?file_id=468&type=bug
Issue History
2010-07-21 16:26ZamolxisNew Issue
2010-07-21 16:26ZamolxisStatusnew => assigned
2010-07-21 16:26ZamolxisAssigned To => Tow dragon
2010-07-21 16:26ZamolxisFile Added: ForceCrash_SpellNotImpl.7z
2010-07-21 16:29ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=981#r981
2011-05-28 06:17WarmongerAssigned ToTow dragon => Warmonger
2011-05-28 06:35WarmongerSeverityminor => crash
2011-06-19 09:08WarmongerNote Added: 0001806
2011-06-19 09:08WarmongerStatusassigned => resolved
2011-06-19 09:08WarmongerFixed in Version => 0.89
2011-06-19 09:08WarmongerResolutionopen => fixed
2014-05-30 17:40beegeeStatusresolved => closed

Notes
(0001806)
Warmonger   
2011-06-19 09:08   
Fixed in r2191.

The issue was caused by lack of animation set for unhandled spells.