[CF-Devel] wrong prices for items

Mark Wedel mwedel at scruz.net
Mon Apr 23 01:34:53 CDT 2001


Philipp Currlin wrote:
>
     
     
     >
     
      Hi
     
     >
     
     
     >
     
      I just sold gauntlets of Sorig (by mistake). I then picked them up from
     
     >
     
      the floor and it said:
     
     >
     
      gauntlets of Sorig (unpaid) will cost you 227500 platinum coins.
     
     >
     
      Since they were put into my bag I dropped them into my inventory and
     
     >
     
      suddenly I got:
     
     >
     
      gauntlets of Sorig (unpaid) will cost you 1092000 platinum coins.
     
     >
     
     
     >
     
      I tried it a second time, and got the same messages again
     
     
 I've fixed this up in CVS.  Note I believe that while it would display the
wrong cost, it would still use the right price when paying if they're in a
container.

 The bug was basically it was passing the container object for it to figure the
price from, and not the player object.  so its computations were not correct.

    
    


More information about the crossfire mailing list