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
Pathfinder doesn't consider blocked tiles past destination station #7941
Comments
I'm not sure exactly what you're describing, could you provide a save or image (with path reservations on)? I wish stations had built in signals (2) but it would be a major change. Currently you can usually get the same behavior by putting two way path signals on the end(s) of your station. |
I personally have run into situations like this where trains get stuck deciding at PBS. I don't know if the devs would consider it a bug though. It may be possible to fix/improve based on some yapf settings. For this situation specifically you can fix it by using block signals at the entrance instead of PBS |
the problem here is that pathfinding and path reserving happens in two separate phases:
|
This bug was also reported, with another example savegame and explanation, as #11506. |
After watching OpenTTD trains for many hours I conclude that the most notable pathfinding problem is that when a train has left a station but stopped (due to breakdown or waiting at a signal) with the last car on the tile after the station exit, where a signal is, the next trains sees that the whole station track is free and decides to wait for that particular station track, possibly indefinitely, even though another station track is available. Thus it blocks the whole queue of trains to the station.
This could be fixed in either of the following 2 ways:
The text was updated successfully, but these errors were encountered: