[Circle] Lost Eq

From: Brian Guilbault (guil9964@nova.gmi.edu)
Date: 11/25/96

Hi Again-

Okay, I mailed before saying that I was losing all character's equipped 
gear when I crashed. I still can't figure that out, but now I have the 
source of the crash. It is always at this same place in the same route of 
functions. Here is my gdb backtrace:

#0  0x6d8c2 in strcat (0x005dd600, 0x00789c00, 0x00789c00, 0x00789c00)
#1  0xefbfd7e8 in zone_table (0x005dd600, 0x00789c00, 0x00789c00, 0x00789c00)
#2  0x7467 in list_char_to_char (list=0x789c00, ch=0x6e02)
    at act.informative.c:309
#3  0x7b3d in look_at_room (ch=0x789c00, ignore_brief=0)
    at act.informative.c:410
#4  0xe28d in do_simple_move (ch=0x789c00, dir=28066, need_specials_check=0)
    at act.movement.c:168
#5  0xe407 in perform_move (ch=0x789c00, dir=1, need_specials_check=0)
    at act.movement.c:199
#6  0xe531 in do_move (ch=0x789c00, argument=0x0, cmd=2, subcmd=2)
    at act.movement.c:235
#7  0x44478 in command_interpreter (ch=0x789c00, argument=0xefbfd904 "e")
    at interpreter.c:976
#8  0x2085 in game_loop (mother_desc=3) at comm.c:623
#9  0x15fe in init_game (port=3) at comm.c:259
#10 0x1500 in main (argc=3, argv=0xefbfdd00) at comm.c:229

Now what I get out of this is that someone moved east in #7, it processed 
it and tried to do the move, but then in  #4 there, somehow dir became 
equal to 28066. Now that can't happen, so when look_at_room was called, 
it couldn't handle the input. Of course I may be completely wrong, and 
even if I'm not, I don't know how to fix it.

act.movement.c at 168 is look_at_room(ch, 0) and act.info.c at 418 is
list_char_to_char(world[ch->in_room].people, ch), so apparently it's 
trying to list the character in the room (28066 maybe?) but can't. I 
don't know. Even if I can't fix the eq loss, I need to fix this, it 
happens far to often.

Thanks A Million,


Brian Guilbault - GMI Engineering Institute
E-mail: guil9964@gmi.edu, dante@i-55.com
WWW: http://www.gmi.edu/~guil9964/
QuarantineMUD: Telnet to exit1.i-55.com 4000

| 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/18/00 PST