[0.18.6] En route trains stop when target station is disabled

Bugs that are actually features.
JihadJ0e
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Jun 03, 2017 4:15 am
Contact:

[0.18.6] En route trains stop when target station is disabled

Post by JihadJ0e »

I am experiencing an issue where all trains that are traveling to a station will NOT skip over that station if the station is disabled en route. The train instead comes to a dead stop and waits on the tracks until the original target station is enabled while displaying "No Path". If I manually tell the train to go to the next enabled station, it will travel to that station and wait.

In my case I have a good number of trains with two stops in them. For the purpose of explanation assume that one station is the trains home station that is always open and the second station is a target station that the circuit network disables if the resources are unwanted. The home station has two identically named stops and the target has between four and eight identically named stops.

The expected behavior is that if the target station is disabled en route then the train should return to its home station and wait there until the target station is re-enabled. I can reproduce the expected behavior in a small test map; however the behavior is different on my main map.

I am unclear if this is related to the size of my base, the number of trains, the number or stations, my track layout, or some other factor. I think this behavior MAY be somewhat intermittent.

I have a large save game with a number of trains in the stuck state that I can provide if that would be helpful.

I looked for other similar bugs before I posted, but could not find any. Apologies if I missed something.
This train, and a few more like it, were traveling from 'Copper Ore Smelter 06 : Pickup' to '- Copper Plate Depot'. All of the '- Copper Plate Depot' stops became full and where closed by the circuit network. The trains all came to a dead stop. If I manually press the 'Copper Ore Smelter 06 : Pickup' button, the train will travel to that station.
This train, and a few more like it, were traveling from 'Copper Ore Smelter 06 : Pickup' to '- Copper Plate Depot'. All of the '- Copper Plate Depot' stops became full and where closed by the circuit network. The trains all came to a dead stop. If I manually press the 'Copper Ore Smelter 06 : Pickup' button, the train will travel to that station.
stuck.png (8.7 MiB) Viewed 1913 times
User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 694
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: [0.18.6] En route trains stop when target station is disabled

Post by disentius »

Have you checked the train schedule? No path would normally only occur in two cases:
- no station in the train schedule is enabled
- the next enabled station is unreachable (according to the pathfinder)
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3992
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.18.6] En route trains stop when target station is disabled

Post by boskid »

Most likely cause is you have a train stop that is enabled but unreachable. Save file would be required to confirm that.
User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 694
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: [0.18.6] En route trains stop when target station is disabled

Post by disentius »

agreed.
JihadJ0e
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Jun 03, 2017 4:15 am
Contact:

Re: [0.18.6] En route trains stop when target station is disabled

Post by JihadJ0e »

Confirming that the train schedule is good and that the other station is opened.

As I said, I can manually click on the 'Copper Ore Smelter 06 : Pickup' station and the train travels to it. It just dosn't do it automatically...

Completely open to the possibly that I am a bone head and missed something; however I did spend a reasonable about of time trying to prevent wasting everyone's time.

Save game is here: https://drive.google.com/file/d/1h_aQdZ ... sp=sharing

Standing next to a broke train. You can press the next station button and it will travel to it. You can click on the '- Copper Plate Depot' station (a bit down and to the right) to see all of the other trains that are in the same state.

Thank you... and thank you for making such a great game and fixing bugs. I have hundreds of games, this is by far the best one.

Take care
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3992
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.18.6] En route trains stop when target station is disabled

Post by boskid »

Not a bug.

Code: Select all

/c game.player.teleport{-477, 4067}
Here you have a train stop that is enabled but unreachable.
JihadJ0e
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Jun 03, 2017 4:15 am
Contact:

Re: [0.18.6] En route trains stop when target station is disabled

Post by JihadJ0e »

Ugh, thank you, sorry.
Post Reply

Return to “Not a bug”