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

Inconsistent behaviour regarding "stop" at depot orders #5672

Closed
DorpsGek opened this issue Jul 26, 2013 · 1 comment
Closed

Inconsistent behaviour regarding "stop" at depot orders #5672

DorpsGek opened this issue Jul 26, 2013 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

fonsinchen opened the ticket and wrote:

When stopping at a depot and then being manually restarted vehicles will create links in the link graph between their last stop before the depot and the next stop after it. The order prediction algorithm, however, assumes that stopping in a depot means the vehicle probably won't reach the next stop after the depot any time soon and consequently the loading algorithm won't load any cargo waiting for the link onto the vehicle.

There are two ways of solving this:

  1. As implemented in ulfhermann/openttd@7782bdf, just invalidate the last_loading_station when stopping in a depot. That will prevent the creation of the link.
  2. Ignore the "stop" attribute when predicting the next hop and do load cargo onto the vehicle. krinn favours this solution, as stated in # openttd on July 22nd 2013.

See also http://www.tt-forums.net/viewtopic.php?f=31&t=67085 for a save game and explanation.

Reported version: trunk
Operating system: All


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

fonsinchen closed the ticket.

Reason for closing: Fixed

r25636


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

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