Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Clan/guild saving issue
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Sat 06 Nov 2004 12:56 AM (UTC) |
Message
| 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. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Gatewaysysop2
USA (146 posts) Bio
|
Date
| Reply #1 on Sat 06 Nov 2004 03:28 AM (UTC) |
Message
| 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.
|
"The world of men is dreaming, it has gone mad in its sleep, and a snake is strangling it, but it can't wake up." -D.H. Lawrence | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #2 on Sat 06 Nov 2004 03:48 AM (UTC) |
Message
| It has to be fine, since the leader, #1, and motto were correctly written to the file. I just recently changed them. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Greven
Canada (835 posts) Bio
|
Date
| Reply #3 on Sat 06 Nov 2004 03:52 AM (UTC) |
Message
| 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. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #4 on Sat 06 Nov 2004 04:13 AM (UTC) |
Message
| 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. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
15,387 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top