P.U.M.P.

by Xcone

P.U.M.P. (Prevent Unwanted Manual Pump-placement) takes out the chore of making outposts. It's a selection tool with which you can select liquid resources (oil, sulfuric acid, etc.. ) and it then proceeds to plan the layout of pumpjacks and pipes for you.

Utilities
10 days ago
0.18 - 2.1
103K
Mining Fluids Blueprints

b Aquilo Heat pipe missing

14 days ago
(updated 14 days ago)

I tried to use the mod on one island half. It failed to place all the heatpipes. You might notice there are some pipes to the right, I selected the area with no builds yet.
Version: experimental 2.1.23

Warning: https://imgur.gg/f/8yqS3kp
Closeup: https://imgur.gg/f/9ZxKdc9

14 days ago

Hello,

The heatpipe planner is not perfect; it's added a bit of an afterthought (because, .. well, .. it was! 😅 P.U.M.P. existed well before Aquilo was introduced).
So after the layout-plan is made without heatpipes, the logic tries to squeeze in some heatpipes, which has a good chance of failing. There's also not much I can do about it, without a significant rewrite across the board.

However, it's supposed to be of the level 'occasional manual intervention'. Your screenshots seems to suggest it utterly failed. And I wouldn't expect this high failure rate.

Instead of a screenshot, can you please share a save file? I would like to figure out why your case is so excessive, and if I can tweak the logic somewhat to handle this better. I can't do that without a save file.

Thanks!

14 days ago

Hi, this is the save file: https://drive.google.com/file/d/1DoGlUoCMbVhF3af14hXWEsiiM4BsaC99/view?usp=sharing

Thank you for looking into it and this great mod!

14 days ago

Thank you. Very interesting save; you have quite large fields compared to my usual test scenarios.

It also became clear to me what the issue is. A recent change for Vulcanus (issue with pipe tunnels & lava), affected the planner in such a way that affected the heat pipe step that followed later.

I've added a fix for that bit of regression, and the heatpipe logic is now back to the coverage it's supposed to have.
I tested with your save, there's still a couple of positions the heatpipes can't reach and need a bit of manual help. But it's now just a few reasonable reminders, rather then a big lag spike followed by hundreds of warnings. I hope to some day figure out how to avoid this issue entirely. But until then, this'll have to do.

I've uploaded version 2.2.5 with the fix in it. Please let me know how it goes.

11 days ago

The mod P.U.M.P. (2.2.5) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event pump::on_gui_click (ID 1)
pump/planner-assistant.lua:487: attempt to index field 'beacon' (a nil value)
stack traceback:
pump/planner-assistant.lua:487: in function 'create_entity_names_needing_heat'
pump/heater.lua:347: in function 'plan_heat_pipes'
pump/control.lua:167: in function 'resume_process_selected_area_with_this_mod'
pump/control.lua:28: in function <pump/control.lua:23>

Responding, though not OP. Just had a crash when trying to use PUMP to ready an oil field on Aquilo.

11 days ago

Hi, thanks for reporting this.

Looks like I didn't test the previous fix without using beacons. 😬

I'll have a look later today.

10 days ago

I've uploaded v2.2.6 which should fix the issue.

Thanks again for reporting it!

New response