[1.1.61] modded "item-with-inventory" with "dynamic" inventory size: GUI crashes

This subforum contains all the issues which we already resolved.
Post Reply
Honktown
Smart Inserter
Smart Inserter
Posts: 1025
Joined: Thu Oct 03, 2019 7:10 am
Contact:

[1.1.61] modded "item-with-inventory" with "dynamic" inventory size: GUI crashes

Post by Honktown »

dynamic-item-with-inventory_0.0.1.zip
(852 Bytes) Downloaded 72 times
One line:

Code: Select all

data.raw["item-with-inventory"]["item-with-inventory"].inventory_size = "dynamic"
Expectation: Not crash. Probably not valid in the prototype phase (inventory_size = "dynamic" is used by the blueprint book, but it is inherited from item-with-inventory)

Crashes:
1) /c game.player.insert("item-with-inventory") . 2x if new game.
2) open the item-with-inventory, there will be nothing but a label button
3) fast transfer initial items (furnace, burner, plates?). Close/escape and re-open, items are showing.

4a) fast transfer middle item. ctrl-click to fast transfer inventory. Crash:
error_from_ctrl-clicking-middle-slot.txt
(5.34 KiB) Downloaded 77 times

4b) fast transfer last stack. Crash:
error_from_shift-clicking.txt
(3.8 KiB) Downloaded 77 times
I have mods! I guess!
Link

Honktown
Smart Inserter
Smart Inserter
Posts: 1025
Joined: Thu Oct 03, 2019 7:10 am
Contact:

Re: [1.1.61] modded "item-with-inventory" with "dynamic" inventory size: GUI crashes

Post by Honktown »

This is the initial inventory that can trigger both errors:
initial_inventory.png
initial_inventory.png (60.22 KiB) Viewed 1913 times
I have mods! I guess!
Link

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

Re: [1.1.61] modded "item-with-inventory" with "dynamic" inventory size: GUI crashes

Post by Rseding91 »

Thanks for the report. From looking into it the dynamic logic was only ever meant to apply to blueprint books so the rest of the handling logic isn't ready for it. For now I'm going to disable setting "dynamic" on not-blueprint-books.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”