IS_NPC bug in CVS snapshot

From: Tony Robbins [Kupek] (tonyr@NWPACLINK.COM)
Date: 09/21/98

Just so you all know, the bug still exists in the CVS snapshot for
linkloading and stating players in their file.
(the changing of the IS_NPC define does not change it)

However, now stat file is a crash bug.  The vile source:
(gdb) bt
#0  0x4007e814 in ?? () from /lib/
#1  0x80813c8 in save_char (ch=0x85a42f0, load_room=-1) at db.c:2097
#2  0x808806d in extract_char (ch=0x85a42f0) at handler.c:989
#3  0x806e4fc in do_stat (ch=0x85a3e88, argument=0xbffffa98 " file kupek",
    cmd=274, subcmd=0) at act.wizard.c:987
#4  0x808bb43 in command_interpreter (ch=0x85a3e88,
    argument=0xbffffa94 "stat file kupek") at interpreter.c:672
#5  0x804a3ca in game_loop (mother_desc=3) at comm.c:807
#6  0x8049aba in init_game (port=4000) at comm.c:402
#7  0x8049a29 in main (argc=3, argv=0xbffffdfc) at comm.c:363

2095:  char_to_store(ch, &st);
2097:  strncpy(, ch->desc->host, HOST_LENGTH);
2098:[HOST_LENGTH] = '\0';

The problem is probably due to the fact that linkloaded and 'stat file'd
characters have no descriptor, but a simple descriptor check didn't seem
to fix it for me.


  Tony Robbins, <>
  LakeView Technologies, Inc.

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

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