[0.14.22] Unreachable train stations

This subforum contains all the issues which we already resolved.
Post Reply
aaargha
Filter Inserter
Filter Inserter
Posts: 330
Joined: Wed Dec 07, 2016 8:35 am
Contact:

[0.14.22] Unreachable train stations

Post by aaargha »

Trains coming from curved rails that try to enter stops close to the joint do not actually reach the station, it just gets really close. Changing/placing/removing any rail/signal/stop makes the train connect with the stop letting it continue until it gets stuck there again.

To use the reproduction save just load it up and set both the trains to automatic. The left one will bug out and the right one should work.
Attachments
Example
Example
Bugged stations.png (1.07 MiB) Viewed 3795 times
BUG TRAIN STATION.zip
Reproduction save
(1.96 MiB) Downloaded 62 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13201
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.22] Unreachable train stations

Post by Rseding91 »

The train stop is too close to the junction - it hast to be another tile forward as you've shown in order for it to work.

That's not a bug.
If you want to get ahold of me I'm almost always on Discord.

aaargha
Filter Inserter
Filter Inserter
Posts: 330
Joined: Wed Dec 07, 2016 8:35 am
Contact:

Re: [0.14.22] Unreachable train stations

Post by aaargha »

Well, then we have three different bugs to contend with.

1. Faulty UI, train stops advertise paths that cannot connect with it.
2. Placing rails/signals/stops (anywhere, it need not even be related to this system) can make trains stop at train stops they're not supposed to be able to reach.
3. Trains try to path to train stops that they cannot reach. Should show no path message.
Attachments
Really.png
Really.png (667.14 KiB) Viewed 3770 times

aaargha
Filter Inserter
Filter Inserter
Posts: 330
Joined: Wed Dec 07, 2016 8:35 am
Contact:

Re: [0.14.22] Unreachable train stations

Post by aaargha »

Here is a better picture of what happens.

The train finds a valid path.
It tries to go to the stop.
It stops about a pixel short of the stop.
It stays there forever.

Triggering the global repath (building a rail segment or such) will enable the train to move the last bit and actually make it to the stop.
Attachments
better example.png
better example.png (891.88 KiB) Viewed 3735 times

fregate84
Fast Inserter
Fast Inserter
Posts: 233
Joined: Sun Jun 22, 2014 10:56 am
Contact:

Re: [0.14.22] Unreachable train stations

Post by fregate84 »

ScreenShot001.jpg
ScreenShot001.jpg (55.29 KiB) Viewed 3616 times
If you add one rail after the stop, this set up is working. no bug. I try to do a loop and it's working

aaargha
Filter Inserter
Filter Inserter
Posts: 330
Joined: Wed Dec 07, 2016 8:35 am
Contact:

Re: [0.14.22] Unreachable train stations

Post by aaargha »

Good find, that does seem to make some of the configurations work. The one in the first post is still broken even with the added rail though (it's how I first encountered it).

Hopefully your added info will help the devs find the problem.

aaargha
Filter Inserter
Filter Inserter
Posts: 330
Joined: Wed Dec 07, 2016 8:35 am
Contact:

Re: [0.14.22] Unreachable train stations

Post by aaargha »

As far as I can tell this is resolved in 0.15.1, I can't reproduce it any more at least.

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

Re: [0.14.22] Unreachable train stations

Post by posila »

Hi, thanks for letting us know. We made some changes in train pathfinding to make it faster, so as side effect this probably got fixed.

Post Reply

Return to “Resolved Problems and Bugs”