[kovarex] [0.17.66] Train out of fuel at a standstill keeps reserving signal sections outside it's breaking distance

This subforum contains all the issues which we already resolved.
Post Reply
TyrHeimdal
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sun Jan 14, 2018 7:48 pm
Contact:

[kovarex] [0.17.66] Train out of fuel at a standstill keeps reserving signal sections outside it's breaking distance

Post by TyrHeimdal »

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):
reserved sections bug report.PNG
reserved sections bug report.PNG (1.37 MiB) Viewed 2275 times
Savegame: https://www.dropbox.com/s/a7vqgjpom7xif ... t.zip?dl=0
Attachments
factorio-current.log
current log
(14.82 KiB) Downloaded 80 times


TyrHeimdal
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sun Jan 14, 2018 7:48 pm
Contact:

Re: [0.17.66] Train out of fuel at a standstill keeps reserving signal sections outside it's current breaking distance

Post by TyrHeimdal »

After all the code rewrite for 0.17 and the devs confirming it as an undesired behavior back in 0.15, maybe it would be ok to have another look?

Loewchen
Global Moderator
Global Moderator
Posts: 7450
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.17.66] Train out of fuel at a standstill keeps reserving signal sections outside it's current breaking distance

Post by Loewchen »

TyrHeimdal wrote:
Sat Aug 17, 2019 10:49 am
After all the code rewrite for 0.17 and the devs confirming it as an undesired behavior back in 0.15, maybe it would be ok to have another look?
Ok I moved it to bugs again, a dev can simply move it to duplicates again if the original decision still stands.

kovarex
Factorio Staff
Factorio Staff
Posts: 8058
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [0.17.66] Train out of fuel at a standstill keeps reserving signal sections outside it's breaking distance

Post by kovarex »

Thanks for the report, fixed for the next version.

Post Reply

Return to “Resolved Problems and Bugs”