Elvas Tower: Envfiles|sun.Env WARNING - Elvas Tower

Jump to content

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

Envfiles|sun.Env WARNING Rate Topic: -----

#1 User is offline   NZ_JOHN 

  • Fireman
  • Group: Status: Active Member
  • Posts: 183
  • Joined: 15-September 16
  • Gender:Male
  • Location:New Zealand
  • Simulator:OR
  • Country:

Posted 29 April 2023 - 07:45 PM

i keep getting an error in the Sun.Env file in Folder ENVFILES.
Warning: When expecting a number, we found a ) marker. Using the default -1 in O:\Train Simulator\ROUTES\NZ_NIMT\ENVFILES\sun.env:line 185
Ive narrowed it down to LINE 153 World_shy_satellite_light ()
What number, if any, should be in the brackets?
Thanks from New Zealand

#2 User is online   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 6,975
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 29 April 2023 - 07:57 PM

Hello.
So, 185, or 153 actually?

#3 User is offline   NZ_JOHN 

  • Fireman
  • Group: Status: Active Member
  • Posts: 183
  • Joined: 15-September 16
  • Gender:Male
  • Location:New Zealand
  • Simulator:OR
  • Country:

Posted 29 April 2023 - 08:46 PM

Both lines 153 and 185 (TWO ERRORS)

#4 User is offline   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,781
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

Posted 29 April 2023 - 09:00 PM

Start with a zero.

#5 User is offline   NZ_JOHN 

  • Fireman
  • Group: Status: Active Member
  • Posts: 183
  • Joined: 15-September 16
  • Gender:Male
  • Location:New Zealand
  • Simulator:OR
  • Country:

Posted 29 April 2023 - 09:09 PM

One of the original Japan Routes had a ( 1 ) so I tried it, it works with no errors
Just checked ( 0 ) it also works
THANKS

#6 User is offline   NZ_JOHN 

  • Fireman
  • Group: Status: Active Member
  • Posts: 183
  • Joined: 15-September 16
  • Gender:Male
  • Location:New Zealand
  • Simulator:OR
  • Country:

Posted 30 April 2023 - 02:57 AM

Another question
When a new route is loaded using TSRE where does it pick up the standard files from (Eg ENVFILES, Shapes, Texture)
I know there was a folder in MSTS called template but I only use OpenRails
Id like to clean up some of the shapes etc files for future new routes
THANKS

#7 User is online   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 6,975
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 30 April 2023 - 04:03 AM

It is being taken from TSRE template route, downloaded during TSRE installation.

#8 User is offline   ebnertra000 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,234
  • Joined: 27-February 17
  • Gender:Male
  • Location:East-Central Minnesota
  • Simulator:OR/TSRE
  • Country:

Posted 30 April 2023 - 06:00 AM

I've recently started getting these errors on routes where the .env files have not been modified, and no errors appeared before. Is OR suddenly using information from .env files?

#9 User is online   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 6,975
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 30 April 2023 - 06:58 AM

Yes, James have started some work about route-specific sunset/sunrise times.

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