Navigation Menu

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 · 2 comments
Labels
bug Something isn't working component: pathfinder This issue is related to Pathfinder

Comments

@James103
Copy link
Contributor

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".
@LordAro LordAro added bug Something isn't working component: pathfinder This issue is related to Pathfinder labels Apr 12, 2021
@LordAro
Copy link
Member

LordAro commented Apr 12, 2021

Confirmed with f9460c0 (well, based on anyway)

Building on pause is unnecessary. If the track is not a loop, the train (almost?) immediately starts moving again

@James103
Copy link
Contributor Author

This is still an issue on 88a046a as described above.
Windows 10, 64-bit (via Steam).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: pathfinder This issue is related to Pathfinder
Projects
None yet
Development

No branches or pull requests

2 participants