A crash bug and 2 questions

From: Eric Green (ejg3@cornell.edu)
Date: 02/08/95


>First of all, I think there is a crash bug in circle 3.0 betapl4.  Create
>a new character, delete that characater, and then cut link while
>selecting a class....>BOOOM  the mud crashes.  Could someone write a fix
>to this and send it to me please?

The crash is caused because the player_specials isn't initialized for a
character which had previously been deleted.  The fix is just adding one
line (marked by the +) in the function nanny in interpreter.c:


       if (PLR_FLAGGED(d->character, PLR_DELETED)) {        /* line 1102   */
          free_char(d->character);
          CREATE(d->character, struct char_data, 1);
          clear_char(d->character);
+         CREATE(d->character->player_specials, struct player_special_data, 1);
          d->character->desc = d;


Is there a list of reported bugs available anywhere?


Eric Green            |     "To Death Gate.  'Prepare ye the way.'"
ejg3@cornell.edu      |                                         Lord Xar



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