Register forum user name Search FAQ

Gammon Forum

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 ➜ Running the server ➜ Wizlocked!

Wizlocked!

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


Posted by Kamir   (9 posts)  Bio
Date Thu 21 Jun 2007 05:38 AM (UTC)
Message
Everything compiles fine...

Do the usual ./startup 4000 & thing

Trying logging in, asking for my user's name. I entered it in, with the password. It kicked me out, saying the password is incorrect! (I already edit my pfile to be level 65 and entered a password in the pfile).

I try logging in this time with a "NEW" character, this time it says the game is WIZLOCKED and kicked me out of my own server!

Anyways, just wondering if there's anyway to UN-WIZLOCK the game when I am not "in" the game.

Thanks in advance...
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 21 Jun 2007 06:36 AM (UTC)
Message
A quick scan of the source reveals wizlock is defined in comm.c like this:


bool wizlock;  /* Game is wizlocked    */


I can't see anywhere where this is initialized, so I would change it to:


bool wizlock = 0;  /* Game is wizlocked    */


Then do a "make" and try again.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Kamir   (9 posts)  Bio
Date Reply #2 on Thu 21 Jun 2007 02:28 PM (UTC)
Message
Ah... It works now.

Thanks Nick!
Top

Posted by Orik   USA  (182 posts)  Bio
Date Reply #3 on Thu 21 Jun 2007 06:54 PM (UTC)
Message
Quick note on why your password didn't work. You probably edited the password in your pfile with just a regular notepad program. Those passwords are encrypted so you can't just put:

Pwd password

That won't work because it tries to figure out the password encryption. Your password when saved would like something like this:

Pwd @GDSKFN:O*$&&$YGKH:LIU

Not really, but you get the idea, a bunch of jibberish. :)

Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #4 on Fri 22 Jun 2007 02:07 AM (UTC)
Message
Actually, that's only true if he's installed SmaugFUSS or possibly with Smaug 1.8, if he's using Smaug 1.4a the passwords were stored in the pfiles in plain text. But, given what I know of Kamir's current experimentation efforts, he probably is using SmaugFUSS which means that you're probably correct and he'll need to only edit the level for a new copy of his character after creating it as a 'new' character and then go online with it and change the password to whatever he likes there with the password command.

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.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.


18,864 views.

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

Go to topic:           Search the forum


[Go to top] top

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