[0.16.51] Trains instant brake upon fuel depletion

This subforum contains all the issues which we already resolved.
Post Reply
Allaizn
Inserter
Inserter
Posts: 41
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

[0.16.51] Trains instant brake upon fuel depletion

Post by Allaizn » Sun Jun 24, 2018 7:57 pm

How to reproduce:
1. Load up attached save file:
1000x1000 preset.zip
(1.64 MiB) Downloaded 35 times
2. Notice that within one turn of the rail loop, the current nuclear fuel depletes and speed instantly drops to 259.2 kmh
3. Notice that this happens even if further nuclear fuel is in the fuel inventory

The game is slowed down to 0.1 by commands for better visualization

What I expect to happen:
Acceleration should stop for at most a single tick, ideally none at all.
If the remaining fuel value is not enough to last the full tick, the next fuel should be consumed.
I think it's acceptable if the new fuel overwrites the acceleration and topspeed.

In summary, only acceleration should obey the top speed limit.

Edit: I found this bug while designing a dense rail layout, using my recently published dense loader (no instant brake yet!). This bug is catastophic for any such design, since a train that slows down this hard upon the basically unpredicatable fuel consumption is immediately obliterated :(
Attachments
factorio-current.log
Log for completeness
(4.21 KiB) Downloaded 31 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 8845
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.51] Trains instant brake upon fuel depletion

Post by Rseding91 » Sun Jun 24, 2018 11:43 pm

Thanks for the report. It's now fixed for 0.17.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users and 2 guests