Awaiting Authorisation and Newbie Area

Posted by Goblin on Sun 06 Jul 2003 07:36 PM — 6 posts, 21,594 views.

#0
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
Australia Forum Administrator #1
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. :)

#2
yeah u get stuck there :(
USA #3
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).
#4
thanks for your comments, but i think what ill just do is change the "rope" room to the academy start.
#5
ah yeah. and probably make it a one way room.