First One's Free


This mod will give you an extra inventory slot for each different item type in your main inventory.

Utilities
1 year, 9 months ago
0.14 - 1.1
1.32K

b Issue when moving items from corpse

1 year, 9 months ago

I am loving this mod, it's so nice to always have enough inventory :)
However... I died a couple times in a row and now when I try to retrieve my stuff from my corpse, I get the following error (sometimes the index value is different, like -44):

The mod First One's Free (0.0.17) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event First_One_Is_Free::on_tick (ID 0)
Given index value (-5) is too small, the data type allows values from 1 to 65536
stack traceback:
[C]: in function 'index'
__First_One_Is_Free
/control.lua:93: in function 'changeInventorySlots'
First_One_Is_Free/control.lua:55: in function <First_One_Is_Free/control.lua:45>

1 year, 9 months ago

That was definitely a weird bug, when trying to replicate it, it would sometimes trigger after waiting a bit and sometime only when I interacted with my inventory.

I think it was after 2 deaths the bonus inventory size was just acting very strange. This should be fixed in 0.0.18, though you may need to die again to fully reset the weird inventory behavior after dying once (I noticed the bonus size was not adjusting after the first death).

1 year, 8 months ago

Thank you, the update works great!

New response