-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't even know what to say #374
Comments
What decimal library are you using? I suspect this might be due to using decimal.js (https://github.com/MikeMcl/decimal.js) rather than break-infinity.js (https://github.com/patashu/break_infinity.js). This library is only compatible with https://github.com/patashu/break_infinity.js. From what I see of your game, you can probably switch to break_infinity.js, but I've offered some information below if not. Generally, for most incremental games, I would recommend break-infinity.js over decimal.js due to decimal.js storing a lot of precision, more than is needed for incremental games, making calculations very slow. However, if for some reason your game has a mechanic requiring use of decimal.js, you'll need to convert numbers to break-infinity.js decimals before formatting them. I can try to help on this if that's the issue. Alternatively, if you're using another big number library like ExpantaNum, this notation library unfortunately still won't work with that, and it may be unable to handle numbers that big even with workarounds. |
(It could also be some other issue, but it would help to have an attached copy of script.js rather than just an image because I don't want to type it out to try reproducing, and also copies of or sources for any other files you use. script.js looks to me like it should run and certainly shouldn't lead to this error on its own, for what that's worth.) |
ah flip im using break_eternity.js |
heres the images.
![Image 1](https://private-user-images.githubusercontent.com/140556085/266165574-2fbc8e48-6f3c-442b-9046-a1226792bf48.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1NTg2NjIsIm5iZiI6MTcyNTU1ODM2MiwicGF0aCI6Ii8xNDA1NTYwODUvMjY2MTY1NTc0LTJmYmM4ZTQ4LTZmM2MtNDQyYi05MDQ2LWExMjI2NzkyYmY0OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTA1JTJG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G9faWQ9MCJ9.Y0rOeWdbV3IY2W0vfU4eUZag5U0frHbLk-K5fETxlD8)
![Image 3](https://private-user-images.githubusercontent.com/140556085/266165682-3b66c29d-3182-421a-9d02-6472ea18b0d2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1NTg2NjIsIm5iZiI6MTcyNTU1ODM2MiwicGF0aCI6Ii8xNDA1NTYwODUvMjY2MTY1NjgyLTNiNjZjMjlkLTMxODItNDIxYS05ZDAyLTY0NzJlYTE4YjBkMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTA1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwNVQxNzQ2MDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zYzhkNGJiYzJkM2E5MmYzNWEyNGNhZDlkZmNmM2I5YzkzMmI5NWQyMTQzOTQ4NTg5ZjUxZTc5YmIwZGE3MTc5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.d22fGAIt_nb4euurHz1KbWKx5CrhRwTuuQ9KrqyrFK0)
The text was updated successfully, but these errors were encountered: