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 ➜ Authorize bug

Authorize bug

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


Posted by Zeno   USA  (2,871 posts)  Bio
Date Tue 07 Jan 2003 10:32 PM (UTC)
Message
Auth: Waom: authorized
You have authorized Waom.

Then they get
"You can not ascend to a higher level until you are authorized."

I mstat then-
Pcflags : deadly unauthed nstart

Their unauthed still. Why?
Their not in authorize list

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 07 Jan 2003 11:48 PM (UTC)
Message
After a bit of delving into the code it seems that the authorize command doesn't actually remove the unauthed bit, it just sets the auth_state to 3, so you can enter the Realms. Then when you enter the Realms the unauthed bit is removed.

Search for this:

REMOVE_BIT(victim->pcdata->flags, PCFLAG_UNAUTHED);


You might want to add that line to the do_authorize code, around the spot where it says you have authorized someone.

Alternatively, authorize them *before* they go out of the pre-auth area.

- Nick Gammon

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

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #2 on Wed 08 Jan 2003 07:37 PM (UTC)
Message
Ah, thanks. But I did auth them as soon as it said to. Oh well.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 08 Jan 2003 09:07 PM (UTC)
Message
Add the line I quoted to the do_authorize code where it says you have authorized them. That should fix it.

- Nick Gammon

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

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #4 on Thu 09 Jan 2003 01:10 AM (UTC)
Message
I mean before I put the line in. It fixed it a while ago, right after you told me to put that in.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.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.


11,756 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.