[FIXED] Free Candy

Eeek! Bugs!
Post Reply
Terrific Noise
Regular Poster
Posts: 65
Joined: Tue Jun 02, 2009 10:01 am

[FIXED] Free Candy

Post by Terrific Noise »

Image

And I didn't even put 0 as price.

Safari 5.0.1
User avatar
Mad Merlin
Site Admin
Posts: 752
Joined: Sun Aug 14, 2005 10:41 pm
Contact:

Post by Mad Merlin »

Did you enter a non-number as a price?
Terrific Noise
Regular Poster
Posts: 65
Joined: Tue Jun 02, 2009 10:01 am

Post by Terrific Noise »

No, I entered 900000 or thereabouts.
User avatar
Mad Merlin
Site Admin
Posts: 752
Joined: Sun Aug 14, 2005 10:41 pm
Contact:

Post by Mad Merlin »

Ah, you entered "900,000" rather than "900000". Normally that wouldn't be an issue (it would just do nothing*), but due to the way I implemented this feature, non-numbers (like "900,000") got silently converted into 0 (a number) and then the system happily stocked your item for zero gold. Anyways, I've fixed this so that the only way to stock something for zero gold is to actually enter 0.

* Theoretically, it could just strip out the comma and use the number like one would expect, but it doesn't at the moment.
Post Reply