Delayed Vehicles

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
User avatar
Dwight_K._Schrute
Traffic Manager
Traffic Manager
Posts: 209
Joined: 01 Sep 2010 11:29

Delayed Vehicles

Post by Dwight_K._Schrute »

Hey,

I'm playing with timetables. And as my cities grow to about 15.000 I get a really big problem:

In some stations my trains don't leave on time. Sometimes they stay 30 days or longer (timetable says 5-6 days). The reason for this is their loading behaviour... 23 % 25% 27% 28% ... Everytime a new passanger arrives the train waits... why can't it just leave???

Has anybody else this problem??

There should be a solution in trunk:

http://hg.openttd.org/openttd/trunk.hg/rev/6ea28b62f3ff

I have that version and it still don't works... ?(
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Delayed Vehicles

Post by Eddi »

are you sure you are using the trunk version (from when?) what does the title in the main menu say?

best to provide a savegame that exhibits the behaviour.
User avatar
Dwight_K._Schrute
Traffic Manager
Traffic Manager
Posts: 209
Joined: 01 Sep 2010 11:29

Re: Delayed Vehicles

Post by Dwight_K._Schrute »

Eddi wrote:are you sure you are using the trunk version (from when?) what does the title in the main menu say?

best to provide a savegame that exhibits the behaviour.
Hey Eddi,

it's a self-compiled version... it says norev000 (dont't know why ?( ) But I looked in the source code and the changes from the link (see above) are in it.

I'll attach my version and the savegame. Look for IC Reutlingen-Bischofsh.... every train is delayed there...
Attachments
Green & Co., 14. Jan 1980.sav
Savegame
(384.05 KiB) Downloaded 95 times
User avatar
Dwight_K._Schrute
Traffic Manager
Traffic Manager
Posts: 209
Joined: 01 Sep 2010 11:29

Re: Delayed Vehicles

Post by Dwight_K._Schrute »

Am I alone with this problem or what?? :shock:
Vitus
Traffic Manager
Traffic Manager
Posts: 157
Joined: 11 Mar 2009 15:15

Re: Delayed Vehicles

Post by Vitus »

Have you tried if it happens in clean trunk (i.e. latest nightly)?
Image
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Delayed Vehicles

Post by planetmaker »

Dwight_K._Schrute wrote:Am I alone with this problem or what?? :shock:
Trunk should have received a fix for that somewhat recently
User avatar
Dwight_K._Schrute
Traffic Manager
Traffic Manager
Posts: 209
Joined: 01 Sep 2010 11:29

Re: Delayed Vehicles

Post by Dwight_K._Schrute »

planetmaker wrote:
Dwight_K._Schrute wrote:Am I alone with this problem or what?? :shock:
Trunk should have received a fix for that somewhat recently
I know (see first post) ... but in my game it still occurs... don't know my exact version but it is 20700+...

Vitus wrote:Have you tried if it happens in clean trunk (i.e. latest nightly)?
maybe I should do that... but then I can't play with my savegame and it's really boring for me to play without cargodist... and it takes a while till the problem occurs.... Do you think it's a cargoDist problem?
Brumi
President
President
Posts: 921
Joined: 18 Jul 2009 17:54

Re: Delayed Vehicles

Post by Brumi »

Just a wild guess...
Are the platforms long enough for the trains? Because if the trains are longer than the stations, they will load very slowly.
User avatar
Dwight_K._Schrute
Traffic Manager
Traffic Manager
Posts: 209
Joined: 01 Sep 2010 11:29

Re: Delayed Vehicles

Post by Dwight_K._Schrute »

Brumi wrote:Just a wild guess...
Are the platforms long enough for the trains? Because if the trains are longer than the stations, they will load very slowly.
Yes they are :) It's not because there are too much passengers.... but they arrive one after another... and my train driver waits for them... nice for them.. not nice for me :)
Steve-N
Engineer
Engineer
Posts: 4
Joined: 08 Feb 2010 05:45

