Pipeline length should not be calculated between linked fluid boxes

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

sdgmlj
Fast Inserter
Fast Inserter
Posts: 160
Joined: Sun Jul 04, 2021 11:12 pm
Contact:

Pipeline length should not be calculated between linked fluid boxes

Post by sdgmlj »

And this calculation is also unreasonable, only calculating coordinates
I establish links between different planets, as long as the coordinates are not significantly different, it can be used normally.
On the contrary, even on the same planet, if the coordinates differ too much, it cannot be used. Is this reasonable
So, my suggestion is that if it's a link, then it's cheating.
Since that's the case, there's no need to calculate the pipeline length between the two linked fluid boxes. I'm not sure if I've expressed myself clearly
robot256
Smart Inserter
Smart Inserter
Posts: 1062
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Pipeline length should not be calculated between linked fluid boxes

Post by robot256 »

I agree, the way it compares coordinates on different surfaces makes it sound like an unintended consequence, and actually more of a bug than a feature. Linked pipe connections are only ever created by mods, so it should be the mods responsibility to ensure gameplay balance (if desired).
User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 436
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

Re: Pipeline length should not be calculated between linked fluid boxes

Post by Stringweasel »

+1

99.9% of use cases for linked-fluidboxes the extent should not be extended.
Alt-F4 Author | Factorio Modder
Probably known for: (Configurable) Valves | Better Victory Screen | Space Spidertron | Fluidic Power
Official Contributor to Space Exploration
sdgmlj
Fast Inserter
Fast Inserter
Posts: 160
Joined: Sun Jul 04, 2021 11:12 pm
Contact:

Re: Pipeline length should not be calculated between linked fluid boxes

Post by sdgmlj »

Dear bosses, shouldn't this issue be addressed? I wrote a mod for two days and two nights, and now it's stuck here. My temporary solution is to increase the pipeline length limit, but I don't want to do it because it will change the game rules.
My suggestion is to add a fourth parameter to 'add_danked_connection'. When parameter 4 is set to true, the length of the connected fluid box will not be calculated. When parameter 4 is set to false or not, the original scheme will be maintained, which will not affect the original users. Do you think this scheme is feasible?
sdgmlj
Fast Inserter
Fast Inserter
Posts: 160
Joined: Sun Jul 04, 2021 11:12 pm
Contact:

Re: Pipeline length should not be calculated between linked fluid boxes

Post by sdgmlj »

@ssilk
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3454
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Pipeline length should not be calculated between linked fluid boxes

Post by boskid »

This is quite unfortunate situation. Linked fluid box connections were added way before the idea of fluid segments was implemented, and when fluid segments were implemented they were known to cause problems with linked connections and for the sake of implementation (fluid segments were implemented relatively close to the SA release) it was made in a way that does not account for linked connections at all. Unless raiguard wants to get even more knee deep into fluids this is unlikely to be changed and the only proposed workaround right now is to use UtilityConstants::default_pipeline_extent and FluidBox::max_pipeline_extent with some ridiculus value of 4 000 000 so it is guaranteed to not be overextended. I will leave this in ideas for raiguard to give some feedback if he wants to.
sdgmlj
Fast Inserter
Fast Inserter
Posts: 160
Joined: Sun Jul 04, 2021 11:12 pm
Contact:

Re: Pipeline length should not be calculated between linked fluid boxes

Post by sdgmlj »

boskid wrote: Sat Jan 25, 2025 10:35 am This is quite unfortunate situation. Linked fluid box connections were added way before the idea of fluid segments was implemented, and when fluid segments were implemented they were known to cause problems with linked connections and for the sake of implementation (fluid segments were implemented relatively close to the SA release) it was made in a way that does not account for linked connections at all. Unless raiguard wants to get even more knee deep into fluids this is unlikely to be changed and the only proposed workaround right now is to use UtilityConstants::default_pipeline_extent and FluidBox::max_pipeline_extent with some ridiculus value of 4 000 000 so it is guaranteed to not be overextended. I will leave this in ideas for raiguard to give some feedback if he wants to.
Thank you, the method you mentioned is the one I am currently using, but I still feel that it is not very good. I don't know who you mean by 'raidguard', is it your boss? I hope he can see and take this issue seriously.
Post Reply

Return to “Ideas and Suggestions”