train is lost - bug?
Moderator: OpenTTD Developers
train is lost - bug?
Is it known bug/feature?
I got "train is lost" message when train (diesel) is going from non-electrified to electrified part of the network.
Train itself move without problems.
Attached save can reproduce it (for example train 39).
I got "train is lost" message when train (diesel) is going from non-electrified to electrified part of the network.
Train itself move without problems.
Attached save can reproduce it (for example train 39).
- Attachments
-
- qamil Transport, 9th Nov 2018.sav
- (2.01 MiB) Downloaded 63 times
Formerly known as: McZapkie
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
-
- Tycoon
- Posts: 2792
- Joined: 22 Feb 2011 18:34
Re: train is lost - bug?
Are you sure you attached the correct save?
Just something that pops to my mind, can it be that the train needs maintenance at a depot, but that it just cleared the crossing/cannot reach that depot?
Just something that pops to my mind, can it be that the train needs maintenance at a depot, but that it just cleared the crossing/cannot reach that depot?
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
Re: train is lost - bug?
Strange, there was many messages on server, but after save, I can reproduce only one example, with train 39.Transportman wrote:Are you sure you attached the correct save?
Probably it is related with depot - there is 'service' order, but train have high reliability and order is skipped - in this moment message appears.
Re: train is lost - bug?
The first company also has lost trains, and eventually runs into a deadlock
At the left, a full train is waiting for a platform At the right the middle train is waiting for a free path This is however in a different company than train 39. Is there a difference in performance running on different tracks? I extended the catenary until the station, and didn't get the message any more. It's quite weird.
At the left, a full train is waiting for a platform At the right the middle train is waiting for a free path This is however in a different company than train 39. Is there a difference in performance running on different tracks? I extended the catenary until the station, and didn't get the message any more. It's quite weird.
Being a retired OpenTTD developer does not mean I know what I am doing.
-
- Tycoon
- Posts: 2792
- Joined: 22 Feb 2011 18:34
Re: train is lost - bug?
Oops, train 39 is in the other company, my bad.McZapkie wrote:Strange, there was many messages on server, but after save, I can reproduce only one example, with train 39.Transportman wrote:Are you sure you attached the correct save?
Probably it is related with depot - there is 'service' order, but train have high reliability and order is skipped - in this moment message appears.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
Re: train is lost - bug?
This is FS#6329.
@McZapkie: In particular this also causes your desyncs. The train is lost on the server, while it is not on newly joining clients (or when loading a savegame), so the train takes different routes on server and client.
@McZapkie: In particular this also causes your desyncs. The train is lost on the server, while it is not on newly joining clients (or when loading a savegame), so the train takes different routes on server and client.
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
Re: train is lost - bug?
in the really early days of YAPF i had a similar problem, where the cache got filled with different value depending on whether an electric or non-electric engine entered a mixed junction
Edit: dug out the bug report: https://bugs.openttd.org/task/988
Edit: dug out the bug report: https://bugs.openttd.org/task/988
Re: train is lost - bug?
I'm glad that desync source was clarified, I was worrying that some of my newgrfs are faulty.
Hope that is is feasible to localise and correct this bug, because partially electrified networks are part of the game both from economic point of view
(less maintenance costs of non-electrified tracks in contrary to cheaper running costs of electric locomotives) and from pathfinding purposes
(opportunity to force certain trains to certain platforms without using waypoints, which always occupy some precious tiles).
Hope that is is feasible to localise and correct this bug, because partially electrified networks are part of the game both from economic point of view
(less maintenance costs of non-electrified tracks in contrary to cheaper running costs of electric locomotives) and from pathfinding purposes
(opportunity to force certain trains to certain platforms without using waypoints, which always occupy some precious tiles).
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 33 guests