Re: [Multi-attack obscure error]

From: Greco Paolo (drbwana@tin.it)
Date: 11/06/00


> the next round starts after the vict has been mort wounded.  MSVC 6.0
offers
> to debug the .exe file when an error occurs.  It brought me to the first
> line of the sanity check in hit() where it says:
>   if ((ch->in_room) != (victim->in_room)) {
>     if ((FIGHTING(ch)) && (FIGHTING(ch)) == (victim))
>       stop_fighting(ch);
>     return;
Maybe ch or victim are null, so ch->in_room or victim->in_room blows up your
mud.
  Razor


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



This archive was generated by hypermail 2b30 : 04/11/01 PDT