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 ➜ SMAUG coding ➜ Stuck... Again..

Stuck... Again..

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


Posted by AkiraMuyo   (41 posts)  Bio
Date Sun 24 Feb 2002 04:02 AM (UTC)
Message
Ok, i've been learning a bunch. But I still need help. I've completely wiped out all the areas, and races I don't want. I've created one room for people to enter, I also made a prog so that when they leave down it levels them to 2. Which allows them to save. Heres my problem, I need to authorize them. For some reason, I cannot authorize them myself with an imm character. It just say's player is not awaiting authorization. However, when I try to trans them, it says there not authorized yet. But in the original smaug, when you pull on that rope it somehow authorizes and levels you then. I've figured the level part but no auth, can you please help.

Actually I guess its two questions, one how can i fix it so I can authorize them myself and how can whats the code to authorize them if they enter a room or ect...??

Thanks a bunch!!!
Akira

p.s sorry for rambling...
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 24 Feb 2002 06:26 AM (UTC)
Message
The test for whether you can authorize them is based on auth_state, which must be 1 - waiting for authorization, and must have the flag set PCFLAG_UNAUTHED.

See get_waiting_desc in act_wiz.c

- Nick Gammon

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

Posted by AkiraMuyo   (41 posts)  Bio
Date Reply #2 on Fri 01 Mar 2002 07:39 PM (UTC)
Message
I'm useing the smaug wizard. It doesn't seem to have code it in. Is it possible for me to change it?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Fri 01 Mar 2002 09:47 PM (UTC)

Amended on Tue 20 Nov 2007 04:26 AM (UTC) by Nick Gammon

Message
I'm not sure about the smaug wizard. The code for smaug is available from this site, and from www.smaug.org.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


16,402 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.