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

Road vehicle pathfinding failure, avoids finding it's destination #2330

Closed
DorpsGek opened this issue Oct 3, 2008 · 4 comments
Closed

Road vehicle pathfinding failure, avoids finding it's destination #2330

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

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Oct 3, 2008

letharion opened the ticket and wrote:

Problem:
In the town "Bradhattan", which is in focus when the game loads, has 6 buses.
5 of these loop around the town as expected between the two stations.
The last one, vehicle 3, however has gotten stuck in some (infinite?) loop and never seems to be getting to the station. (See Bug1.sav)
In fact, the bus even seems to avoid the station altogether. If I remove roads here and there to force it to break its loop and
find a new route it refuses to find the station until I remove roads so it has no choice but to enter the station.
After that however it enters a new bugged loop. (See Bug2.sav)

"Solution":
Opening my savegame in openttd-trunk-r14438-linux-generic-i686 the bus finds it's destination, but I can't seem to find
a closed bug that is clearly this problem that has been fixed after 6.3, so I'm filing this bug anyway.

Other info:
I have seen this problem repeatedly during my current game. I can't remember seeing it in an previous version of the game.
This COULD be a dupe of #2294, but loading that game in 6.3 I don't see anything weird, so I'm not sure.

Attachments

Reported version: 0.6.3
Operating system: All


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

DorpsGek commented Oct 3, 2008

Rubidium wrote:

We need a game from before it goes into that infinite loop to determine what really goes wrong.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2330#comment4809

@DorpsGek
Copy link
Member Author

DorpsGek commented Oct 3, 2008

Rubidium wrote:

The vehicle tries to go to a location (a specific tile) where is no road and where is no station, which makes it circle around the vehicle. That is works "correctly" in trunk is just because some changes made it invalidate it's destination cache on loading the game so it had to refind it's destination. "Refinding" the destination in 0.6.3 can simply be emulated by skipping the vehicle orders two times.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2330#comment4810

@DorpsGek
Copy link
Member Author

DorpsGek commented Oct 5, 2008

letharion wrote:

I take it you already understand the problem enough to no longer need another save? I don't think I have one anyway ;)
If it is necessary however I might be able to recreate the problem again, and save before and after.


This comment was imported from FlySpray: https://bugs.openttd.org/task/2330#comment4818

@DorpsGek
Copy link
Member Author

DorpsGek commented Oct 7, 2008

Rubidium closed the ticket.

Reason for closing: Fixed

In r14446. Savegames already affected by this bug won't automagically fix themselves though.


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

@DorpsGek DorpsGek closed this as completed Oct 7, 2008
@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Vehicles 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