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

1 year, 3 months ago

Got a crash trying to plan a naquitite patch using compact logistics

The mod Mining patch planner (1.3.4) 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/compact_logistics.lua:72: 'for' limit must be a number
stack traceback:
mining-patch-planner/layouts/compact_logistics.lua:72: in function 'place_belts'
mining-patch-planner/layouts/compact_logistics.lua:117: in function '?'
mining-patch-planner/layouts/base.lua:69: in function 'tick'
mining-patch-planner/control.lua:28: in function <mining-patch-planner/control.lua:18>

1 year, 3 months ago

Could you provide a save file and note where the crashing patch is?
I won't be able to reproduce it just from the description because I think you might have hit an edge-case crash due to the shape of the resource patch.

1 year, 3 months ago

Ah sorry, I can't reproduce the crash

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

Got another crash for you. This one happened on a Vita planet. I'll reach out to you on discord.

The mod Mining patch planner (1.3.4) 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/compact_logistics.lua:72: 'for' limit must be a number
stack traceback:
mining-patch-planner/layouts/compact_logistics.lua:72: in function 'place_belts'
mining-patch-planner/layouts/compact_logistics.lua:117: in function '?'
mining-patch-planner/layouts/base.lua:69: in function 'tick'
mining-patch-planner/control.lua:28: in function <mining-patch-planner/control.lua:18>

1 year, 3 months ago

Released an update that should fix it.

New response