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

Ships are lost on very short routes. #4325

Closed
DorpsGek opened this issue Dec 23, 2010 · 6 comments
Closed

Ships are lost on very short routes. #4325

DorpsGek opened this issue Dec 23, 2010 · 6 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Gummipalle opened the ticket and wrote:

No crash or anything, but in the newest nightly, all of my passenger ships flash notifications saying they are lost everytime they leave a port, taking away screen time from and important real notifications, and cluttering up my brain.
Rather annoying. They reach their destinations fine and make money, no delays. Just a popup saying "ship so and so" is lost.
The notifications disappear quickly though, almost instantly, why I think it must be a bug...
Ship sailing distance is under one screen-width.

Reported version: trunk
Operating system: Windows


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

Rubidium wrote:

Please provide a savegame. It seems to work just fine for my testcase, but maybe you've got some different pathfinder settings and such.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4325#comment9312

@DorpsGek
Copy link
Member Author

Krille wrote:

After the "vehicle is lost" system was generalized to all vehicle types I couldn't get any such message to show up.

In a new game I had a short piece of of rail or road, two stations and a depot. I ordered a vehicle to go to the stations and the depot. Then I removed one or two pieces of track before and behind the vehicle. Considering the news backlog I didn't get a message, the vehicles just turned around. However I didn't have time to further investigate on this issue.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4325#comment9313

@DorpsGek
Copy link
Member Author

frosch wrote:

Krille: That is correct. The "vehicle is lost" message is generated by the pathfinders, so only when the pathfinder is actually run. The pathfinders run only at junctions, not when the vehicle has no choice.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4325#comment9314

@DorpsGek
Copy link
Member Author

Gummipalle wrote:

Here is the save and a screenshot of the distance between the two ports...

Ships 8 and 9 are constantly lost...

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4325#comment9316

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Hmm, the old ship pathfinder is the one causing the trouble. That one is kinda stupid as it limits its searching to four turns, which means that when the ship is facing the wrong way at the dock more than 4 turns are needed for finding the path to the other dock, and as such it's thinking it's lost for a short while (lost means: can't find route to destination).


This comment was imported from FlySpray: https://bugs.openttd.org/task/4325#comment9324

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r21631


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

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Vehicles labels Apr 7, 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