[kovarex] [0.17.66] Train out of fuel at a standstill keeps reserving signal sections outside it's breaking distance
Posted: Sat Aug 17, 2019 8:36 am
Situation:
Train going full speed, thus reserving rail sections turning lights yellow, according to it's breaking distance.
Modded game with train fuel giving trains speed of over 1400km/h so the number of reserved sections are a lot higher than normal. This shouldn't be the source of the core problem, but it makes it more clear because of the increase of reserved sections.
Unwanted behavior:
Train ran out of fuel and comes to a complete stop. Breaking distance now shows as directly in front of train, but a lot of rail sections in front of it is now still reserved as if it was still going full speed.
Expected behavior:
When breaking distance is reduced either by the train actively breaking or the train is slowing down because it ran out of fuel, the reserved sections should become unreserved if they are outside/beyond the trains current breaking distance. A train at 0 speed shouldn't reserve sections in front of it for any reason.
Screenshot showing both trains involved, all the reserved sections, and debug setting "show-train-breaking-distance"=on (small red circles): Savegame: https://www.dropbox.com/s/a7vqgjpom7xif ... t.zip?dl=0
Train going full speed, thus reserving rail sections turning lights yellow, according to it's breaking distance.
Modded game with train fuel giving trains speed of over 1400km/h so the number of reserved sections are a lot higher than normal. This shouldn't be the source of the core problem, but it makes it more clear because of the increase of reserved sections.
Unwanted behavior:
Train ran out of fuel and comes to a complete stop. Breaking distance now shows as directly in front of train, but a lot of rail sections in front of it is now still reserved as if it was still going full speed.
Expected behavior:
When breaking distance is reduced either by the train actively breaking or the train is slowing down because it ran out of fuel, the reserved sections should become unreserved if they are outside/beyond the trains current breaking distance. A train at 0 speed shouldn't reserve sections in front of it for any reason.
Screenshot showing both trains involved, all the reserved sections, and debug setting "show-train-breaking-distance"=on (small red circles): Savegame: https://www.dropbox.com/s/a7vqgjpom7xif ... t.zip?dl=0