Mining patch planner

by rimbas

Adds a planner that designs a mining drill layout for a resource patch.

Utilities
17 days ago
1.1
62.2K
Mining Blueprints

b crash with lane filling display enabled

9 months ago
(updated 9 months ago)

this happened immediately upon starting the plan, let me know if you need more info

https://i.imgur.com/S498yKY.png

8823.540 Error MainLoop.cpp:1288: Exception at tick 24599178: The mod Mining patch planner (1.5.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event mining-patch-planner::on_tick (ID 0)
__mining-patch-planner__/layouts/simple.lua:1074: attempt to index field 'speed' (a nil value)
stack traceback:
        __mining-patch-planner__/layouts/simple.lua:1074: in function '_display_lane_filling'
        __mining-patch-planner__/layouts/simple.lua:1099: in function <__mining-patch-planner__/layouts/simple.lua:1094>
        (...tail calls...)
        __mining-patch-planner__/control.lua:31: in function <__mining-patch-planner__/control.lua:23>
8823.540 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod Mining patch planner (1.5.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event mining-patch-planner::on_tick (ID 0)
__mining-patch-planner__/layouts/simple.lua:1074: attempt to index field 'speed' (a nil value)
stack traceback:
        __mining-patch-planner__/layouts/simple.lua:1074: in function '_display_lane_filling'
        __mining-patch-planner__/layouts/simple.lua:1099: in function <__mining-patch-planner__/layouts/simple.lua:1094>
        (...tail calls...)
        __mining-patch-planner__/control.lua:31: in function <__mining-patch-planner__/control.lua:23>"
9 months ago

Could you provide a mod list or a save file?

9 months ago

Actually, I can fix without the modlist.

9 months ago

Released an update that fixes it. Thanks for the report.

9 months ago

nice reaction time, can confirm it doesn't crash now :D

New response