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

[Bug]: Trains on different track types can collide in end-to-end stations #10493

Open
DFEvans opened this issue Feb 19, 2023 · 2 comments
Open
Labels
bug Something isn't working

Comments

@DFEvans
Copy link

DFEvans commented Feb 19, 2023

Version of OpenTTD

13.0, Windows 10

Expected result

Trains of different types (railway, monorail, maglev) arrive in the end-to-end stations without colliding (as neither will pass onto the 'other' track type), or the signalling system will prevent them from using the track simultaneously.

Actual result

The trains are allowed to use the station simultaneously and collide.

Steps to reproduce

To recreate from scratch:

  1. Place a Railway, Monorail, or Maglev station
  2. Using a different track type, place another station on the end of the first, as if you were extending it
  3. Timetable trains to use both halves of the station, and ensure they will be stopped in the platform simultaneously
  4. When the second of the two trains arrives, it will collide with the one already in the platform

Attached save has this scenario set up, with a Monorail - Maglev station. After unpausing, the monorail train will arrive second, colliding with the maglev.

MonoMaglev.zip

Station layout in question - a 1x3 Monorail station end-on to a 1x3 Maglev station.
image

(Based on a report on Reddit: https://www.reddit.com/r/openttd/comments/115mc5d/in_rare_cases_using_a_path_signal_can_cause/)

@2TallTyler
Copy link
Member

Related issue, the same can happen with depots: #8424

@PeterN
Copy link
Member

PeterN commented Feb 20, 2023

Retracted that comment, the trains do not actually go past the end of the tile in this instance, but they do touch.

@2TallTyler 2TallTyler added the bug Something isn't working label Feb 20, 2023
TrevorShelton added a commit to TrevorShelton/OpenTTD that referenced this issue Apr 2, 2023
… correct incorrect crash circumstances.

Collision sensitivity was lowered in a way that both problematic circumstances
appear to be rectified while true collisions still seem to function fully. (An
idea of making the trains "park in" a little less also comes to mind, but this
patch seems sufficient to resolve the overall issue.)
TrevorShelton added a commit to TrevorShelton/OpenTTD that referenced this issue Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants