[raiguard][2.0.10] All fluid in system voided when underground pipe deleted to 'reveal' connection with another fluid

Bugs that are actually features.
Lagnic
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Oct 24, 2024 3:57 pm
Contact:

[raiguard][2.0.10] All fluid in system voided when underground pipe deleted to 'reveal' connection with another fluid

Post by Lagnic »

I disassembled my heavy oil cracking setup and found my tanks of heavy oil had been filled with water instead. I discovered that it was because I deleted an underground pipe connecting to the water system, and because of the way I had my cracking pipes setup this put the water and heavy oil systems into contact through a second underground behind the first. The game then decided to overwrite the heavy oil with water.

I have created a save which demonstrates the behaviour in the opposite direction, with heavy oil overwriting the water. I'm not sure what determines which should be kept and which lost.
2024-10-24 16-51-39.gif
2024-10-24 16-51-39.gif (9.48 MiB) Viewed 712 times
Attachments
Error.zip
(2.24 MiB) Downloaded 28 times
factorio-current.log
(11.15 KiB) Downloaded 18 times
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 682
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [raiguard][2.0.10] All fluid in system voided when underground pipe deleted to 'reveal' connection with another flui

Post by raiguard »

This is not a bug. You have an infinity pipe connected to the heavy oil pipeline which overwrites the fluid in the pipeline directly.

If you remove the infinity pipe, then it behaves as expected - the water "takes over" but you can still see the heavy oil in the pipe flush GUI. This is still not an ideal solution, so I plan to change the fluid mixing logic in the future to not merge the pipelines and generate an alert where the two fluids intersect.
Don't forget, you're here forever.
Lagnic
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Oct 24, 2024 3:57 pm
Contact:

Re: [raiguard][2.0.10] All fluid in system voided when underground pipe deleted to 'reveal' connection with another flui

Post by Lagnic »

Thank you for the quick response. I should have tried it without the infinity pipe. I see now that the heavy oil is still in the system, because it didn't appear on the tooltip I didn't realise it was still there.

When I disconnect the systems the heavy oil has migrated entirely to the water pipeline on top which now contains four tanks worth of each fluid. I can't pump the heavy oil out with a filtered pump either, I assume I would have to flush the water or pump it out to access the heavy oil. Hardly an issue with water but it could be annoying with more expensive fluids.

Even if it's not a bug I think this is very unintuitive behaviour and your planned change would be very welcome.
10-25-2024, 09-08-57.png
10-25-2024, 09-08-57.png (1.1 MiB) Viewed 369 times
10-25-2024, 09-11-22.png
10-25-2024, 09-11-22.png (1.03 MiB) Viewed 369 times
Post Reply

Return to “Not a bug”