Re: Delayed Vehicles

Post by Steve-N »

Dwight_K._Schrute wrote: There should be a solution in trunk:

http://hg.openttd.org/openttd/trunk.hg/rev/6ea28b62f3ff

I have that version and it still don't works... ?(
That issue has been bothering me for quite a while already. r20506 looks like a nice try to fix this issue, but doesn't really. It can fail on multiple-unit trains: It assumes all vehicles are full when only one is full. And if it would make the vehicle leave, it can leave early when timetables are being used.

Attached is an updated leave_on_time patch for r20839, that should fix it.
Attachments
steve-n_r20839_leave_on_time.patch
(1.6 KiB) Downloaded 94 times
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Delayed Vehicles

Post by Eddi »

making trains leave just because their timetable says so is not desired. that's a very useless feature in almost any imaginable situation. a train with a too strict timetable would just keep running around empty. how silly...

"dear passengers. our ICE from Berlin to Köln is currently running 20 minutes late. due to that, we will stop at Wolfsburg, but not open the doors. thank you for riding with us."

maybe you should explain a little better what you think is wrong with the current implementation?
Steve-N
Engineer
Engineer
Posts: 4
Joined: 08 Feb 2010 05:45

Re: Delayed Vehicles

Post by Steve-N »

Eddi wrote:making trains leave just because their timetable says so is not desired. that's a very useless feature in almost any imaginable situation. a train with a too strict timetable would just keep running around empty. how silly...

"dear passengers. our ICE from Berlin to Köln is currently running 20 minutes late. due to that, we will stop at Wolfsburg, but not open the doors. thank you for riding with us."
http://bugs.openttd.org/task/2534 never did that, the "Leave on time" order would have unloaded when running late, it just would not load in that case. Which could be useful when it's blocking the platform for the next scheduled train and will be picking up more cargo at the next stop anyway. But that part has been removed long time ago.
maybe you should explain a little better what you think is wrong with the current implementation?
What it used to do: (at Wolfsburg) "Dear travelers. Because passengers are slowly coming in in Berlin, our ICE from Berlin to Köln will be running 60 minutes late, and all seats will be occupied. All following ICE's to Köln will also be completely occupied and running even more late. Please go away."

Current trunk implementation is perfect 8)
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Delayed Vehicles

Post by Eddi »

Steve-N wrote:Current trunk implementation is perfect 8)
if that was supposed to be a joke, i really don't get it.

and if it was not, i really don't get your entire issue...
User avatar
Dwight_K._Schrute
Traffic Manager
Traffic Manager
Posts: 209
Joined: 01 Sep 2010 11:29

Re: Delayed Vehicles

Post by Dwight_K._Schrute »

Eddi wrote:making trains leave just because their timetable says so is not desired. that's a very useless feature in almost any imaginable situation. a train with a too strict timetable would just keep running around empty. how silly...
What?? Why would a train keep running around empty? If it is on time everything will be normal.. and if not ... ok tha would be a little bit weird to handle it like that. But with that behaviour the most delays won't happen in the first place..

I think it's silly to wait 5 hours in Berlin because of some single passengers....
Steve-N wrote: What it used to do: (at Wolfsburg) "Dear travelers. Because passengers are slowly coming in in Berlin, our ICE from Berlin to Köln will be running 60 minutes late, and all seats will be occupied. All following ICE's to Köln will also be completely occupied and running even more late. Please go away."
That's exactly what my game looks like... :mrgreen:
Steve-N
Engineer
Engineer
Posts: 4
Joined: 08 Feb 2010 05:45

Re: Delayed Vehicles

Post by Steve-N »

Eddi wrote:if that was supposed to be a joke, i really don't get it.

and if it was not, i really don't get your entire issue...
Time has passed, trunk got updated (r20506 and r20843), the issue should be gone now.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 4 guests