For fwriting, doesn't matter where you put it, just put it where you think
it's best put.
For freading, you need to make sure you put the KEY( " "....) in the right
spot in the huge switch. Otherwise, it'll never be read.
IE.
Bank 230495
switch(word[0])
case B
KEY( "Bank" .... )

Rheede


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike
Sent: Sunday, June 02, 2002 12:20 PM
To: [email protected]
Subject: Fread and fwrite


I added a new sh_int to my char_data struct...for banking.  My problem is
that I am LOUSY with the fread and fwrite stuff in save.c.  I am not
familiar with that area of the code yet...if someone could help me out and
tell me how to add a new field to each player file for ch->bank, i would be
really greatful.  I know how to add it to fread and fwrite, but is there
more that I need to do? *shrugs* if you could help me out, that would be
great.
-tarian


--
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom


Reply via email to