MantisBT - VCMI
View Issue Details
0000280VCMIMechanics - Battlespublic2009-12-02 11:582019-05-19 13:05
majaczek 
 
lowcrashhave not tried
assignedopen 
0.75 
 
0000280: When playing on weird map I had chance to fight nothing (may lead to crash)
I played with my prepared map made in WOG editor (weird use of DEFs - such for test). I met the hero looking as normal but in editor it looks diffrent (don't remember if it's hero with nonhero def or object with hero def buggy found as hero in VCMI). the tile to fight was not at hero but next to. After i defeat hero in normal battle i found that on empty tile i can fight hero again so i tried - no crash - but hero haven't any army (because defeated in previous battle) but battle started with me and that hero and queye set to all my things
No tags attached.
png VCMI_fight_nothing.PNG (529,776) 2009-12-02 11:58
https://bugs.vcmi.eu/file_download.php?file_id=137&type=bug
png
Issue History
2009-12-02 11:58majaczekNew Issue
2009-12-02 11:58majaczekFile Added: VCMI_fight_nothing.PNG
2009-12-02 12:01majaczekNote Added: 0000353
2009-12-02 12:11majaczekNote Added: 0000355
2009-12-02 12:18majaczekNote Edited: 0000353bug_revision_view_page.php?bugnote_id=353#r435
2009-12-02 23:10ZamolxisNote Added: 0000368
2009-12-02 23:10ZamolxisPrioritynormal => low
2009-12-02 23:10ZamolxisSeverityminor => crash
2009-12-02 23:10ZamolxisSummaryWhen playing on weird map I had chance to fight nothing => When playing on weird map I had chance to fight nothing (may lead to crash)
2019-05-19 13:05PovelitelAssigned ToTow dragon =>

Notes
(0000353)
majaczek   
2009-12-02 12:01   
(edited on: 2009-12-02 12:18)
sorry its crashbug - after moving unit with this bugging occasion the VCMI both client and server crashed

done it on map test_defs from my test map pack send in that topic
http://forum.vcmi.eu/viewtopic.php?p=4031#4031 [^]

(0000355)
majaczek   
2009-12-02 12:11   
the bug is not reproducible from save game (buggy object doesn't persist the saving)
the bug is always reproducible by playing from new game and trying to fight the buggy hero twice in same game (first fighting next-to secondly fight invisible one)
to bug occur you need some sort of def/accfields manipulation
(0000368)
Zamolxis   
2009-12-02 23:10   
Severity changed to Crash, but priority to low, as elements in the custom WoG maps can be pretty particular.