Re: [CODE] Events - My ch pointer has been violated! :)

From: Sammy (samedi@DHC.NET)
Date: 05/07/98

On Thu, 7 May 1998, Chuck Reed wrote:

> What happens is that ch is not a valid parameter to the
> act("Blah", FALSE, ch, 0, 0, TO_ROOM);
> die(ch, NULL);
> and other ch referenced calls in EVENTFUNC(timed_dt).  As soon as event_obj
> is passed to EVENTFUNC, ch is screwed.

Ok that's a start.  Assuming you use gdb, "break timed_dt" and step
through it slowly (printing ch along the way) to see at what point it's
not valid.  I can't remember what that funciton looks like, but I'd guess
that it's invalid at the very beginning of the function.


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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