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.7K
Logistics

b ✅ Game Crash

1 year, 6 months ago

I upgraded to the latest version 1.2.2 and enabled hover mode. While using BeltRouter to automatically construct belts, the game crashed with the following error message:

Error while running event belt-visualizer::on_tick (ID 0)
Neighbours can't be used on this entity.
stack traceback:
[C]: in function 'index'
__belt-visualizer
/control.lua:234: in function <belt-visualizer/control.lua:232>
(...tail calls...)
belt-visualizer/control.lua:296: in function 'cache_belt_line'
belt-visualizer/control.lua:318: in function <belt-visualizer/control.lua:307>

I hope this issue can be fixed. Thank you in advance.

1 year, 6 months ago

Should be fixed in 1.2.3, thanks for the report

1 year, 2 months ago

Hi!

Game crushes when used inside editor extensions mod while placing any (?) infinite belt thingy (looks like an underground belt). It was ok before the update.
Here is the error:
"""
The mod Belt Visualizer (1.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event belt-visualizer::on_tick (ID 0)
Entity is not loader.
stack traceback:
[C]: in function 'index'
__belt-visualizer
/scripts/highlight.lua:320: in function '?'
belt-visualizer/control.lua:323: in function <belt-visualizer/control.lua:291>
"""

1 year, 2 months ago

I'm investigating this right now, and I cannot fathom how this error has occurred because that function only gets called on loaders.
Do you have a save file of before the error?

1 year, 2 months ago
(updated 1 year, 2 months ago)

I found out what it was, it was loader ghosts.
I have temporarily fixed the crash, however the mod will not highlight through containers from a ghost loader, for example if you have an inline buffer.
I'll see what I can do about it later.

(Small thing, next time feel free to make a separate post so different bugs are kept separate :P )

1 year, 2 months ago
(updated 1 year, 2 months ago)

I think I was sitting in "editor extensions" mod and Ctrl + X such loader (that looks like underground belt and feeds infinite resources to the belt) with your visualizer turned on. Afair it crushes exactly when you try to replace whatever you were Ctrl + X.

Thanks!

New response