Belt Balancer 2


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

Utilities
28 days ago
2.0
6.59K
Logistics

b Crash when placing space platform foundation

15 days ago

Usually I'd just build around the occasional crashy belt balancer hoping for a fix one day, but for some reason i now get a belt balancer crash when i'm placing space platform foundations on a platform that never had a balancer. Help?

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(2)
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>

6 days ago

I just got a very similar crash report:

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 '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>

Happened twice now, occurred both times when I mined a transport belt and immediately placed a belt balancer where that belt used to be

6 days ago
(updated 6 days ago)

I just got a different error, this time when I reloaded the most recent save and mined a belt balancer being fed stone on one belt with a second belt balancer next to it, that was outputting said stone:

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_player_mined_entity (ID 68)
belt-balancer-2/objects/part.lua:215: attempt to index local 'belt' (a nil value)
stack traceback:
belt-balancer-2/objects/part.lua:215: in function 'remove'
belt-balancer-2/control.lua:145: in function <belt-balancer-2/control.lua:134>

3 days ago

I got this same error when using this on a space platform. It happens when I try to delete a balancer.

The mod Creative Mod (2.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event creative-mod::on_tick (ID 0)
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::script_raised_destroy (ID 87)
belt-balancer-2/objects/part.lua:197: attempt to index local 'part' (a nil value)
stack traceback:
belt-balancer-2/objects/part.lua:197: in function 'remove'
belt-balancer-2/control.lua:145: in function <belt-balancer-2/control.lua:134>
stack traceback:
[C]: in function 'destroy'
creative-mod/scripts/util.lua:286: in function 'destroy_entity_and_raise_event'
creative-mod/scripts/cheats.lua:2735: in function 'tick'
creative-mod/scripts/events.lua:299: in function <creative-mod/scripts/events.lua:261>

New response