[2.0.14] Read Train Count does not update until the train has arrived at another station

Things that has been reported already before.
Lylcaruis
Burner Inserter
Burner Inserter
Posts: 14
Joined: Fri Nov 01, 2024 6:08 am
Contact:

[2.0.14] Read Train Count does not update until the train has arrived at another station

Post by Lylcaruis »

Intended Behavior: the train count should change as soon as the train leaves the stop
11-03-2024, 01-38-38.png
11-03-2024, 01-38-38.png (4.86 MiB) Viewed 264 times
^ notice how there are no trains on the way, and no trains stopped at the station, yet the train count still reads as 1.
How to reproduce:
have two train stops, one of which with a stopped train at it (do not enable train limits). add a wire to the stop without a train so that you can enable the circuit network.
11-03-2024, 01-51-19.png
11-03-2024, 01-51-19.png (1.45 MiB) Viewed 264 times

Give the train a schedule (example below) make sure to put it to automatic so that the train stops at the designated stop and labels the stop full.
11-03-2024, 01-52-06.png
11-03-2024, 01-52-06.png (220.2 KiB) Viewed 264 times
at the stop without the stopped train, place a train and enable "Read Train Count"
11-03-2024, 02-06-54.png
11-03-2024, 02-06-54.png (1.65 MiB) Viewed 264 times
give this train an empty schedule,(keep it on manual for now)
11-03-2024, 01-59-43.png
11-03-2024, 01-59-43.png (39.75 KiB) Viewed 264 times
and add a pair of rail signals between the two stops
11-03-2024, 01-55-49.png
11-03-2024, 01-55-49.png (1.16 MiB) Viewed 264 times
set the train you just made to automatic (make sure that the other train is actually stopped at the station you placed it at)
The train will leave for the other station but stop at the rail signals because the station is occupied. notice how the train count still says 1, even though the train has left the station.
11-03-2024, 01-58-19.png
11-03-2024, 01-58-19.png (623.22 KiB) Viewed 264 times
the train count should read as 0, as there are no trains going to the stop and no trains at the stop.
11-03-2024, 02-10-37.png
11-03-2024, 02-10-37.png (23.31 KiB) Viewed 264 times
(note the tooltip)
User avatar
atomizer
Fast Inserter
Fast Inserter
Posts: 121
Joined: Sat Sep 22, 2018 3:18 pm
Contact:

Re: [2.0.14] Read Train Count does not update until the train has arrived at another station

Post by atomizer »

Train count will not go down until the departing train leaves the station's rail block. Place signals to separate the station from the rest of the rail. I believe this is intended, because otherwise you would get N+1 trains in a station with limit N when the departing train is unable to leave for some reason.
Post Reply

Return to “Duplicates”