[0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Bugs that are actually features.
Post Reply
soapy5
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Mar 29, 2019 2:39 pm
Contact:

[0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by soapy5 »

If a train station is past a curved track segment, the fluid wagons will be slightly misaligned and will not connect to the pumps. It appears the train is a couple of pixels too far forward; tapping backwards once or twice in manual mode will be enough to align the fluid wagons.

This has been duplicated with the station 90, 180, and 270 degrees wrt fluid wagons, and with the station past an s-bends. This has also been duplicated with the station at different distances past a 180 degree curve.

Image
factorio-current.log
(4.75 KiB) Downloaded 94 times

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by posila »

Thanks for the report.
Pumps require wagons to be aligned to tiles, and locomotives standing on curved rails make the wagons not aligned to tiles.
This restriction probably won't be removed any time soon.

Opsse
Burner Inserter
Burner Inserter
Posts: 13
Joined: Wed Feb 27, 2019 9:06 am
Contact:

Re: [0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by Opsse »

This is, in my opinion, a very annoying limitation and should be fixed. Plus, this is inconsistent with the inserter behaviours which works fine in the same situation.

mrvn
Smart Inserter
Smart Inserter
Posts: 5704
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: [0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by mrvn »

While I agree this is sad you can design your station a bit differently:

1) Put the station on the straight rails going out from the loop. The train will then arrive, turn around and stop on the way out. It will stop quite a far wait out of though. Not inside the walls.

2) Build your train as LFFFFFLLLLLLL. Same speed but now the trailing locomotives can stay on the curve and you can put the stop inside the walls.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by eradicator »

Do what Deutsche Bahn does every day. Build the train in reverse-wagon-order :p.
umgekehrte-wagenreihenfolge.gif
umgekehrte-wagenreihenfolge.gif (5.67 MiB) Viewed 5095 times
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

mrvn
Smart Inserter
Smart Inserter
Posts: 5704
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: [0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by mrvn »

eradicator wrote:
Thu Jun 06, 2019 2:16 pm
Do what Deutsche Bahn does every day. Build the train in reverse-wagon-order :p.

umgekehrte-wagenreihenfolge.gif
Bad idea. The fluid wagon has a way higher wind resistance than the locomotive. You need one locomotive at the start.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by eradicator »

mrvn wrote:
Thu Jun 06, 2019 4:26 pm
<o))--(--(c-<
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

nixxquality
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Nov 09, 2021 8:25 pm
Contact:

Re: [0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by nixxquality »

Any chance of this being revisited?

A friend of mine is playing Factorio blind and came to me and asked why the pumps wouldn't unload from his train.

He'd built something like this:
427520_20211109213510_1.png
427520_20211109213510_1.png (2.85 MiB) Viewed 3833 times
Even I, with 300 hours in the game, had no idea what was wrong. Everything looks correct, the train is actually stopped at the station and the pumps are facing the right way.

I randomly asked him to get rid of the bend in the middle which fixed it and I was led to this thread after searching about the problem.

I can understand that this was put on ice once, especially back in beta, but this is something people are still tripping over, and I imagine more people will trip over it in the future.

User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 490
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: [0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by Silari »

nixxquality wrote:
Tue Nov 09, 2021 8:39 pm
Any chance of this being revisited?
It has been in other threads: viewtopic.php?p=553446#p553446 but there are issues with fixing it.

It's possible to change the allowed value for misalignment by changing the fluid_wagon_connector_alignment_tolerance value on pumps. It can make the graphics look wrong due to how the pump connects though, which is why vanilla restricts it.

mrvn
Smart Inserter
Smart Inserter
Posts: 5704
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: [0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by mrvn »

Notice how the cargo wagons in the curves remain closed showing they can't be accessed. Fluid wagons should have an indicator to show when they are open that also checks the alignment.

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by posila »

mrvn wrote:
Wed Nov 10, 2021 9:56 am
Notice how the cargo wagons in the curves remain closed showing they can't be accessed. Fluid wagons should have an indicator to show when they are open that also checks the alignment.
Funny thing is, inserters can pull out items from the cargo wagons just fine :lol: , we just didn't want to spend VRAM on cargo wagon door opening animation for all 128 directions and artists didn't request inserters to not be able to interact with rotated wagons :)

User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 490
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: [0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by Silari »

mrvn wrote:
Wed Nov 10, 2021 9:56 am
Notice how the cargo wagons in the curves remain closed showing they can't be accessed. Fluid wagons should have an indicator to show when they are open that also checks the alignment.
Except whether it can connect or not isn't based on the fluid wagon, it's based on the pump. That means it'd have to run a check on every nearby pump to see if the tolerance would allow it to connect. You'd also then potentially run into situations where some pumps can and some can't, so either you'd show it open and still have people wondering why some of their pumps won't connect, or you'd show it closed and people think nothing could. So in the end a bunch of work on code and graphics for a situation not much if any better than the current one.

Putting an indicator on pumps to show a train is present but not aligned would be better. It would make for a great status message on them - 'Fluid wagon not in position' or such, so if it does happen there's a clear reason given and something easily searchable to find the fix.

mrvn
Smart Inserter
Smart Inserter
Posts: 5704
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: [0.17.23] Fluid wagons will not connect to pump if station is around a curve.

Post by mrvn »

Silari wrote:
Wed Nov 10, 2021 5:49 pm
mrvn wrote:
Wed Nov 10, 2021 9:56 am
Notice how the cargo wagons in the curves remain closed showing they can't be accessed. Fluid wagons should have an indicator to show when they are open that also checks the alignment.
Except whether it can connect or not isn't based on the fluid wagon, it's based on the pump. That means it'd have to run a check on every nearby pump to see if the tolerance would allow it to connect. You'd also then potentially run into situations where some pumps can and some can't, so either you'd show it open and still have people wondering why some of their pumps won't connect, or you'd show it closed and people think nothing could. So in the end a bunch of work on code and graphics for a situation not much if any better than the current one.

Putting an indicator on pumps to show a train is present but not aligned would be better. It would make for a great status message on them - 'Fluid wagon not in position' or such, so if it does happen there's a clear reason given and something easily searchable to find the fix.
Don't forget pumps can also be circuit controlled.

Maybe the indicator should be on the pump as you say? A yellow LED when the pump has no suitable connector in position? Or blue when it does? red/green is used by the circuit control so I think it's best not to use them to signal alignment as well.

Post Reply

Return to “Not a bug”