PDA

View Full Version : XenoBot Bug - Open [Other] Self.ShopGetItemSaleCount



shadowart
10-25-2015, 02:11 PM
Bug ReportOperating System:
Other Short Description:
Self.ShopGetItemSaleCount Behaviors: Feature error

Indepth Description:
The function Self.ShopGetItemSaleCount returns the sale count with your equipment included. Since items from your equipment can't be sold this means that you'll get stuck in an infinite loop if you call Self.ShopSellAllItems with an item that you also have in your equipment.

For each iteration of the infinite loop you'll receive a message warning you that you don't have enough of the item you're trying to sell. I don't know if this check is server sided but if it is then this is awful from a detection point of view.

DarkstaR
10-26-2015, 08:17 PM
This information come directly from the server, not from the client, so it's not something preventable. We can just check for the item manually and decrement the count, though.