The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: ӔO on May 10, 2013, 11:46:36 PM

Title: Convoys ignore schedules
Post by: ӔO on May 10, 2013, 11:46:36 PM
I'm not entirely sure why it happened, but on the server game, convoys no longer obey schedules and depart immediately upon arrival.

Most evident on freight lines, where convoys will depart empty
Title: Re: Convoys ignore schedules
Post by: jamespetts on May 11, 2013, 12:10:07 AM
Hmm - odd. Can you reproduce this error in the latest RC?
Title: Re: Convoys ignore schedules
Post by: ӔO on May 11, 2013, 12:39:36 AM
The problem persists when loading the server game with the latest RC
Title: Re: Convoys ignore schedules
Post by: jamespetts on May 11, 2013, 01:18:31 AM
Can you recreate the problem creating a new game? Where in the saved game can this be observed?
Title: Re: Convoys ignore schedules
Post by: ӔO on May 11, 2013, 02:31:08 AM
I'm not entirely sure what caused the bug in the first place, but it seems like convoys scheduled to wait at stops will only wait for less than 1/64 or 6:00

An easy place to see this in action is at Hatton iron mine, where the trains are supposed to wait until full load, but leave empty.
Title: Re: Convoys ignore schedules
Post by: jamespetts on May 11, 2013, 12:14:32 PM
Thank you for spotting that - a very old error that only shows up on extremely long games. Now fixed.
Title: Re: Convoys ignore schedules
Post by: Milko on May 12, 2013, 08:40:18 PM
Hello

The fix solves the problem or refer it for some time?

Giuseppe
Title: Re: Convoys ignore schedules
Post by: jamespetts on May 12, 2013, 09:18:27 PM
By "refer" do you mean "defer"? Strictly speaking, the problem is indeed deferred for some time - but "some time" here means  9,223,372,036,854,775,807 milliseconds, which works out as 292,471 years of playing time, so, practically, the problem is fixed.

(Previously, the problem would occur after 2,147,483,647 (http://en.wikipedia.org/wiki/2147483647_%28number%29) milliseconds of playing time, which equates to 24.9 days...)