Memory Storage 📦


An alternative to warehouses. The Memory Unit can store an infinite amount of a single item type. The more items you store, the more power it will require!

Content
13 days ago
1.0 - 2.0
35.7K
Storage

b SE incompatibility

1 year, 10 months ago

When attempting to view the SE interstellar map from the star map, the following crash consistently occurs:

Error while running event deep-storage-unit::on_gui_opened (ID 87)
deep-storage-unit/gui.lua:93: attempt to index field 'entity' (a nil value)
stack traceback:
deep-storage-unit/gui.lua:93: in function <deep-storage-unit/gui.lua:92>

I am running the latest version of both this mod (1.3.3) and SE.

To reproduce, unlock the SE star map, which gives you a visual representation of the solar system, then click on the 'interstellar map' icon at the system's outer edge.

1 year, 10 months ago

Until notnotmelon get to it, You can manually edit the mods so it doesn't crash for you.
Dullahan posted the fix on the discord channel.

In gui.lua for both mods.

for fluid-memory-storage
Find the line in quotes and replace it with the second line until the update.
"if event.gui_type ~= defines.gui_type.entity or entity.name ~= 'fluid-memory-unit' then return end"
"if event.gui_type ~= defines.gui_type.entity or event.entity == nil or event.entity.name ~= 'fluid-memory-unit' then return end"

for deep-storage
"if event.gui_type ~= defines.gui_type.entity or event.entity.name ~= 'memory-unit' then return end"
"if event.gui_type ~= defines.gui_type.entity or event.entity == nil or event.entity.name ~= 'memory-unit' then return end"

1 year, 9 months ago

Fixed for the next release. Thank you.