is authorization just to keep players that you don't know confined to a new area? I mean, do you HAVE to be authorized to play the game to it's fullest or is it simply a way to keep people out of the real game?
I don't like the idea of having immortals have to authorize players but I'm terrified at the thought of trying to compile SMAUG myself, heh. Is it necessary to be authorized?
In the file system/sysdata.dat change the line
Waitforauth 1
to read
Waitforauth 0
Then players don't have to be authorised.
I was looking through a lot of the code and I noticed do_auth and if(!authed) in a lot of places, if I remove the requirement to be authorized from the game, would these be doing anything other then being extra lines of worthless code?
-Jay
I can only see 14 references to auth_state, which is the variable set on a player to see is s/he is authorized or not, most of them being in the code that does do_authorize.
There only seem to be about 2 tests of auth_state other than that, one of which disables the ability to change your name once authorized, the other to do with choosing whether to be deadly or not.
There are 19 references to "authed", a lot of which are just part of the loading/saving of that flag, and most of the rest to do with displaying who did the authorizing.
I suppose you could delete them, but out of the 127,186 lines of code, removing a few dozen won't make much difference, and will make it harder to upgrade one day if someone release a patch.
but if we have authorization off, will people still be able to choose to be deadly?
I'm not quite sure how you would do that. In the normal newgate.are the choice of deadly or peaceful is made as part of the pre-authorisation area.
I suppose what you could do is juggle things slightly. Turn authorisation off, but make the starting room in the newgate.are (as if authorisation was on) so that they get to choose. Then reword the area at the end so they don't have to wait for an immortal after pulling the bell rope.
I tried having people be able to choose and not be authorized, everything gets screwed up, so now I just made some extra help files and added a line to the description of the academy stating that if someone wants to be deadly, they just have to ask an immortal