During my gameplay on a mega-factory using city-blocks with the ltn mod (the bug also occurs in vanilla), the trains after unloading and leaving the station, it happens that if there is no empty depot station on nearby, the pathfinding select a station that already contain a train.
there is an example of the bug, when switching the double-headed train from manual to automatic, the pathfinding incorrectly selects the station on the right even though there is an empty station on the left. when removing the rail near the constant combinator, the pathfinding selects the empty station as it normally should.
[2.0.52] Train pathfinding selects full station
-
- Burner Inserter
- Posts: 12
- Joined: Wed Sep 09, 2020 2:06 pm
- Contact:
Re: [2.0.52] Train pathfinding selects full station
None of the depot stations is full, they do not even have limits.
-
- Burner Inserter
- Posts: 12
- Joined: Wed Sep 09, 2020 2:06 pm
- Contact:
Re: [2.0.52] Train pathfinding selects full station
on three depot configured only one have a free path to reach.Loewchen wrote: Fri May 23, 2025 9:22 pm None of the depot stations is full, they do not even have limits.
Re: [2.0.52] Train pathfinding selects full station
I do not understand what you are trying to say.Grifonice99 wrote: Fri May 23, 2025 9:49 pm on three depot configured only one have a free path to reach.
-
- Burner Inserter
- Posts: 12
- Joined: Wed Sep 09, 2020 2:06 pm
- Contact:
Re: [2.0.52] Train pathfinding selects full station
when a train leave a station and try to go to a depot, if there is a depot with an empty path in a certain range they go into that depot, instead go to the nearest depot, empty or full doesn't matter. I can send in private the save of my "mega-factory"
Re: [2.0.52] Train pathfinding selects full station
Still not 100% sure I understand what you mean, but I think you are misunderstanding how train pathfinding works. Trains will take the station with a path with the lowest pathfinding penalty, distance and how many other trains are in the path are just variables in the calculation of that penalty.