Mining Patch Planner

by rimbas

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

Utilities
8 days ago
1.1 - 2.0
96.6K
Mining Blueprints

g Game Crash - Error Message

22 days ago

I get an error since today:

Error while running event mining-patch-planner::on_research_finished (ID 18)
LuaGuiElement API call when LuaGuiElement was invalid.
stack traceback:
[C]: in function 'index'
__mining-patch-planner
/gui/gui.lua:163: in function 'create_setting_selector'
mining-patch-planner/gui/gui.lua:1220: in function 'update_quality_sections'
mining-patch-planner/control.lua:284: in function <mining-patch-planner/control.lua:269>

22 days ago

Could I have a save file where this happens?

22 days ago

This happens in my save as well. It triggers upon completion of the Quality Module research.

Link to the save: https://file.io/pKxEXdykV3g5

22 days ago

Released an update that should fix it.

22 days ago

I just downloaded the new version and the same thing happens.

The mod Mining Patch Planner (1.6.19) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event mining-patch-planner::on_research_finished (ID 18)
LuaGuiElement API call when LuaGuiElement was invalid.
stack traceback:
[C]: in function 'index'
__mining-patch-planner
/gui/gui.lua:163: in function 'create_setting_selector'
mining-patch-planner/gui/gui.lua:1220: in function 'update_quality_sections'
mining-patch-planner/control.lua:286: in function <mining-patch-planner/control.lua:271>

22 days ago
(updated 22 days ago)

Sorry about that, missed an edge case in which MPP is the only updated mod, released version 1.6.20 that should actually fix it.

22 days ago

That fixed it. Thanks!

21 days ago

The bug is still present, I run version 1.6.20 of the mod on my server.

I just downloaded the new version and the same thing happens.

The mod Mining Patch Planner (1.6.19) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event mining-patch-planner::on_research_finished (ID 18)
LuaGuiElement API call when LuaGuiElement was invalid.
stack traceback:
[C]: in function 'index'
__mining-patch-planner
/gui/gui.lua:163: in function 'create_setting_selector'
mining-patch-planner/gui/gui.lua:1220: in function 'update_quality_sections'
mining-patch-planner/control.lua:286: in function <mining-patch-planner/control.lua:271>

21 days ago

But the crash log says 1.6.19? Can you give me a save file, please?

21 days ago

There's my savefile : https://www.mediafire.com/file/ab28ws60ntycg14/Space_Age.zip/file

To reproduce, research "Modules" then "Quality Module".

21 days ago

I am getting the same:

The mod Mining Patch Planner (1.6.20) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event mining-patch-planner::on_research_finished (ID 18)
LuaGuiElement API call when LuaGuiElement was invalid.
stack traceback:
[C]: in function 'index'
__mining-patch-planner
/gui/gui.lua:163: in function 'create_setting_selector'
mining-patch-planner/gui/gui.lua:1220: in function 'update_quality_sections'
mining-patch-planner/control.lua:286: in function <mining-patch-planner/control.lua:271>

My savefile is at https://drive.google.com/file/d/1sP81i3JaBoX18DsXfS1CvN5w3tAZPxgO/view?usp=sharing and is about 5 seconds prior to the crash

21 days ago

Thank you for the save files, released update 1.6.21 that fixes the problem.

New response