Re: act() crashing..stumped

From: Chris Jacobson (fear@ATHENET.NET)
Date: 02/13/98


On 2/13/98 3:41 AM, Joe DiLascio (OmnousMan@aol.com) stated:

>  /* ASSUMPTION: at this point we know type must be TO_NOTVICT or TO_ROOM */
>
>  if (ch && ch->in_room != NOWHERE)
>    to = world[ch->in_room].people;            <==crash on this line
>  else if (obj && obj->in_room != NOWHERE)
>    to = world[obj->in_room].people;
>  else {
>    log("SYSERR: no valid target to act()!");
>    return;
>  }
Yes if you print out ch->in_room, its going to be something like 16393 or
something... anyways, look at the beginning of ch, its all repeating
data, because CH was purged, but then an act with that character was
sent... you have to find out what is calling this act()... I used to have
this problem a LOT with certain changes I would make (I dontrecall which
changes they were, however).

- Chris Jacobson


     +------------------------------------------------------------+
     | 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