Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007630 [DCSS] Bug Report crash always 2013-10-12 07:59 2013-10-17 23:21
Reporter ontoclasm View Status public  
Assigned To neil
Priority normal Resolution done  
Status resolved   Product Branch 0.13 ancient branch
Summary 0007630: Crash when decapitating a hydra zombie with the Scythe of Curses
Description Taking off the last head of a hydra zombie (at least) with the Scythe of Curses causes an immediate crash. Sizzell reports it as:

ontoclasm (L11 DsBe) ERROR in 'mon-util.cc' at line 612: bogus mc (no monster data): invalid monster_type 1000 (1000) (D:12)

Presumably this is from trying to apply the necro miscast to the hydra after it's already died from headlessness.
Additional Information
Tags No tags attached.
Attached Files ? file icon 0001-Fix-scythe-of-curses.patch [^] (889 bytes) 2013-10-17 23:12 [Show Content]

- Relationships

-  Notes
(0024208)
Naruni (reporter)
2013-10-17 22:40

I tried adding to melee_attack::drain_defender() in melee_attack.cc:

if (!defender)
    return;

Then slicing off the last head caused this:

ERROR in 'mon-util.cc' at line 612: bogus mc (no monster data): invalid monster_type 1000 (1000)

So that's not it...
(0024210)
Naruni (reporter)
2013-10-17 23:05

Re-arranged the logic in art-func.h to check if monster died before checking to
see if it has/had lifeforce.
(0024211)
neil (administrator)
2013-10-17 23:21

Naruni's patch has been applied in trunk (0.14-a0-282-g0b04774) and stable (0.13.0-11-g0187522), thanks!

- Issue History
Date Modified Username Field Change
2013-10-12 07:59 ontoclasm New Issue
2013-10-17 22:40 Naruni Note Added: 0024208
2013-10-17 23:05 Naruni Note Added: 0024210
2013-10-17 23:12 Naruni File Added: 0001-Fix-scythe-of-curses.patch
2013-10-17 23:21 neil Note Added: 0024211
2013-10-17 23:21 neil Status new => resolved
2013-10-17 23:21 neil Fixed in Branch => 0.13 stable branch
2013-10-17 23:21 neil Resolution open => done
2013-10-17 23:21 neil Assigned To => neil


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker