Item Network

by y_e_a_r

This mod adds a new logistics mechanic: The Item Network. It replaces trains and logistics bots by teleporting items and fluids directly between Network Chests and Tanks.

Tweaks
1 year, 2 months ago
1.1
2.20K
Logistics Fluids Logistic network Storage Cheats

b Unrecoverable error upon loading game v0.8.0 -> 0.8.1

1 year, 2 months ago

The mod Item Network (0.8.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event item-network::on_nth_tick(1)
item-network/src/GlobalState.lua:124: attempt to index field 'timers' (a nil value)
stack traceback:
item-network/src/GlobalState.lua:124: in function 'start_timer'
item-network/src/NetworkChest.lua:778: in function <item-network/src/NetworkChest.lua:777>

1 year, 2 months ago

Apparently its not a bug with the update itself but with my save since going back to 0.8.0 also throws the same error

1 year, 2 months ago

Sorry about that. Should be fixed with 0.8.2.

1 year, 2 months ago
(updated 1 year, 2 months ago)

Ok now I have no idea why rolling back the version also thrown the error... Updated to 0.8.2 and it loaded fine.

Apparently the timer isn't working at all... none of the IN chests or tanks are providing/requesting...

1 year, 2 months ago

Version 0.8.3 fixes another bug I found with Network Tanks not updating. Hopefully that's the last of them.

1 year, 2 months ago

So far everything is working fine.

1 year, 2 months ago
(updated 1 year, 2 months ago)

Found another one:
The mod Item Network (0.8.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event item-network::on_nth_tick(1)
item-network/src/Timer.lua:12: assertion failed!
stack traceback:
[C]: in function 'assert'
item-network/src/Timer.lua:12: in function 'start'
item-network/src/GlobalState.lua:129: in function 'start_timer'
item-network/src/NetworkChest.lua:732: in function <item-network/src/NetworkChest.lua:727>
(...tail calls...)
item-network/src/GlobalState.lua:611: in function 'update_queue'
item-network/src/NetworkChest.lua:724: in function 'update_queue'
item-network/src/NetworkChest.lua:782: in function <item-network/src/NetworkChest.lua:778>

Happens when deconstructing blue Requester chest with Deconstruction planner

1 year, 2 months ago

I'm having the same problem as the above. I'm using Space Exploration, Blueprint Sandbox and Factorissimo2 (i.e. several surfaces)

At some point in time I disabled the Item Network for Logistics Chest because items were being transported from my factory to the sandbox which means I was losing some production to a temporary factory setup, but after I cleaned my sandbox, whenever I enable it again my game crash with the same error.

Mod version is in 0.8.3

1 year, 2 months ago

I just released a fix in 0.8.4. Please let me know if that doesn't work.

1 year, 2 months ago

Tested here and the error didn't occur, will keep testing and I'll provide further feedback if I find something.

1 year, 2 months ago

Thanks for your patience with these bugs. 0.8.1 was a rocky release and I'll make sure to do more testing before releasing new features to prevent situations like this in the future.

New response