From: Rasdan <thomajam@ucs.orst.edu>
Subject: poof saves

Here is how I got poofin/poofout to save:

STRUCTS.H
======================

Remove poofin/poofout from wherever they are defined now.

Right below
#define HOST_LENGTH add:
#define POOF_LENGTH		80
In char_player_data, right below char *title; add:

char *poofin;
char *poofout;

In char_file_u, below:
char title[MAX_TITLE_LENGTH+1];

add:

char poofin[POOF_LENGTH + 1];
char poofout[POOF_LENGTH + 1];

DB.C
========================
In store_to_char,

below: ch->player.title = str_dup(st->title);

add:

ch->player.poofin = str_dup(st->poofin);
ch->player.poofout = str_dup(st->poofout);

In char_to_store, below:
  if (GET_TITLE(ch))
    strcpy(st->title, GET_TITLE(ch));
  else
    *st->title = '\0';

add:

  if (POOFIN(ch))
        strcpy(st->poofin, POOFIN(ch));
  else
        *st->poofin = '\0';

  if (POOFOUT(ch))
        strcpy(st->poofout, POOFOUT(ch));
  else
        *st->poofin = '\0';

Well, that's the way it works for me. Hope this helps at all.

Rasdan
