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

Train Crash in Depot with long long tracks #716

Closed
DorpsGek opened this issue Apr 4, 2007 · 3 comments
Closed

Train Crash in Depot with long long tracks #716

DorpsGek opened this issue Apr 4, 2007 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Apr 4, 2007

HankRearden opened the ticket and wrote:

I've created 10 trains and started them all at the same time with the green flag in the depot
The depot was connected to a very long line with no signals
Result: 10 train crashes in the depot

Repeating the same procedure I was able to reproduce it on the same line.

When I added signalling the trains did no longer crash.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/716
@DorpsGek
Copy link
Member Author

TrueBrain wrote:

The problem indeed appears to be the length of the track without signals. The code searches for a max depth for other signals or reasons to put a signal to red. When it doesn't find it, or when it aborts (like in this case), it goes wrong. When you make the track shorter for example, it also just works. I doubt there is an easy solution, so for now I would suggest to just not make such long non-signal tracks ;) Will be researched more...


This comment was imported from FlySpray: https://bugs.openttd.org/task/716#comment1166

@DorpsGek
Copy link
Member Author

SmatZ wrote:

The same scenario I described there -> http://tt-forums.net/viewtopic.php?t=29285&highlight=

Reason:
First train leave the depot, but the 'signal' in depot doesn't go red, so immediatelly leaves the second train... It is clearly connected with too long track without dividing signal. The buffer for tiles goes full (by tiles in direction of train's way), and the second direction (where the depot lies) is not even searched.
All 10 trains leave the depot at once and this leads to their crash.


This comment was imported from FlySpray: https://bugs.openttd.org/task/716#comment1362

@DorpsGek
Copy link
Member Author

SmatZ closed the ticket.

Reason for closing: Fixed

In r11802


This comment was imported from FlySpray: https://bugs.openttd.org/task/716

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant