KEY( "Stored Level", ch->store_level, fread_number( fp ) );
fprintf( fp, "Stored Level %d\n", ch->store_level );
ch->store_level = 0;
short store_level;
A puff of ethereal smoke dissipates around you!
Comm: Loading player data for: Test (1K)
Log: [*****] BUG: fread_char: no match: Stored
Log: [*****] FILE: ../player/t/Test LINE: 10
Test appears in a puff of ethereal smoke!
Log: Hotboot recovery complete.
KEY( "Stored Level", ch->store_level, fread_number( fp ) );
fprintf( fp, "Stored Level %d\n", ch->store_level );
I have recently added a snippet for the remort option. It has compiled fine but the problem is everytime I start the MUD I have to hotboot it to use the command! It is very strange but I am not sure why it is not saving…I'm not even sure what code I should go ahead and show you.
My other problem is that I have tried adding a way for players to "store" their level once they remort showing what their cumulative level is but still reverts their "regular" level to 1. Well my problem is that it keeps saying that the players stored level is 2 and on every hotboot it erases their stored level bringing it back to level 0.
Here is the code I had added within the function of do_remort.
I thank everyone on here for their help!