Belt Balancer 2


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

Utilities
10 months ago
2.0
16.7K
Logistics

g Invisible balancer causing crash

2 months ago

I'm getting this error everytime I try to destroy one of my space platforms:

The mod Belt Balancer 2 (2.0.9) caused a non-recoverable error.
Please report this error to the mod author.

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

I narrowed it down to a single tile that has nothing on it except a belt and if I try to remove the belt, or remove the space foundation directly behind it, the game crashes immediately. No methods of removal have worked (I tried the editor. It crashes too). My biggest issue is that this invisible balancer somehow got into my blueprint for the platform and is now causing issues with every single one that I had unknowingly made with that blueprint.
Any help would be really appreciated! I feel like I'm going crazy trying to get this figured out

24 days ago

had the same

Error while running event belt-balancer-2::on_nth_tick(8)
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>

24 days ago

it was connected to an underground belt directly. it i remove the underground, i get the crash, even if i remove the belt balancer first and then remove the underground (red belt and red tier balancer)

New response