Playerfile 'Act' bug?

Posted by TehL33TJim on Tue 27 Sep 2022 01:12 AM — 1 posts, 5,832 views.

#0
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:

Act          570427000d&2d


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!