Mining Patch Planner

by rimbas

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

Utilities
a month ago
1.1 - 2.0
150K
Mining Blueprints

b Game Crash - Error MainLoop.cpp:1435

3 days ago

Error when I tried using mod for first time in latest run through. Clicking on the quick panel icon causes the crash.
Game_V. 2.0.28
Mod_V. 1.7.15

25318.207 Error MainLoop.cpp:1435: Exception at tick 2547975: The mod Mining Patch Planner (1.7.14) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event mining-patch-planner::on_player_cursor_stack_changed (ID 33)
LuaEntityPrototype doesn't contain key uses_force_mining_productivity_bonus.
stack traceback:
[C]: in function 'index'
__mining-patch-planner
/mpp/mpp_util.lua:231: in function 'miner_struct'
mining-patch-planner/gui/gui.lua:601: in function 'update_miner_selection'
mining-patch-planner/gui/gui.lua:1382: in function 'update_selections'
mining-patch-planner/gui/gui.lua:1405: in function 'show_interface'
mining-patch-planner/control.lua:242: in function <mining-patch-planner/control.lua:224>

3 days ago
(updated 3 days ago)

The crash is caused by a missing API call that was first made available in Factorio 2.0.45. I'll update the check for minimum required version.
Your Factorio is out of date so the easiest fix would be to update it to latest.

3 days ago

Thanks, internal game updater not working, did check there and assumed there was no update available when it told me such. Updating manually. Sorry to waste your time.

New response