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
➜ do players HAVE to be authorized?
do players HAVE to be authorized?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Raven23
(14 posts) Bio
|
Date
| Thu 14 Feb 2002 06:15 AM (UTC) |
Message
| 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? | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 14 Feb 2002 06:44 AM (UTC) |
Message
| In the file system/sysdata.dat change the line
Waitforauth 1
to read
Waitforauth 0
Then players don't have to be authorised.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Neves
USA (78 posts) Bio
|
Date
| Reply #2 on Fri 22 Feb 2002 05:54 PM (UTC) |
Message
| 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 | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #3 on Fri 22 Feb 2002 09:04 PM (UTC) |
Message
| 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. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Arsen
(44 posts) Bio
|
Date
| Reply #4 on Sat 14 Sep 2002 01:21 AM (UTC) |
Message
| but if we have authorization off, will people still be able to choose to be deadly? | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #5 on Sat 14 Sep 2002 07:00 AM (UTC) |
Message
| 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. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Arsen
(44 posts) Bio
|
Date
| Reply #6 on Sun 15 Sep 2002 12:44 AM (UTC) |
Message
| 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 | 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.
21,449 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top