stock bug?

From: Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
Date: 01/29/98


     Whoa, first time I have seen this.  But I think I know the problem.
     Look at look_at_target in act.informative.c.  When it goes searching
     for extra desc's in a room it is comparing '2.sword' to 'sword' and
     thus not displaying the target.  1.sword should fail too.  The best
     way to fix this would be to strip out the leading '<number>.' from
     arg.  check out get_obj_in_list_vis() in handler.c for how this is
     done.  also how get_number and isname works.  And the temporary
     variable temp works
     --Angus



______________________________ Forward Header __________________________________
Subject:  stock bug?
Author:  INTERNET:CIRCLE@post.queensu.ca at CSERVE
Date:    1/28/98 5:12 PM

Ok, lets say I have two swords on the ground, both with extra
descriptions.  I type "look sword" and it gives me the swords
extra description.  BUT  when i type "look 2.sword" it says
> You see nothing special..

It does this for any object except notes and mail.

I've been going through the code for a week and cant figure out
how to fix this.  I've also gone through the whole mailing list
archive and didnt see any discussion on thiis yet.  Has anyone
fixed this?


     +------------------------------------------------------------+
     | 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