Belt Visualizer


Highlight a belt line with the press of a button! (G) Cycle between different lanes by highlighting the same belt again. Press again while not selecting a belt to stop highlighting.

Utilities
a month ago
1.1 - 2.0
69.8K
Logistics

b sudden bug

a month ago
(updated a month ago)

while hovering over belt that are being damaged by spiters

The mod Belt Visualizer (2.0.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event belt-visualizer::on_tick (ID 0)
real number expected got table.
stack traceback:
[C]: in function 'draw_line'
belt-visualizer/scripts/rendering.lua:32: in function 'dash'
belt-visualizer/scripts/highlight.lua:221: in function '?'
belt-visualizer/control.lua:338: in function <belt-visualizer/control.lua:306>

Thank you for the great mod !

a month ago

I have no idea how this bug happened, I tried reproducing it and couldn't get anything to error. It has something to do with underground belts, specifically drawing the dash between them, but that's literally never failed before and the error is from a variable being the wrong type, which doesn't help narrow it down because there's a bunch of variables all in that specific line of code. If you have any more details about the belt, like was it actually getting destroyed? or just damaged? Otherwise I think I'm going to leave this error as is for now as some sort of freak accident.

a month ago

thank you, sorry i cannot be any of assistance.
i will reenable it and see if it comes back and try to be more precise then.

New response