I made the change, however, whenever someone holds the container, when you look in the container, it looks in the one that you are holding, unlike the old way where you look in the container in your inventory (instead of the one you're holding). For example, if you have 3 bags, and you hold one, you cannot look in 3.bag. it doesnt recognize it. Any ideas? thanks in advance On Sat, 13 Apr 1996, Sammy wrote: > On Sat, 13 Apr 1996, Rhys - Legends wrote: > > > in patch 9/10, if you are wearing or holding something, you can not look > > into a container. > > has anyone else encountered this problem? > > I dug this out of my saved mail. > > Sam > > > >From anderson@nol.netSat Apr 13 20:41:58 1996 > Date: Wed, 20 Mar 1996 05:22:51 -0600 > From: Webmaster <anderson@nol.net> > To: circle@pvv.unit.no > Subject: Bugfix for generic_find() > > This fix ONLY applies to CircleMUD 3.0bpl10 or equivalents > > my users pointed out to me they could no longer look in containers, I > narrowed it down to only happening when they were equipped. > > generic_find was returning the pointer to the first equipped object > regardless of it's name or container status. > > the fix lies in handler.c, in the generic_find() function at the bottom of > the file in the FIND_OBJ_EQUIP part of the check. > > the line that reads > > if ( GET_EQ(ch, i) && isname(name, GET_EQ(ch, i)->name) == 0 ) > > should have the 0 exchanged for a 1 to read > > if ( GET_EQ(ch, i) && isname(name, GET_EQ(ch, i)->name) == 1 ) > > not life-threatening, but annoying. > > James Anderson > > *IMP of CokeMUD @ pinternet.com 4000 >
This archive was generated by hypermail 2b30 : 12/18/00 PST