BeltRouter Lite

by plexpt

BeltRouter lite version. 90MB->400KB. This mod allows you to route belts and pipes automatically: 1. Put the starting belt and ending belt on ground first, 2. then select the starting belt with control+right-click and 3. select a ending belt with control+left-click. Boom, belt ghosts are created! (hint: you can also disable underground belt by shift+ctrl+left-click at the ending belt)

Utilities
17 days ago
1.1 - 2.0
3.83K

b crash

22 days ago

Error while running event BeltRouter-lite::on_player_mined_entity (ID 68)
LuaRendering doesn't contain key is_valid.
stack traceback:
[C]: in function 'index'
__BeltRouter-lite
/selection_queue.lua:142: in function 'updateLabelNumbers'
__BeltRouter-lite
/selection_queue.lua:93: in function 'removeIndex'
BeltRouter-lite/selection_queue.lua:111: in function 'tryRemoveSelectionAtPos'
BeltRouter-lite/control.lua:186: in function <BeltRouter-lite/control.lua:181>

22 days ago

I crashed while trying to remove the strap from the selected starting point

22 days ago

still need update

20 days ago

still need update

Error while running event BeltRouter-lite::on_nth_tick(1)
BeltRouter-lite/vector2d.lua:86: attempt to index local 'self' (a nil value)
stack traceback:
BeltRouter-lite/vector2d.lua:86: in function 'add'
__BeltRouter-lite
/transport_line_connector.lua:51: in function 'neighboringEntities'
BeltRouter-lite/transport_line_connector.lua:239: in function 'testCanPlace'
BeltRouter-lite/transport_line_connector.lua:199: in function 'surroundingCandidates'
BeltRouter-lite/transport_line_connector.lua:163: in function 'task'
BeltRouter-lite/async_task.lua:43: in function 'resolveOneTask'
BeltRouter-lite/async_task.lua:36: in function <BeltRouter-lite/async_task.lua:35>

17 days ago

After a long time spent identifying and fixing the issue,

the problem has finally been resolved.

I'm exhausted!

Please feel free to use it again soon.

17 days ago

thanks

17 days ago

You are awesome. Will re-enable it and try it. Thank you.

New response