I compiled Smaug 1.8b under Cygwin.
Followed the NOCRYPT = -DNOCRYPT and
edited the is_profane function in act_com.c as per instructions.
It compiled cleanly, and then I did a ./startup 4000
It connects, then when trying to log in:
The game is wizlocked. Only immortals can connect at this time.
Please try back later ...
So I'm rather new to cygwin in general, and coding, and Smaug, so what do you have to do to make it non wizlocked or just be able to log in?
I edited the 'Edmond' file in gods and put level 65, but that didn't work either, booted me right out.
So what do we do?
If you login as an Immortal, you should be able to get past the wizlock message.
Make sure you edit the pfile, and not just the god file.
Hmm, I see..
I'm currently browsing the 'player' directory and I've browsed all the alphabetical directories but cannot find the pfile.. Hmm.
If you're able to login the char, the pfile has to be somewhere.
Had you tried the admin file in players/a yet?
I don't think it comes with a pfile, the only thing that exists in the dist is a file named "Edmund" in the gods directory.
It contains the following lines:
Level 65
Pcflags 1081402
That's pretty much it.
And I can't log it in, and it won't let me create a new character either because it is wizlocked. :)
To answer your question, I don't see an 'admin' folder either.
Anyone have a sample pfile I could copy and paste so that it will allow a log in? :P
Minor correction, not admin folder.. "player/a" folder is empty.
Create a new character, save, quit, edit it up to lvl 65.
I can't.. Hence the wizlocked problem, here's what it does:
By what name are you known (or "new" to create a new character): new
Choosing a name is one of the most important parts of this game...
Make sure to pick a name appropriate to the character you are going
to role play, and be sure that it suits a medieval theme.
If the name you select is not acceptable, you will be asked to choose
another one.
Please choose a name for your character: Rojenku
The game is wizlocked. Only immortals can connect at this time.
Please try back later ...
Hence my trouble.
I'm not sure why there is no admin file either, I'm looking around for one.
I don't know why stock would be wizlocked by default.
Have you considered SmaugFUSS?
Yes, I don't know either, but I found where it comes from!
I was able to browse a search engine and it seems it's a setting that comes with the stock for some reason, anyhow here is the solution:
Open the file sysdata.dat in /system
change the line:
Wizlock 1
to
Wizlock 0
That will do it. :)
I haven't tried SmaugFUSS yet.