Authorize bug

Posted by Zeno on Tue 07 Jan 2003 10:32 PM — 5 posts, 12,497 views.

USA #0
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
Australia Forum Administrator #1
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.
USA #2
Ah, thanks. But I did auth them as soon as it said to. Oh well.
Australia Forum Administrator #3
Add the line I quoted to the do_authorize code where it says you have authorized them. That should fix it.
USA #4
I mean before I put the line in. It fixed it a while ago, right after you told me to put that in.