Re: Newbie: Area coding

From: Michael Gallagher (m_gally@hotmail.com)
Date: 01/11/00


make it so PRF_AUTOEXIT is set on new players.

goto class.c

and find the function do_start

and you'll find a line:

  if (siteok_everyone)
   SET_BIT(PLR_FLAGS(ch), PLR_SITEOK);

after this add

  SET_BIT(PRF_FLAGS(ch), PRF_AUTOEXIT);

now any new player who comes on will see the exits after look.
(note that the start of the new line is in line with the start
of the if statement, not the SITEOK set line).

Michael
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT