BeltRouter


This mod allows you to route belts and pipes automatically: 1. Put the starting belt and ending belt on ground first, 2. then select the starting belt with ctrl+right-click and 3. select a ending belt with ctrl+left-click. 4. Boom, belt ghosts are created!

Utilities
3 years ago
1.0 - 1.1
28.3K

b Factorissimo2 bulk transfer pipe(input) crash

4 years ago
(updated 4 years ago)

Hi, when you select a bulk transfer pipe from Factorissimo2 as destination the game crashes

Error while running event BeltRouter::on_nth_tick(1)
BeltRouter/path_unit.lua:191: attempt to index local 'onGroundPrototype' (a nil value)
stack traceback:
BeltRouter/path_unit.lua:191: in function 'possiblePrevPathUnits'
BeltRouter/path_unit.lua:205: in function 'canConnect'
BeltRouter/transport_line_connector.lua:258: in function 'task'
MiscLib/async_task.lua:37: in function 'resolveOneTask'
MiscLib/async_task.lua:30: in function <MiscLib/async_task.lua:29>
1447.007 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The mod Belt Router (0.5.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event BeltRouter::on_nth_tick(1)
BeltRouter/path_unit.lua:191: attempt to index local 'onGroundPrototype' (a nil value)
stack traceback:
BeltRouter/path_unit.lua:191: in function 'possiblePrevPathUnits'
BeltRouter/path_unit.lua:205: in function 'canConnect'
BeltRouter/transport_line_connector.lua:258: in function 'task'
MiscLib/async_task.lua:37: in function 'resolveOneTask'
MiscLib/async_task.lua:30: in function <MiscLib/async_task.lua:29>"

Thanks.

4 years ago
(updated 4 years ago)

Thanks for that report! :D I'll take a look at it.

If this pipe's width and height are not 1x1, that might take a huge effort to add support for it, but I do have that included in my future plan (along with rail routing).

I think I might temporarily display an error message saying it's not supported yet in the next version.

Thanks :D

Edit: Just found that the mod pipes are 1x1, I'll add support in next version

4 years ago

I think 0.6.0 now supports Factorissimo2 pipe :D

Although there is a caveat: Factorissimo2 input/output pipe seems to be direction dependent, not like normal pipes, so path finder may connect those pipes side-way.

4 years ago

Thanks a lot ! i'll do more testing to see if there is any issues left :)

4 years ago

Seems to work fine, by side-ways you mean like that ? https://imgur.com/a/yHEZQKw so yes it can happen in some scenarios, i dont know if you can fix this easly, i'll deal with it, not a huge problem, also putting a pipe in front of it and use this one for connection works, i've used that before your fix, but it's better to not have a crash/rollback if you try to use bulk pipes anyways :P

New response