Re: [bpl14] [win98] linkload

From: Phillip A. Ames (kirk47@juno.com)
Date: 11/15/98


On Sun, 15 Nov 1998 00:12:39 -0700 Scorn <scorn@rmi.net> writes:
>i was wondering if it was normal when linkloading a player to get a
>bunch of SYSERR ch->in_room = NOWHERE when equipping char's
>i have found the code that it comes from
>
>if (ch->in_room != NOWHERE) {
>    if (pos == WEAR_LIGHT && GET_OBJ_TYPE(obj) == ITEM_LIGHT)
>      if (GET_OBJ_VAL(obj, 2)) /* if light is ON */
> world[ch->in_room].light++;
>  } else
>log("SYSERR: ch->in_room = NOWHERE when equipping char %s.",
>GET_NAME(ch));
>
>should i just take that out or does it hold another significant
>purpose.
>Thanks
>Scorn

I'll bet you have autoeq patched in.  What you're going to need to do, is
in the linkload snippet, place the char_to_room(vict, ch->in_room); (I
think that's what it looks like) before pretty much everything else.  As
soon as it realizes that the player exists, and the character linkloading
them can, then have them be placed in that room.  If that's not the
problem, I don't have a clue.

-Phillip


Phillip Ames    | Satisfaction is not guaranteed.
kirk47@juno.com | -Ferengi Rule of Acquisition #19
ICQ: 8778335    | AOL IM: Grathol
http://members.xoom.com/Gowron/index.html(Unfinished)

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST