Wizlocked!

Posted by Kamir on Thu 21 Jun 2007 05:38 AM — 5 posts, 23,560 views.

#0
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...
Australia Forum Administrator #1
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.
#2
Ah... It works now.

Thanks Nick!
USA #3
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. :)

USA #4
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.