Page 1 of 1

[Duplicate][0.17.11] Unexpected behavior with waypoint stations

Posted: Wed Mar 13, 2019 1:18 pm
by knightelite
EDIT: This is a duplicate of this, and can probably be removed.

I was investigating how waypoint stations work, and I came across some unexpected behavior. I've documented it in this video: https://youtu.be/xLtbPj-Ll-k

I was attempting to see how waypoint stations interact with train pathing when becoming enabled or disabled.

What did I do: I disabled a waypoint station before the train arrived at it.

What I was expecting: If a waypoint station becomes disabled before the train passes it, the train would repath to a different waypoint station of the same name.

What happened: This works as expected if the train's braking distance hasn't yet passed the waypoint station. However, if the braking distance has passed the waypoint station, disabling the waypoint station does not cause the train to repath. The train GUI still shows the waypoint station as the next stop until the train actually does pass it.

This may well be intended behavior, but if it is then perhaps there should be an update the the train GUI? This leads to a situation where the train GUI shows the waypoint station as still being the intended next stop, but the station itself is disabled.

Re: [0.17.11] Unexpected behavior with waypoint stations

Posted: Wed Mar 13, 2019 1:27 pm
by knightelite
EDIT2: Confirmed this comment is incorrect, but the original issue still exists.

EDIT: The behavior described in this comment may not be a bug, u/mel4 on reddit pointed out that I have an unreachable station of the same name on a disconnected track in my save. I'll retest this one tonight to confirm behavior once that is fixed.

Additional findings as I investigate more:

[list]
[*] If there are no waypoint stations turned on, the train will not depart. It will not skip the waypoints if all of them are disabled/unreachable.
[*] If there is only a single enabled waypoint station, and it is turned off prior to the train's braking distance arriving at it, the train will halt instantly wherever it is on the track.
[*] If there is only a single enabled waypoint station, and it is turned off after the train's braking distance passes it, the train will continue on to the next station in its schedule. The GUI still shows the waypoint station as the next stop until the train passes it.
[/list]

I still haven't tried actually removing the waypoint stations in this way to see if that makes a difference.

Re: [0.17.11] Unexpected behavior with waypoint stations

Posted: Wed Mar 13, 2019 2:19 pm
by knightelite
EDIT: This was a false positive caused by same named stations being active a disconnected track.

Found this related change in behavior from 0.16 when I made the waypoint stations have departure conditions (turning them into normal stations): viewtopic.php?f=7&t=67619

Disabling a normal station prior to train arrival still reroutes the train to another location correctly if one is available, but no longer skips the station in the schedule if all are disabled the way it did in 0.16.


Re: [0.17.11] Unexpected behavior with waypoint stations

Posted: Wed Mar 13, 2019 5:34 pm
by knightelite
The issue described in the first post appears to be a duplicate of this thread which was reported first.