Re: [CODE] 3000th Message Anniversary

From: Mark Vanness Jr. (
Date: 05/07/99

Here is how I fixed it, just going to show you how I fixed INT.

In load_char add the following to the initilizations....
Add to case 'I':
        else if(!strcmp(tag, "Int "))
          GET_RINT(ch) = num;
In save_char with the rest of the defines add:
     if(GET_RINT(ch) != PFDEF_INT)
       fprintf(fl, "Int : %d\n", GET_RINT(ch));

Make sure you have ch->aff_abils = ch->real_abils; above:
       fprintf(fl, "Name: %s\n", GET_NAME(ch));

And lastly search for /* take care of setting up affections properly */
and put the following simple line below it.......... (There should be a line
already below it, but I just removed that.)


#define GET_RINT(ch)    ((ch)->

With this example I am sure you can figure out how to get the things like
STR to save......

Mark W. Vanness Jr.
Artifact Newsletter - Project Coordinator
TrekWars Administration - Project Coordinator

Artifact -
TrekWars MUD - telnet://

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

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