I FIGURED OUT
at least i think...
anyway the thing that makes the items get duped is being above one stack of that item
example: Ausar Treat
Ausar Treat x9 doesnt trigger it
Ausar Treat x10 doesnt trigger it
Ausar Treat x11 triggers it and goes to x12
Ausar Treat x20 triggers it and goes to x30
edit: sorry
@lowercase_donkey in pinging wasnt necessary but was worried you wouldnt see this
I ran into this same exact bug on the mobile version (0.9.067-PUBLIC-ANDROID#3772) (I'm not sure if this is the JavaScript version, please let me know if it is). I managed to figure out how to replicate it consistently:
I open up my ship's storage, which has x150 Power Potions and x150 Focus Pills inside. Everything else is in a single stack or less.
My inventory at the time also has x11 Focus Pills and x20 Power Potions.
I press "Inspect" on any item, and the items all duplicate, minus a single stack of them:
- x150 Storage Power Potions adds +140 (x150-10) of them.
- x150 Storage Focus Pills adds +140 (x150-10) of them.
- x20 Inventory Power Potions adds +10 (x20-10) of them.
- x11 Inventory Focus Pills adds +1 (x11-10) of them.
If you "Inspect" any of your items in this way multiple times
without clicking "Accept," it will continue to add the above numbers. For example, if you have x11 Focus Pills, then click "Inspect" to add +1 (for a total of x12), clicking "Inspect" again won't add +2 (x12-10), only +1.
However, you can exponentially duplicate your items by clicking "Accept" every time you finish "Inspect"ing an item. In my testing, I had the exact same scenario as above:
- x150 Storage Power Potions
- x150 Storage Focus Pills
- x20 Inventory Power Potions
- x11 Inventory Focus Pills
I then click "Inspect," duplicating the items:
- x150 +140 Storage Power Potions (total x290)
- x150 +140 Storage Focus Pills (total x290)
- x20 +10 Inventory Power Potions (total x30)
- x11 +1 Inventory Focus Pills (total x12)
Then I click "Accept" to close the storage, reopen the storage, then "Inspect" another item, resulting in:
- x290 +280 Storage Power Potions (total x570)
- x290 +280 Storage Focus Pills (total x570)
- x30 +20 Inventory Power Potions (total x50)
- x12 +2 Inventory Focus Pills (total x14)
I managed to get up to x35850 of both Power Potions and Focus Pills in my ship's storage before the game crashed, giving me the attached error message. I've also attached a screenshot of my attempt to crash the game, with the final total of the duplicated items in my inventory before I clicked "Accept" and the game crashed. Every time I duplicated the items, the game got significantly slower when I opened the ship's storage.
A few additional things to note:
- I've confirmed that this does indeed also work with Ausar and Huskar Treats in the same way as the above items.
- It also works with Fishing Rods, which have a stack of 10.
- It also works with Climbing Kits, which have a stack of only 1; I bought 2 of them, and managed to duplicate them in the same manner as above ("Inspect"ing added +1; then after clicking "Accept" and reopening storage, "Inspect"ing again added +2, etc.).
- Theoretically, this would work with anything that you have more than a single stack of.
- This doesn't work in your regular inventory; this only works if you're in your ship's storage.
I hope this helps clear this up! I have no idea why this could be happening, but hopefully someone who knows more about the code inside the game might.