Re: Crash problem

From: Del Minturn (caminturn@EARTHLINK.NET)
Date: 09/16/98


After further investigations, it seems this problem occurs when the mob
gets down less than 0 hitpoints.. I need to check further into that..
but would it possibly be because the POS_XXXX is not being updated with
multi-hit?



Pat O'Laughlin wrote:
>
> It appears to me that you have some sort of multi attack code added.
> Before each hit you need to have something like:
>
> if (ch->in_room = vict->in_room)
>    do_hit(etc...)
>
> If you do not, then when the mob flees, the MUD will still try to make the
> attacker hit the victim and vica versa (however you spell that) causing the
> MUD to crash.  Good luck.
>

I thought that is what the sanity check was for..


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