P.U.M.P.

by Xcone

P.U.M.P. (Prevent Unwanted Manual Pump-placement) adds a selection-tool with which you can select oil wells, and then plans the layout of pumpjacks and pipes for you.

Utilities
a day ago
0.18 - 2.0
50.7K
Mining Fluids Blueprints

b Error with some fields

14 days ago

i am getting an error when trying to plan a new field on Vulcanus, and from reading other threads here, i assume it is failing to route the field despite having no obstructions. is it possible to have the mod return a partially routed field in such cases, rather than erroring completely? (assuming you are unable to improve the routing algorithm)

14 days ago

Here is a screenshot of the troublesome field alongside a save file for you to look at

https://drive.google.com/drive/folders/1Q-fRLZh2SMMiutWnrAAKxK_keO89lIyM?usp=drive_link

14 days ago

Hi, that looks like a really packed field...

P.U.M.P. tries to slice the field trough a couple of times to make a pipe 'spine' to connect all the pumps to. But if it's too packed, it won't be able to make that 'spine'.

I've been meaning to create a fallback routine for that. But never had to since the problem was so rare with vanilla oil wells. I guess those days are over with Vulcanus 😅

Not a simple task though. Will definitely take a while (if it was simple it'd have been there by now). Until then, try selecting only half of the field. You might have better luck that way doing it in portions. P.U.M.P. won't allow touching the portions so you'll need keep a small gap and do some manual work getting them together.

I hope that'll still save you some work. Until the I've got the fallback routine in place.

Thanks for the report 👍

14 days ago

yeah, i just did it fully manually - and my world is using the numbers from the rail world preset, but copied over to resources on all planets, so it is a bit denser than it might have been otherwise but nothing crazy. it seemed you already knew about it from other threads, but i thought an additional test case and example on a vanilla map generation might help you :)

a day ago

Hi, I'm not sure if you're running into the issue on a regular basis; considering your slightly denser settings?

In case you are; I am working on the aforementioned fallback routine. (.. Which turns out to be just a complete rewrite of the pipe-planner by now 😅). It's not done yet, as it can make some weird choices sometimes. But it should already be a lot better at handling denser fields in its current state.

I just uploaded version 2.1.4 which has this planner as an option. If you're interested to try it, you can enable it in the player-mod-settings.

17 hours ago

so far i have only had the one issue on vulcanus - but i will give the new planner a test for you

17 hours ago

just did a quick and dirty test on the initial field that had caused issues - it did not error, so that is already a vast improvement, but it did fail to place pumpjacks/connect them on two of the wells

17 hours ago

added a screenshot of the planned field with missing pumpjacks to the drive folder for you

16 hours ago

huh, .. odd. I can indeed reproduce it with the original save, too. So that's convenient.
Funny how the skipped geyser in the middle does seem to have been avoided by the pipes as it does tunnel underneath, .. just, .. no pump? I wonder if that's a coincidence.

Great find though, thanks!

16 hours ago
(updated 16 hours ago)

still, missing 2 out of 35 is better than it giving up entirely! :)

16 hours ago

Sure is!

I've taken a look it in my layout-tester-tool, and the issue is clear to me. It's a nice edge case, that I know is not handled yet. I just didn't recognize it initially in the picture.

I was a bit surprised this field not working for you as I have been testing with it extensively. But I just learned the planning-input I took earlier from this save misses the bottom 2 geysers (sloppy me), and the planned result it gives is quite different then and doesn't skip any. Since I test mainly from within a test-tool, every re-test excluded those 2 geysers. So I have been using your field as a test case; just not the full field xD

Good to know the tool makes different choices between those. Because now I have 2 proper test-cases from the same field. :p

16 hours ago

got another test case for you to check as well - i decided to test the new planner on my extremely dense starting field on that save (i had set that one up before i had learned of this mod), and of the 50 nodes, it missed one of them

New response