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
➜ Playerfile 'Act' bug?
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| TehL33TJim
(12 posts) Bio
|
Date
| Tue 27 Sep 2022 01:12 AM (UTC) Amended on Tue 27 Sep 2022 01:37 AM (UTC) by TehL33TJim
|
Message
| Hey all, I started messing around with a fresh install of SMAUG (SmaugFUSS, I believe 1.9). Most changes are within comm.c and the character creation process.
I've managed to get a logged bug during player loading
[*****] BUG: fread_char: no match: d&2d
The playerfile[line 17] reads as follow:
Not sure where the d&2d is from or quite frankly what ANY of the 'Act' key is for, which is making this tricky to debug.
Other information of note is that regardless of where I save, this character always boots up at the initial start room, and the mprog fires off to mpadvance them to level 2 and gives a fresh Adventure's Guide (we're up to like 7 of them now, lol).
I'm certain I've somehow goofed up and erroneously commented out a flag or bool that needs to be hit, I'm just unaware of which. Any help?
[Update]So I'm fairly confident it has to do with me skipping over some of the steps within the character creation section of comm.c - this explains a bit also as to why the engine itself sends me to the initial room and resets my level. I will continue to look into it (specifically d->connected = CON_#### and how I can alter the requisite)
[Update2]Well! Turns out you shouldn't declare anything within nanny_press_enter() that you don't want to happen during each login! I incorrectly assumed it was only for character creation. I hope anyone reading this either gets some helpful information or a good laugh at my expense. At either rate this issue is very much solved and more importantly the SMAUG codebase is still being used in 2022. Cheers all! | 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.
3,357 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top