[Home] [Downloads] [Search] [Help/forum]

Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Playerfile 'Act' bug?

Playerfile 'Act' bug?

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Posted by TehL33TJim   (12 posts)  [Biography] bio
Date Tue 27 Sep 2022 01:12 AM (UTC)

Amended on Tue 27 Sep 2022 01:37 AM (UTC) by TehL33TJim

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!
[Go to top] 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.


It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]