Re: Errors

From: Peter Ajamian (pajamian@cheapsam.com)
Date: 09/07/99


Peter Babcock wrote:

> Hi all
>
> i have bpl15 and when ever a zone resets or
> when the mud starts up i get this for almost every area
>
> Sep  7 12:56:31 :: SYSERR: EQUIP: Obj is in_room when equip.

This is from a buf in DG Scripts, you can fix it as follows...

look in reset_zone in db.c for the following lines...

          IN_ROOM(obj) = IN_ROOM(mob);
          load_otrigger(obj);
         if (wear_otrigger(obj, mob, ZCMD.arg3))
            equip_char(mob, obj, ZCMD.arg3);

and change it to the following...

          IN_ROOM(obj) = IN_ROOM(mob);
          load_otrigger(obj);
          if (wear_otrigger(obj, mob, ZCMD.arg3)) {
            IN_ROOM(obj) = NOWHERE;
            equip_char(mob, obj, ZCMD.arg3);
          }

sorry, I never encountered the other errors, my suggestion is to grep the source
for the text of the error messages and look in those areas to see if you can
figure out what causes the error.

Regards,

Peter


     +------------------------------------------------------------+
     | 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 : 12/15/00 PST