Re: strange bug with locate object

From: Who me? (vignes@plato.rtl.selu.edu)
Date: 10/30/95


Well the code behind the bug is the fact that the spell parser
does not pass any arguments to the spell from the command line,
except character, victim, object, level and savetype.
Therefore an object is found with the correct word in the objects alias
but then the first alias only is used from the object.
example
  cast 'locate object' staff
as long as staff is the first alias in the current objects's alias list
it will find staff's but if the object has an alias dragon staff
it will switch to search and find alias that contain dragon.

It is a problem hard to correct it seems from my first glance.
If anyone has fixed this or knows how to do it I would welcome your
help/advice or whatever you can offer.

Darksword the IMP
Cities of Glory
bucket.ualr.edu 4000


On Mon, 30 Oct 1995 ribak@acs.bu.edu wrote:

> 
> I have noticed a bug with locate object on two muds that
> I play/play god on.  One is a 3.0, the other is a 2.2 that is
> so heavily modified and integrated with 3.0 code, I dont know
> if the bug is native to 3.0 or if it existed in 2.2 also.
> 
> The bug is this...if you cast locate object dwarven lets say,
> it will list dwarven plate mail, then it will start listing
> various objects with plate as the keyword, and then it will
> take a keyword from one of the plate objeccts, and continue down
> the list.
> 
> It happens with certain objects it seems. Locate object kodarta
> or memory, or whatever, will list nearly every staff inthe game.
> 
> I am not a coder so I dont know the code behind it, I just thought
> that maybe one of the coders would want to figure it out and pass
> it on to jeremy.
> 
> Thanks
> 
> 
>    _____________________________________________________________________
>   |=====================================================================|
>   `~|___|~~~~~~~~~~~~~~~~~~~~~~~~~|___|~~~~~~~~~~~~~~~~~~~~~~~~~~~|___|~'
>      |||			   |||				   |||
>      |||     J. David Ribak	   |||	  Aleksandr, World Imp     |||
>      |||    ribak@acs.bu.edu	   |||	     Phoenix MUD           |||
>      ||   IT Student Consultant	   |||	  sirius.nmt.edu 4000      |||
>    |~~~~~|_______________________|~~~~~|_________________________|~~~~~|
>   |=====================================================================|
>   |_____________________________________________________________________|
> 



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