Re: Code

From: Mike Stilson (mike@velgarian.sytes.net)
Date: 09/12/02


On Thu, Sep 12, 2002 at 06:29:18AM -0700, Thomas Larsson wrote:
>SYSERR: Mob using
>'((ch)-)player_specials-)saved.pref)' at
>act.wizard.c:127
-    if (PRF_FLAGGED(ch, PRF_NOREPEAT))
+    if (!IS_NPC(ch) && PRF_FLAGGED(ch, PRF_NOREPEAT))

>------------------------------------------------------
>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 are fine, but I really recommend against color.  slow
conenctions don't like them, some old clients don't display them right
(if at all) and even some others actually print the esc sequence which
looks liks $hit.

But, just add whichever bits you want in init_char().
(Find the bits from whichever command you want to automatically use.)

For color, it's really a better idea to just add a new question/state to
nanny() for something like "Do you want ansi color?" and enable it there
if they want it.

>------------------------------------------------------
>The third and last thing: When the mud crashes it just
>hangs until i come home and click ok in the window
>that pops up, any way to awoid this ?

Uh, this was just answered yesterday or the day before.

-me

--
   +---------------------------------------------------------------+
   | 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