Values dropping to zero


#1

Use this template to make awesome bug reports:

Your username: Mr Blah Blah ƌ

What kind of device are you using?: iPad 4 ( yes, iPad 4 not iPad mini 4)

1 sentence description of the problem (I was doing buying buildings, and then the top three most expensive ones turned their price to zero happened):

Steps to make the problem happen:
1. Turn on the cheat mode
2. Press the price (for both the time machine and antimatter Condenser)
3. Press the name (for cursor it's cursor and so on) ONLY FOR BUYING PORTALS
….

I expected this to happen:
The price rising
But instead this happened:
It dropped down to 0
Here’s a sweet screenshot:

P.S, I don't think the code is wrong because I copied and pasted it.


#2


Here's the link


#4

What's the value that you're trying to display?

As with any digital environment, there's a limit to how big the values can be. That max value and the amount of precision has changed with the various versions of Hopscotch. I see that you're using an old version (pre-Object variables). When the max value is reached, that version of Hopscotch changes it to zero. Since you're on an old version, THT is unlikely to be able to make a change.

I played with it for a minute or two and noticed that there was a difference between the max value that could be directly entered and the max value that could be displayed.

Meaning this will work


But typing 9 and 65 zeros does not.

Hopefully that helps, but either way you'll bump up against a max value that displays 0 at some point since you're using values that are so large.


#5

Oh, yeah. Thanks!


#6

What do you mean I copied and pasted it