Re: [Colourcode2.txt] [Errors:]

From: Del (caminturn@earthlink.net)
Date: 07/26/00


"Bobby L. Russ" wrote:
>
> On Wed, 26 Jul 2000, Patrick Dughi wrote:
>
> > >
> > > Jul 24 17:50:56 :: SYSERR: Mob using
> > > '((((ch)))->player_specials->saved.pref)' at fight.c:609.
> > >
> > > Jul 24 17:50:51 :: SYSERR: Mob using
> > > '((((vict)))->player_specials->saved.pref)$
> > >
> >         Maybe someone can confirm this error for me; I find it comes from
> > some sort of player afk statment in the few muds I've seen it on.
>
>         I have seen this error in my code not just on AFK, but a number of
> flags that are player_specials->saved.pref
>

The specific error that was posted (above) the problem was:

These lines were replaced

#define _clrlevel(ch) (!IS_NPC(ch) ? (PRF_FLAGGED((ch), PRF_COLOR_1) ? 1
: 0) + \
                       (PRF_FLAGGED((ch), PRF_COLOR_2) ? 2 : 0) : 0)


with:

#define _clrlevel(ch) ((PRF_FLAGGED((ch), PRF_COLOR_1) ? 1 : 0) + \
                       (PRF_FLAGGED((ch), PRF_COLOR_2) ? 2 : 0))


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