Jonh Dickinson wrote:
>
> Hi! Well, I hve a problem... I'm really finishing to prepare my mud, and I
> want to put it on a server on 3 months at most. But I have a BIG BUG!!! When
> a player fights a mob, de syserr go crazy!!!
>
> SYSERR: Mob Using '((((ch)))->player_specials->saved.pref)' at fight.c: *
>
> * "where I put an '*', is the line number right?! :D So, each time the line
> number is diferent.... i dont understand that!!! please!!! heeeelp!!! :D
Try learning how CircleMUD works before blind-coding it.
You are trying to get a player_special_data member from a NPC. Only PCs
have them.
Exactely this message means that you are using PRF_FLAGS() on mobs.
Tips:
if (IS_NPC(x) || PRF_FLAGGED(x, y)) ...
if (!IS_NPC(x) && PRF_FLAGGED(x, y)) ...
--
----=[ Juliano Ravasi Ferraz ]=----=[ jferraz@linkway.com.br ]=----
Rayon Eletrônica e Informática Ltda. - Linkway Descalvado
Keep Canada beautiful. Swallow your beer cans.
+------------------------------------------------------------+
| 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