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

Train runs through station without pickup up load the 2nd time it visites the station. #4039

Closed
DorpsGek opened this issue Aug 16, 2010 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

gjvantrier opened the ticket and wrote:

Mac OS X 10.6.4
OpenTTD r20486

Situation:
Train ignores station after visiting it for the 2nd time without unloading prior at drop-station (it just runs through the station without picking up any load).

This only happens when you use a way-point for conditional order checks. If you use a 1-tile station the train will pick up load the 2nd time it enters the station.

There is an save-game attached to show this problem: 4 trains, 3 of them use the way-point and ignore the pickup-station. 1 of them uses the 1-tile-station and acts normal. For the purpose to show this error more clearly I've disabled the other stations so all 4 trains will go through the same station.

This save-game is an edited version of the tutorial example posted at opendttdcoop:

http://blog.openttdcoop.org/2009/12/28/srnw-with-subnetworks/
http://wiki.openttdcoop.org/File:Srnw2.sav

Attachments

Reported version: Version?
Operating system: Mac OS X


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

Vitus wrote:

This also happens without conditional orders in some cases. Attaching savegame which should help to document this behaviour.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4039#comment8551

@DorpsGek
Copy link
Member Author

Rubidium wrote:

That's perfectly "normal" behaviour and it is meant to not keep trapped in the same station (and to actually be able to get out of the station). The behaviour of ignoring the station where it last stopped is needed to actually leave the station as that is the only way to determine whether it actually has stopped there or whether it is just entering it for the first time.
Then, whenever it finds that it's heading to a station it resets that variable. What you are doing falls, in my opinion, quite far outside of the scope of the intended use of OpenTTD.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4039#comment8552

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r20580


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

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