Re: Code

From: Steve (sbryant1@carolina.rr.com)
Date: 09/12/02


> Thomas Larsson
> Sent: Thursday, September 12, 2002
snip
> ------------------------------------------------------
> The second thing i need help on is how do i set up the
> mud so new people dont have to type autoexit and color
> complete, but its already on when they create a new
> char ?

autoexits .. try this in class.c do_start

  ch->player.time.played = 0;
  ch->player.time.logon = time(0);

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

  SET_BIT(PRF_FLAGS(ch), PRF_AUTOEXIT); /* Force autoexits on */

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT