Re: [CODE] Arena code

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 05/12/98

On Tue, 12 May 1998, Christoffer Lundberg wrote:

->I have encountered a small problem with my MUD. It crashes at random
->times, and the only thing that goes "SYSERR" in the log is the line at the
->bottom of the above lines. I have checked all extract_char involvences,
->but all are stock circle.

I don't mean to be a pedant, but this is NOT a crash.  This is the MUD
quitting out because it found a condition it didn't like.  Namely that
the character being extracted was in NOWHERE.  This is not, to my
knowledge, any reported bug with either of the OLC systems (you didn't
specify which you use) and I don't see how it is really related to the
OLC system at all.  Also, looking at the extract_char() calls won't
help you find where you've set ch->in_room to NOWHERE.

So, to summarize, it's probably(!) not a bug with whatever OLC system
you're using, and it is likely a mistake you have made with some other
code--specifically, any code that changes what room the character is
in.  I might suggest making the log() statement in extract_char()
print out the character's name who caused the problem and then figure
out why extract_char() was being called (were they quitting the game
or killed or...?)  That should help you narrow down the suspects.

-dak : Terms and details are very important...

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

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