Trains slowing down (mentally)

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
cwolves
Engineer
Engineer
Posts: 7
Joined: 31 May 2006 22:29

Trains slowing down (mentally)

Post by cwolves »

Recently, as I've been adding more and more and more trains -- I'm up to 600 now -- The trains have been getting "stupid". They don't load/unload as quickly, they don't start as fast when lights turn green, etc.

For example, I have a station that's ALWAYS been at 89-90%. Recently it's been at 75-80% on average, causing huge backups since the line is saturated with trains. Occasionally it drops below 70%. Note that there are ALWAYS empty trains sitting in the station, but they just sit there and don't load for a week or so game time.

Is this a common problem? Is there any way to fix it? I have a very fast system that should be able to handle this game no problem. I've been playing for ages, but this is my first 2048x2048 map...
User avatar
Ailure
Route Supervisor
Route Supervisor
Posts: 435
Joined: 26 Apr 2005 19:06
Location: Sweden

Post by Ailure »

I belive this is some side-effect of "improved loading algorithm" patch option. I heard about people turning that off due to that. :/ I wish it was a little bit more aggresive myself as the orginal loading algorithm is a bit stupid (as it shares cargo evenly over the trains...)
User avatar
RiTi
Transport Coordinator
Transport Coordinator
Posts: 374
Joined: 23 Jun 2006 10:24

Post by RiTi »

You have two problems.

One, the game gets slower with more vehicles. This causes trains to slower reaction. But the time is also slower. Therefor no problem. You can give the game more speed by turning all animations and, as Ailure said, improved loading algorithm off.

Two, with more and longer trains the game needs more time to handle all the actions. This means that loading at a station takes more time. Besides that the game itself is slower therefor you see more time between unloading and loading then with fast game play.
Keep life simple...
silenthunter
Engineer
Engineer
Posts: 4
Joined: 17 Nov 2006 17:28
Location: Peru

Post by silenthunter »

And why do trains slow speed before arriving to the station (after the first tile) from e.g. 150 mph to 36mph, then to 14mph, then 9mph and the 0?
User avatar
RiTi
Transport Coordinator
Transport Coordinator
Posts: 374
Joined: 23 Jun 2006 10:24

Post by RiTi »

silenthunter wrote:And why do trains slow speed before arriving to the station (after the first tile) from e.g. 150 mph to 36mph, then to 14mph, then 9mph and the 0?
Nice the same question just answerd. See http://www.tt-forums.net/viewtopic.php?t=28550
Keep life simple...
cwolves
Engineer
Engineer
Posts: 7
Joined: 31 May 2006 22:29

Post by cwolves »

RiTi wrote:You have two problems.

One, the game gets slower with more vehicles. This causes trains to slower reaction. But the time is also slower. Therefor no problem. You can give the game more speed by turning all animations and, as Ailure said, improved loading algorithm off.

Two, with more and longer trains the game needs more time to handle all the actions. This means that loading at a station takes more time. Besides that the game itself is slower therefor you see more time between unloading and loading then with fast game play.

My problem isn't the game speed, and my game isn't actually slowing down...it's the fact that the game's algorithms seem to be running on an independant clock from the actual game speed.

For example, I have 10 trains. 1 day takes 5 seconds of real time, and it takes OpenTTD .1 seconds to calculate everything each train is supposed to do that day. No problem.

Now I have 1,000 trains. 1 day still takes 5 seconds of real time, but now it takes OpenTTD 10 seconds to calculate what each train is supposed to do that day. Thus half the trains just get left out and do nothing!
User avatar
RiTi
Transport Coordinator
Transport Coordinator
Posts: 374
Joined: 23 Jun 2006 10:24

Post by RiTi »

cwolves wrote: My problem isn't the game speed, and my game isn't actually slowing down...it's the fact that the game's algorithms seem to be running on an independant clock from the actual game speed.

For example, I have 10 trains. 1 day takes 5 seconds of real time, and it takes OpenTTD .1 seconds to calculate everything each train is supposed to do that day. No problem.

Now I have 1,000 trains. 1 day still takes 5 seconds of real time, but now it takes OpenTTD 10 seconds to calculate what each train is supposed to do that day. Thus half the trains just get left out and do nothing!
It's logical that the pathfinder needs more time to handle a lot of vehicles. The calculation of 1 train is less time consuming then 1000 trains. The game speed is also dropping down with such a number of trains.
Keep life simple...
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 10 guests