Re: Ascii player files

From: Demond De Inosantos (jay@LAPLAZA.ORG)
Date: 07/28/97


>
> Ok here is the play by play. You need to..
> In load_char:
> find= psds->spells_to_learn = 0;
> add= psds->olc_zone = -1;  /* this is the initialization */
> Find case 'O':
>       break;
>
> Change to:
>      case 'O':
>           if( !strcmp( tag, "Olc " ) )
>           psds->olc_zone = num;
>           break;
>
> in save_char();
> Find:
>      fprintf(outfile, "Lern: %d\n", (int)psds->spells_to_learn);
>     if(psds->olc_zone)
> Add:
>     if(psds->olc_zone)
>       fprintf(outfile, "Olc : %d\n", (int)psds->olc_zone);
> In init_char()
>  find
>   ch->real_abils.cha = 25;
>
> Add:
>   ch->player_specials->saved.olc_zone = -1;
>
 Ok I did that and it still doesn't load the olc zone I now can save it
tho :)

Thanx,
Demond


     +------------------------------------------------------------+
     | 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/08/00 PST