[Rseding91] inventory_size limit 256

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

[Rseding91] inventory_size limit 256

Post by binbinhfr »

Hi,

it seems that player inventory_size is limited to 256. The problem is that if you go further than this value (using several mods, armor, etc.. that can go higher), then the size of your inventory is decreased of 256.
example : if you reach 300, your invenoty becomes 300-256 = 44. It would be better to just limit the number to 256 if the sum of everything goes higher, no ?
My mods on the Factorio Mod Portal :geek:

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5042
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: inventory_size limit 256

Post by Klonan »

Thanks for the report,

This is kinda funny :D
I think maybe inventory size should be... uncapped somewhat, we'll see what happens

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: inventory_size limit 256

Post by binbinhfr »

Ha ha !
I already manage to get memory crash with factorio making to big LUA lists, so I guess that even uncapped, the inventory size will have some technical limits ;-)
My mods on the Factorio Mod Portal :geek:

Rseding91
Factorio Staff
Factorio Staff
Posts: 12284
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: inventory_size limit 256

Post by Rseding91 »

Can you give me steps to reproduce the issue? Inventory size should work correctly up until uint16_t or 65536 before it wraps around to 0.
If you want to get ahold of me I'm almost always on Discord.

Rseding91
Factorio Staff
Factorio Staff
Posts: 12284
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] inventory_size limit 256

Post by Rseding91 »

Nevermind, I found the issue :)
If you want to get ahold of me I'm almost always on Discord.

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [Rseding91] inventory_size limit 256

Post by binbinhfr »

65536 before it wraps around to 0.
So if I set it to 65537, there will still be a bug ??? I make a report right now !!!! ;-)
My mods on the Factorio Mod Portal :geek:

Rseding91
Factorio Staff
Factorio Staff
Posts: 12284
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] inventory_size limit 256

Post by Rseding91 »

binbinhfr wrote:
65536 before it wraps around to 0.
So if I set it to 65537, there will still be a bug ??? I make a report right now !!!! ;-)
No, if you set it to that it will overflow as designed. No bug. Everything has its limits.
If you want to get ahold of me I'm almost always on Discord.

Rseding91
Factorio Staff
Factorio Staff
Posts: 12284
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] inventory_size limit 256

Post by Rseding91 »

Fixed for 0.13.8.
If you want to get ahold of me I'm almost always on Discord.

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [Rseding91] inventory_size limit 256

Post by binbinhfr »

Rseding91 wrote:Fixed for 0.13.8.
Did I miss 0.13.7 ???
Or maybe it will come out in a few hours... :-)
My mods on the Factorio Mod Portal :geek:

Post Reply

Return to “Resolved Problems and Bugs”