Elvas Tower: Midnight traffic - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Midnight traffic Rate Topic: -----

#1 User is offline   Icik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 308
  • Joined: 19-April 15
  • Simulator:Open Rails
  • Country:

Posted 12 December 2015 - 11:53 AM

Hi-OR engineers :-)

you could do something please about the problem of traffic that does not want to boot up after midnight?

I give here a simple activity, where the track Hisatsu Line are 2 cars KIHA. The first (player) starts up at 23:59:00 and the second (traffic) starts up in 0:00:02.
In MSTS everything works as it should, but OR does not want to show traffic at this time.

Thank you in advance for your willingness

Attached File(s)



#2 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,999
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 12 December 2015 - 12:54 PM

There is a - spiked - way out of this, see here http://www.elvastowe...after-midnight/

#3 User is offline   Icik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 308
  • Joined: 19-April 15
  • Simulator:Open Rails
  • Country:

Posted 12 December 2015 - 01:23 PM

So just added to the number 86400 the number of seconds to appear traffic. This will make sure OR automatically in new own editor.

Thanks Csantucci!

#4 User is offline   Coolhand101 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 998
  • Joined: 13-June 15
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 12 December 2015 - 03:14 PM

I created my own activity to test the above on dorset coast v6.

The activity starts at 23:59:00. The AI train starts at 00:00:02. OpenRails will not load the activity with the AI train at that start time. I have to tab to desktop. OR will report the following error :-

Run AI : 1 
Error: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'LoadingShader'.


Full log hereAttached File  OpenRailsLog.txt (21.05K)
Number of downloads: 388

Also does the second log warning of "Warning: System.InvalidOperationException: Category does not exist" point to the ttype file in the route main directory?

EDIT
The activity does load( should of been more patient), but it takes almost 3 minutes.

With the AI train adjusted to 23:59:30, the activity loads in 33 seconds. Not sure why the huge difference in load time.

At 0:00:02, the AI train does not show at all, even with the above manual time adjustment.

EDIT2

The activity now works 100%. The load time is 33 seconds and the AI train shows at 00:00:02.
The 'Service_Definition "Midnight Test-AI" reverted from 86402 to 2. Changed back to 86402 and all is well.




Thanks

#5 User is offline   Kapitaen13 

  • Hostler
  • Group: Status: Active Member
  • Posts: 80
  • Joined: 05-April 19
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 14 March 2021 - 08:01 AM

I'll write on here....

There is also a problem with the player train after midnight. When you arrive at the platform, the departure signal sounds immediately and the boarding of passengers is immediately completed.

https://up.picr.de/40744987ox.jpg

When creating the timetable for the activity, a time difference of 86400 seconds was already added. Without this addition, the arrival times on the second day are automatically marked in red. With the surcharge, a green arrival output occurs if the activity is on time.

https://up.picr.de/40744986gn.jpg

Is it not possible to calculate the boarding time here?

#6 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,999
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 16 March 2021 - 06:39 AM

Please try replacing the attached files in OR NewYear MG rev. 93. All your arrival and starting times after midnight for the player train must be increased by 86400 in the .act file.
Attached File  Orts.Simulation.zip (1.4MB)
Number of downloads: 328

#7 User is offline   Kapitaen13 

  • Hostler
  • Group: Status: Active Member
  • Posts: 80
  • Joined: 05-April 19
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 16 March 2021 - 08:05 AM

Thank you for this quick solution.

https://up.picr.de/40763070gb.jpg

It works fine now.

#8 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,999
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 16 March 2021 - 09:06 AM

The fix is now present in OR MewYear MG rev. 93.1. I'll generate a PR for the official OR releases if there won't be adverse reports.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users