[0.11.x thru 0.12.3] Improper train routing

This subforum contains all the issues which we already resolved.
Marconos
Filter Inserter
Filter Inserter
Posts: 301
Joined: Mon Jun 02, 2014 10:46 pm
Contact:

[0.11.x thru 0.12.3] Improper train routing

Post by Marconos »

1. Create 2 - 4 stations with the same name.
2. Create a train with 1 station in it's routing list set to the name created in step 1
3. Create additional train stations that will be used for other trains to route through
4. Create enough trains with no stops in them and park them in front of the all but one of the stops created in step 1. *** Issue #1: If there is a running train (multiple stop train set to go) parked in the only functioning train stop, other trains will incorrectly route to the blocked lanes and sit there forever, using double stop method of train stations or chain signals.
5. Remove the parked trains and tell the train created in step 2 to go. The train will go and fill one of the stations created in step 1 and sit there forever. *** Issue #2: Other trains will route to this blocked station (the engine that is there will never move) even when other stations are open.

These appear to be the same issue with train routing logic not correctly taking into account train stops being filled by a non moving entity. They should in both cases be able to take that into account and route around them. It's even more frustrating when they block themselves when other lanes are open that they could have taken.

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [0.11.x thru 0.12.3] Improper train routing

Post by HanziQ »

This is a known problem and will be addressed in 0.13.

Loewchen
Global Moderator
Global Moderator
Posts: 8969
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.11.x thru 0.12.3] Improper train routing

Post by Loewchen »

See here as well:
viewtopic.php?f=47&t=32591
viewtopic.php?f=47&t=30885

I considered this issue to be duplicate of viewtopic.php?f=173&t=21603, but this seems to be not correct.
I separated those reports again, with this report as the "mother report" and moved them to Waiting for 0.15 as it fits thematically.

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

Re: [0.11.x thru 0.12.3] Improper train routing

Post by Rseding91 »

HanziQ wrote:This is a known problem and will be addressed in 0.13.
Correction: will be addressed at some point when someone feels like gutting how trains work and re-doing it completely. So, we don't really have an estimate as to when it will happen or if it will happen.
If you want to get ahold of me I'm almost always on Discord.

axelsword
Inserter
Inserter
Posts: 23
Joined: Sun Mar 27, 2016 12:11 pm
Contact:

Re: [0.11.x thru 0.12.3] Improper train routing

Post by axelsword »

In the meantime use unique station names.

The fix seems straight forward enough. Store train paths in memory or let user draw a line for trains to follow. After any construction an attempt should be made to re-connect the part between the two links, if a path was running through that piece of rail.

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

Re: [0.11.x thru 0.12.3] Improper train routing

Post by Rseding91 »

axelsword wrote:In the meantime use unique station names.

The fix seems straight forward enough. Store train paths in memory or let user draw a line for trains to follow. After any construction an attempt should be made to re-connect the part between the two links, if a path was running through that piece of rail.
The fix is to not park trains on rails that are never going to move. Trains aren't meant to sit stationary forever or they're pointless and you can just replace them with a steel chest.
If you want to get ahold of me I'm almost always on Discord.

roaringdragon2
Burner Inserter
Burner Inserter
Posts: 10
Joined: Fri Apr 22, 2016 10:01 pm
Contact:

Re: [0.11.x thru 0.12.3] Improper train routing

Post by roaringdragon2 »

Rseding91 wrote:
axelsword wrote:In the meantime use unique station names.

The fix seems straight forward enough. Store train paths in memory or let user draw a line for trains to follow. After any construction an attempt should be made to re-connect the part between the two links, if a path was running through that piece of rail.
The fix is to not park trains on rails that are never going to move. Trains aren't meant to sit stationary forever or they're pointless and you can just replace them with a steel chest.
Well, I see your point, but there is always the usefulness of filters and the amount of inserters that can access it.

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

Re: [0.11.x thru 0.12.3] Improper train routing

Post by Rseding91 »

roaringdragon2 wrote:
Rseding91 wrote:The fix is to not park trains on rails that are never going to move. Trains aren't meant to sit stationary forever or they're pointless and you can just replace them with a steel chest.
Well, I see your point, but there is always the usefulness of filters and the amount of inserters that can access it.
If that's all you want just don't connect the rails to your main network and it's a non-problem.
If you want to get ahold of me I'm almost always on Discord.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5246
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.11.x thru 0.12.3] Improper train routing

Post by Klonan »

Probably fixed by one of the many train routing improvements

Post Reply

Return to “Resolved Problems and Bugs”