Page 1 of 1

[raiguard][2.0.15] Underground pipe ghost not pairing correctly, results in mixed and swapped fluids

Posted: Fri Nov 08, 2024 7:05 pm
by Linsanga
Repro steps (matching pictures):

Step 1. Load attached UndergroundPipeDemo.zip:
1.png
1.png (1.22 MiB) Viewed 693 times

Step 2. Copy-paste the pipe layout on the right to the left:
2.png
2.png (1.22 MiB) Viewed 693 times

Step 3. Watch as your bots build the lower underground pipe first, since you are closer to it:
3.png
3.png (1.22 MiB) Viewed 693 times

Step 4. Watch your bots build the rest of the pipes, and the fluids swap around in the two pipe systems that should not have connected:
4.png
4.png (1.21 MiB) Viewed 693 times

What happened: Water ends up in the bottom pipe system, and lubricant ends up the top system. This consistently happens every time after loading and copy-pasting. Interestingly in step 3 they are not mixed, so it looks like the ghost is correctly blocking the connection to a degree. Only in step 4 do they mix.
What I expected: The top pipe system shouldn't connect to the bottom pipe system, since the ghost is blocking it. Water stays in the top pipes, lubricant stays in the bottom pipes.

Re: [2.0.15] Underground pipe ghost not pairing correctly, results in mixed and swapped fluids

Posted: Mon Nov 25, 2024 5:54 am
by Linsanga
With the changes to fluid systems where mixed fluids are deleted, this is still a bug, but the results are a little different. In picture 4, instead of seeing mixed fluids, I see water in both pipes. Expected: lube stays in the bottom pipe, water stays in the top pipe.

Re: [raiguard][2.0.15] Underground pipe ghost not pairing correctly, results in mixed and swapped fluids

Posted: Thu Mar 27, 2025 7:12 pm
by raiguard
I have a plan for fixing this, but it will not come soon - it will require some pretty hefty changes to how fluid segments are merged.

Re: [raiguard][2.0.15] Underground pipe ghost not pairing correctly, results in mixed and swapped fluids

Posted: Mon Mar 31, 2025 9:35 pm
by boskid