Loading...

Top
PFQ Banner

This is PokéFarm Q, a free online Pokémon collectables game.

Already a user? New to PFQ?

Shelter Budget Voucher points inconsistency

Forum Index > Core > Bugs > Solved >

AHHH RUN's AvatarAHHH RUN
AHHH RUN's Avatar
We can live without this one getting fixed, but it definitely seems unintentional. Bug Effect: The 4th time I redeemed a shelter budget voucher in one day, I received 1 less point (35) than I should have (36). Then the 5th time I redeemed one, the voucher pop-up estimated I would receive 1 less point (35) but instead gave me 1 more (37). My Shelter Pass ★ with a budget of 240 points, with my Shelter Budget Boost for +50%, gives 360 points as the 'base' budget -> a budget voucher at 10% of that should be 36. Instead what happened was... Screenshot 1: At 4 vouchers redeemed, I had 503 points total instead of 240*1.5*1.4 = 504 points Screenshot 2: Yes, that -1 point actually prevents me from adopting an egg Screenshot 3: 5th voucher says it will redeem for 35 points in the pop-up Screenshot 4: 5th voucher actually gives me 37 points, so I correctly have 240*1.5*1.5 = 540 points total What you were doing when the bug occurred: Redeeming Shelter Budget Vouchers on the Shelter page, after hatching an unethical amount of turtles. Where the bug occurred: :') Browser: Google Chrome on desktop. Can't imagine that being important for this bug.
I have harvested 5083 -type souls :)
Niet [Adam]'s AvatarNiet [Adam]
Niet [Adam]'s Avatar
Ah, floating point numbers... According to the computer, 240*1.5*1.4 is "actually" 503.99999999999994, which of course rounds down to 503. I've fixed this by having it add 0.001 Adoption Point before rounding down. Should take care of everything reported here.
Clip from Pokémon anime, re-lined by me
-- OMNOMNOM!
Featured story: Injustice Feedback welcome!

Cannot post: Please log in to post

© PokéFarm 2009-2024 (Full details)Contact | Rules | Privacy | Reviews 4.6★Get shortlink for this page