Re: Problem getting new struct to save

From: Chuck Carson (chuck@EDEN.COM)
Date: 06/03/98


Patrick Dughi wrote:
>
> > I then made a separate struct called char_money that contained
> > all the variables for the players money.
> >
> > I then placed this stucture everywhere I found the char_point_data
> > structure in structs.h
> >
> > I nuked the player file, modified do_stat in act.wizard.c and do_set,
> > recompiled and mooted the mud. I can set the new coins types and etc..
> > but they will not save. I have combed through structs.h and cannot see
> > my mistake. Can someone help me out? I guess I could regress back to
> > my sloppier first method but this is irritating the hell out of me =)
>
>         I don't suppose that you added the appropiate lines in db.c which
> actually deal with saving and loading characters and their stats? All I
> can think of..
>
>                                         PjD
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
Yea, *bonk* I realized that just after I posted that message. I have
gotten
so used to adding variables to already existing structs that I got lazy.

Thanks,
Chuck


     +------------------------------------------------------------+
     | 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