Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Resolved Storebot rounding the buyable amount

Shadow Mario | blw.tf

Australium
Staff Member
Admin
Joined
Aug 14, 2017
Messages
974
11481

11482

(Those pictures are just for proving my point)
Usually, when i want to buy a few scraps/recs/refs in storebot, i have to put a scrap less than the amount storebot says i can buy, why? Well, because the value is being rounded to the closest one!
Bene/Noodl probably used RoundToNearest instead of RoundToFloor in the code.

Not really a big problem, but it's a bit annoying to get randomly DMed every 1 hour by someone saying "MaRiO WhY doEsn't StOreBOt aCcEpt mY TraDEs"
 

Benedevil

Blackwonder's Own
Staff Member
Owner
Developer
Joined
Sep 28, 2015
Messages
3,326
View attachment 11481
View attachment 11482
(Those pictures are just for proving my point)
Usually, when i want to buy a few scraps/recs/refs in storebot, i have to put a scrap less than the amount storebot says i can buy, why? Well, because the value is being rounded to the closest one!
Bene/Noodl probably used RoundToNearest instead of RoundToFloor in the code.

Not really a big problem, but it's a bit annoying to get randomly DMed every 1 hour by someone saying "MaRiO WhY doEsn't StOreBOt aCcEpt mY TraDEs"
That's exactly what I did. I now changed it and will soon add it to the servers.
Thanks
 

Who Read This Thread (Total Members: 1)

User Who Replied This Thread (Total Members: 2)

Top Bottom