Re: saved.prefs error

From: Julian Buckley (s348266@student.uq.edu.au)
Date: 01/10/00


Hello,

> I've been having this problem. When i do something with npc's (mobs) there
> will be some error about (((saved.item.prefs--> or so in the log etc like
> after i buy something from a shopkeeper

Is it a player_specials error, possibly?  Having the exact error message helps
heaps, though.

If it is, try adding a "!IS_NPC(ch) &&" to the start of the like...

i.e. if a line read:
if (PRF_FLAGGED(ch, PRF_APPLES))
then we'd change it to:
if (!IS_NPC(ch) && PRF_FLAGGED(ch, PRF_APPLES))

to satisfy the player_specials check.

-Caniffe


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