Train speed bug
Posted: Mon Oct 19, 2020 10:02 pm
A train recently came alive in Zuzi. I'm not sure if it's the first ever, but an incident occurred that exposed something wrong with the train speed. My character only had second hand knowledge of what happened, so some parts of the following sequence are unclear:
My understanding is that an unfueled train would, like an unfueled car, move at a very slow walk-like pace. It's not clear if the train was initially moving very fast or if it only picked up speed after Working At Controls was active.
My hunch is that the bug is in the code path for Working At Controls, where it either doesn't take into consideration whether the train has fuel or not or in that it applies a constant speed instead of a relative increase to the base fueled or unfueled speed.
- A train was completed and no fuel was loaded onboard
- The train was sent down the tracks from I assume the Location tab
- The tracks spanned 5 cities with stations only at each end
- The driver reported that Working At Controls made the train move very fast relative to other types of travel
- The train made it there and back in under a day
My understanding is that an unfueled train would, like an unfueled car, move at a very slow walk-like pace. It's not clear if the train was initially moving very fast or if it only picked up speed after Working At Controls was active.
My hunch is that the bug is in the code path for Working At Controls, where it either doesn't take into consideration whether the train has fuel or not or in that it applies a constant speed instead of a relative increase to the base fueled or unfueled speed.