Belt Balancer 2


Adds Balancer Parts, that can be put together, to balance all adjusting lanes. Updated for better performance and 2.0

Utilities
24 days ago
2.0
6.37K
Logistics

b New crashes

16 days ago
(updated 16 days ago)
Мод Belt Balancer 2 (2.0.9) вызвал неустранимую ошибку.
Пожалуйста, сообщите об этой ошибке автору мода.

Error while running event belt-balancer-2::on_player_mined_entity (ID 68)
__belt-balancer-2__/objects/part.lua:265: attempt to index local 'belt' (a nil value)
stack traceback:
    __belt-balancer-2__/objects/part.lua:265: in function 'remove'
    __belt-balancer-2__/control.lua:145: in function <__belt-balancer-2__/control.lua:134>

And another

Мод Belt Balancer 2 (2.0.9) вызвал неустранимую ошибку.
Пожалуйста, сообщите об этой ошибке автору мода.

Error while running event belt-balancer-2::on_nth_tick(4)
LuaTransportLine API call when LuaTransportLine was invalid.
stack traceback:
    [C]: in function '__len'
    __belt-balancer-2__/objects/balancer.lua:203: in function 'run'
    __belt-balancer-2__/helper/message-handler.lua:33: in function <__belt-balancer-2__/helper/message-handler.lua:31>
16 days ago

Same thing here, never happened before.

15 days ago

I have the same thing. Manually rolled the mod back to 2.0.8 and the issue remains. Seems to be the object itself rather than the specific action. It will break when changing what is attached to it, when you try to remove it manually or with a bot, when you destroy it, when you try to upgrade items attached to it....

15 days ago

Yep, but only a single entity of belt balancer has this problem, everything else is doing fine... i bet this will not be so easy to debug.

14 days ago

Also got an error like this. Can't remove the balancer itself or the connected belt/tunnel manually or with bots.

Error while running event belt-balancer-2::on_robot_mined_entity (ID 67)
belt-balancer-2/objects/balancer.lua:140: attempt to index local 'stack_belt' (a nil value)
stack traceback:
belt-balancer-2/objects/balancer.lua:140: in function 'recalculate_nth_tick'
belt-balancer-2/objects/belt.lua:359: in function 'remove_belt'
belt-balancer-2/control.lua:153: in function <belt-balancer-2/control.lua:134>

New response