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

"Unable to find local depot" on dead-end tram tracks (regardless of location) #8123

Closed
James103 opened this issue May 7, 2020 · 2 comments
Closed

Comments

@James103
Copy link
Contributor

@James103 James103 commented May 7, 2020

Version of OpenTTD

20200504-master

Expected result

When ordered to go to depot, the tram stops at the depot.

Actual result

An error message appears.
image

This appears to be specific to trams only. Does not occur with road vehicles or trains.

Steps to reproduce

  1. Load a tram newGRF.
  2. Build a tram depot and tram tracks as shown.
  3. Buy and start any tram.
  4. Wait until tram is on a dead-end tram track tile.
  5. Order the tram to go to depot.
@ilayaraja97
Copy link
Contributor

@ilayaraja97 ilayaraja97 commented May 15, 2020

I do want to try this issue but I couldn't figure out how the path finding is done. :)

@James103
Copy link
Contributor Author

@James103 James103 commented Oct 13, 2020

Most likely still occurs as of 53a3d94 (and none of the JGRPP commits fixed it) - tried with same reproduction steps.

Also, I checked each of the diffs in the recent commits, and none of the later commits in the master branch touched any road vehicle pathfinder code.

TrueBrain added a commit to TrueBrain/OpenTTD that referenced this issue Feb 23, 2021
Basically, follow_track.hpp contains a fix for half-tiles, but
this wasn't duplicated for when trying to find a depot.
TrueBrain added a commit to TrueBrain/OpenTTD that referenced this issue Feb 23, 2021
Basically, follow_track.hpp contains a fix for half-tiles, but
this wasn't duplicated for when trying to find a depot and in
a few other places. This makes sure all places act the same.
TrueBrain added a commit to TrueBrain/OpenTTD that referenced this issue Feb 24, 2021
Basically, follow_track.hpp contains a fix for half-tiles, but
this wasn't duplicated for when trying to find a depot and in
a few other places. This makes sure all places act the same.
TrueBrain added a commit to TrueBrain/OpenTTD that referenced this issue Feb 24, 2021
Basically, follow_track.hpp contains a fix for half-tiles, but
this wasn't duplicated for when trying to find a depot and in
a few other places. This makes sure all places act the same.
@TrueBrain TrueBrain closed this in d4583fa Feb 25, 2021
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
3 participants