Re: [TOTD] (maybe) purgeplay

From: George (greerga@CIRCLEMUD.ORG)
Date: 04/22/98


On Wed, 22 Apr 1998, Angus Mezick wrote:

>if (okay)
>    {
>+    count++;
>+    player.char_specials_saved.idnum = count;
>    fwrite(&player, sizeof(struct char_file_u), 1, outfile);
>    }
>Anyone see any code conflicts here?

I believe houses save by idnum.

struct house_control_rec {
   room_vnum vnum;              /* vnum of this house           */
   room_vnum atrium;            /* vnum of atrium               */
   sh_int exit_num;             /* direction of house's exit    */
   time_t built_on;             /* date this house was built    */
   int mode;                    /* mode of ownership            */
   long owner;                  /* idnum of house's owner       */
[...]

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


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



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