Re: CODE: Autodiag problem

From: John Evans (evansj@HI-LINE.NET)
Date: 04/17/98


On Fri, 17 Apr 1998, Spencer Miles wrote:

> Hello,
> I finally figured out where my mud has been crashing. It is something
> wrong with Diagnose or autodiagnose i think. When i debug it and it
> crashes visual c++ 5.0 takes me to this function in act.informative.c

This is a problem with that patch (or is it a snippet?). It tried to
autodiag something that is already dead and extracted and since the victim
wasn't there, it crashes....

I don't use the code, so I don't know where to fix it, but somewhere in
there you need to do:

if (!victim) return;

or something else that makes the mud avoid autodiag if the victim is dead.

John Evans <evansj@hi-line.net>  --  http://www.hi-line.net/~evansj/

Any sufficiently advanced technology is indistinguishable from magic.
--Arthur C. Clarke


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST