Clan/guild saving issue

Posted by Zeno on Sat 06 Nov 2004 12:56 AM — 5 posts, 20,311 views.

USA #0
I created a new guild, and it works fine. Counts the mkills like normal. But then, after a hotboot or reboot, the guilds mkills are back to 0. Yes I'm pretty sure the guild file is read and wrote correctly.

clans.c:        fprintf( fp, "MKills       %d\n",       clan->mkills            );
clans.c:            KEY( "MKills",      clan->mkills,           fread_number( fp ) );


Anyone know why mkills are being reset? Other fields, like #1 or leader, save.
USA #1
You might want to check if the file is errantly set as read-only or something of that nature. I've had that happen when unpacking some archives that were on a CD before. If they're set to read only, sometimes (at least I've seen) weird issues where in game it appears ok but in actuality the file isn't being written to and updated. Had this happen with commands.dat when I added a new command, hotbooted and found it missing. Very annoying.

USA #2
It has to be fine, since the leader, #1, and motto were correctly written to the file. I just recently changed them.
Canada #3
K, this will help you track it down: is it modifying the file? If it is, then the problem is during loading the clan. If its not being written to the clan file, then its a saving problem. Narrows the search down.
USA #4
Odd, now it's saving. Actually, it was 16, then after a few hotboots, I checked it, now it's 15. And the only guild member on, has been idle.