Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues found starting/stopping trains due to conversion of (un)electrified rail #7971

Open
James103 opened this issue Feb 2, 2020 · 0 comments
Open

Comments

@James103
Copy link
Contributor

@James103 James103 commented Feb 2, 2020

Version of OpenTTD

Last tested: d7a928a-windows-win32 (Windows 7 Ultimate)

Expected results

A. When de-electrifying electrified track with a single electric vehicle on it, the train gradually stops (vehicle state set to "Stopping, XX km/h")
B. When re-electrifying track with a single electric vehicle on it, the train should either remain stopped or automatically start back up. Attempting to restart the train succeeds normally.
C. When placing signals over track with single engines on it, the train does not stop.

Actual results

A. When de-electrifying electrified track with a single electric vehicle on it, the train instantly stops (velocity set to 0 in track conversion routine).
B. When re-electrifying track with a single electric vehicle on it, the train remains stopped. Attempting to restart the train gives "Waiting for free path" despite a closed loop with 1 train and no signals.
C. When placing signals over track with single engines on it, the train instantly stops.

Steps to reproduce

  1. Build track and a depot as shown.
    image
  2. Buy a single electric vehicle in the depot. For example, buy one "SH '30'".
  3. Start the train.
  4. When the train has exited the depot, demolish the depot and replace it with a straight piece of electrified track, as shown. The train should be going normally, it should say "No orders, X km/h".
    image
  5. Pause the game and enable build on pause.
  6. De-electrify the track where the train is on. The train will instantly (not gradually) stop.
  7. Re-electrify the track where the train is on. The train will stay "Stopped".
  8. Re-start the train. It will say "Waiting for free path".
  9. When the train is on a straight piece of track, place a normal bidirectional signal over said track. The train will instantly stop and say "Waiting for free path".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.