Bug - Priceing - MAJOR!

Issues, news, and discussion specific to the PWMangband variant.
Post Reply
Hades
Giant Mottled Ant Lion
Posts: 218
Joined: Tue 14.12.2004, 22:39

Bug - Priceing - MAJOR!

Post by Hades » Sun 06.01.2008, 05:02

Found a bug today in the Expensive Black Market. It is pretty funny though. brought a RoS +13 for 1g, thats right 1g... This bug seriously needs to get fixed quick lol.

** EDIT **

Pricing needs to be fixed, a lot of items are under priced. Just saw a Raal's in BM going for 74k. Thats a steal! I'm sure theres a lot more burps if we look for them also.

PowerWyrm
Balrog
Posts: 1574
Joined: Sun 27.11.2005, 15:57

Post by PowerWyrm » Tue 08.01.2008, 20:00

Pricing bug fixed.
This can potentially occur in vanilla Mang too... in the pricing routine, the object value is first multiplied by a greed value that is somewhere between 100 and 300 and then divided by 100, and if the object value is high enough (which can occur on high speed rings), the result of the multiplication could overflow the maximum value of an integer, resulting in negative values (which is then reset to 1).
BTW, the price on Raals Tome is correct... since the updating of mage spells to angband 3.0.x, the order of high mage books has changed: R&S, Raals, Mords, Tensers, Keleks. So Raals price is equivalent to Godly Insights...

Post Reply