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 ➜ Awaiting Authorisation and Newbie Area

Awaiting Authorisation and Newbie Area

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


Posted by Goblin   (39 posts)  Bio
Date Sun 06 Jul 2003 07:36 PM (UTC)
Message
heya.

ok this is what i want :

1. new characters to go into the newbie area.

2. BUT no name resolving to be done (as there cant always be an imm about ALL the time to verify them).

would that be done by this?

Nameresolving 0
Waitforauth 1

um would it? lol
Top

Posted by Nick Gammon   Australia  (23,131 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 06 Jul 2003 09:11 PM (UTC)
Message
Nameresolving is for TCP/IP domain-name resolution (translation of IP addresses into names). It is nothing to do with the authorize function.

The relevant code seems to be in comm.c, here ...


if (!sysdata.WAIT_FOR_AUTH)
  char_to_room( ch, get_room_index( ROOM_VNUM_SCHOOL ) );
else
{
  char_to_room( ch, get_room_index( ROOM_AUTH_START ) );
  ch->pcdata->auth_state = 0;
  SET_BIT(ch->pcdata->flags, PCFLAG_UNAUTHED);
}


Notice how if you don't have Waitforauth set it starts you at the school, and doesn't set the PCFLAG_UNAUTHED flag? What might work would be to comment out two lines like this:


if (!sysdata.WAIT_FOR_AUTH)
  char_to_room( ch, get_room_index( ROOM_VNUM_SCHOOL ) );
else
{
  char_to_room( ch, get_room_index( ROOM_AUTH_START ) );
//  ch->pcdata->auth_state = 0;
//  SET_BIT(ch->pcdata->flags, PCFLAG_UNAUTHED);
}


I'm not sure whether you will still get stuck at the bell-pull, but it is worth a try. :)


- Nick Gammon

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

Posted by Goblin   (39 posts)  Bio
Date Reply #2 on Sun 06 Jul 2003 11:11 PM (UTC)
Message
yeah u get stuck there :(
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #3 on Mon 07 Jul 2003 08:13 AM (UTC)
Message
Granted, I havent tested this, but it should be possible to setup a mob to handle the tedium of authorizing ppl when they pull the rope based on a series of checks to be sure they've actually done what you want em to do in the school. Might be worth looking into instead of trying to tinker with the screwball authorization code (never did like that feature).

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Goblin   (39 posts)  Bio
Date Reply #4 on Mon 07 Jul 2003 02:54 PM (UTC)
Message
thanks for your comments, but i think what ill just do is change the "rope" room to the academy start.
Top

Posted by Goblin   (39 posts)  Bio
Date Reply #5 on Mon 07 Jul 2003 02:54 PM (UTC)
Message
ah yeah. and probably make it a one way room.
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.


15,950 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.