uff fprintf( fp, "Owner %s\n", obj->owner ); wheres your call to go into the pfile? this just saves it on the object make sure you include a tilda or your pfile is gona look like you ran it through a lawn mower.
fprintf( fp, "Owner %s~\n", obj->owner ); On Thu, 6 Jun 2002, Matt Foltz wrote: > I added a field to my objects called owner. Basically > players can buy ownership on their items, preventing > other players from wearing them. It works fine, > except for it doesn't save to the object. Here's my > line in save.c: > > if (obj->owner != NULL) > fprintf( fp, "Owner %s\n", obj->owner ); > > then I have the KEY line: > > KEY( "Owner", obj->owner, fread_string( fp ) ); > > But when I log off it never saves the owner to the > object. Anyone have an idea why? > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom >

