Hi there! Appreciate the mod, it's really taken the headache out of creating pump fields.
While on Vulcanus, I've encountered a bug that's very similar to the one mentioned in https://mods.factorio.com/mod/OilOutpostPlanner/discussion/67a3da498f7e1989ec6a8266 on version 1.6.6.
Environment
- Factorio 2.0.47
- Base mod 2.0.47
- Elevated Rails 2.0.47
- Quality 2.0.47
- Space Age 2.0.47
- Oil Outpost Planner 1.6.6
Steps to reproduce
- Load this save: https://drive.google.com/file/d/1CUD7HkZmC5UT4ByT4dUoty0Ilfcdm8Iy/view?usp=sharing
- The save loads over a sulfuric acid field — use the oil outpost planner tool to select all vents.
- Let go of the mouse button to finish selection, which results in the error below and returns to the main menu after acknowledging.
The mod Oil Outpost Planner (1.6.6) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event OilOutpostPlanner::on_player_selected_area (ID 55)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function '__index'
__OilOutpostPlanner__/layout.lua:98: in function 'ForceGhostAt'
__OilOutpostPlanner__/layout.lua:1772: in function 'Plan'
__OilOutpostPlanner__/control.lua:50: in function <__OilOutpostPlanner__/control.lua:37>
Workaround
I found a workaround for this specific sulfuric acid field:
- Load the save linked above.
- Using the planner tool, select all sulfuric acid vents EXCEPT the bottom-most one. Ghosts are created and no error occurs.
- Re-select all sulfuric acid vents with the planner tool, this time INCLUDING the bottom-most one. All ghosts seem to be placed correctly with no errors.
Other things I've tried
I've done the following in an attempt to resolve the issue on my end, to no effect:
- Disable all other non-official mods.
- Reset all Oil Outpost Planner tool options to their defaults.