
Pages:<< prev 1 next >>


Off the Edge of the Map

GroupAdministrators
Posts1,199
JoinedMar 21, 2006
Bug: Timezone setting for Players not saving.
Danger: Minor - Annoying to have to reset your timezone every time you log in, but no real effect on the game.
Found by: Banner
Fixed by: Banner
---
save.c, fwrite_char:
Below:
Add:
save.c, load_char_obj, In the if( !found ) at the bottom:
Below:
Add:
save.c, fread_char, case 't':
Below:
Add:
Danger: Minor - Annoying to have to reset your timezone every time you log in, but no real effect on the game.
Found by: Banner
Fixed by: Banner
---
save.c, fwrite_char:
Below:
fprintf( fp, "IllegalPK %d\n", ch->pcdata->illegal_pk );
Add:
fprintf( fp, "Timezone %d\n", ch->pcdata->timezone );
save.c, load_char_obj, In the if( !found ) at the bottom:
Below:
ch->pcdata->wizinvis = 0;
Add:
ch->pcdata->timezone = -1; // add
save.c, fread_char, case 't':
Below:
KEY( "Trust", ch->trust, fread_number( fp ) );
Add:
KEY( "Timezone", ch->pcdata->timezone, fread_number( fp ));
Pages:<< prev 1 next >>