Page 1 of 1

Game crash with more than 65535 items

Posted: Sat Jul 28, 2018 6:10 pm
by identity0
If I set the rocket-launch-product of an item to a stack of more than 65535 items, the game will crash with this error:

Value outside of range at property tree at ROOT.item.my-item.rocket-launch-product[1]

This works fine:

Code: Select all

item.rocket_launch_product = {"my-rocket-result", 65535}
but this doesn't:

Code: Select all

item.rocket_launch_product = {"my-rocket-result", 65536}
Can someone help?

Re: Game crash with more than 65535 items

Posted: Sat Jul 28, 2018 6:19 pm
by orzelek
It's not a crash per se - it's just an internal limit that you can't exceed.

Re: Game crash with more than 65535 items

Posted: Mon Jul 30, 2018 6:30 am
by darkfrei
identity0 wrote:If I set the rocket-launch-product of an item to a stack of more than 65535 items, the game will crash with this error:
Value outside of range at property tree at ROOT.item.my-item.rocket-launch-product[1]
This works fine:

Code: Select all

item.rocket_launch_product = {"my-rocket-result", 65535}
Can someone help?
Just make new item "my-rocket-result-container", that needs 1000 of your "my-rocket-result". Now you can set up up to 65 535 000 your items, but in containers.