Re: [Circle] (Circle)(newbie) Combat crash bug

From: Rob Stewart (ao134@freenet.toronto.on.ca)
Date: 08/03/96


On Wed, 31 Jul 1996, WarRat wrote:

> 
> I have enabled multi attacks, but included the code to make sure you are
> still fighting before doing the hit, I have also put in a mob condition to
> the prompt similar to that in Stroms Lostlands code, but the bug predates
> the addition of the prompt code so I do not believe it is the cause.
> 
> Has anyone else encountered this, or knows of it; if so, how is it fixed?

	Well, I had the same problem for a while, If you haven't done so 
already, may be sloppy code, but I fixed it by putting:

  if (FIGHTING(ch) == NULL || ch->in_room != FIGHTING(ch)->in_room) {
    stop_fighting(ch);
    continue;
  }

	after each hit (or possible hit)..

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



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