Elvas Tower: Warning in OpenRailsLog.txt : Expecting a number.... - Elvas Tower

Jump to content

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

Warning in OpenRailsLog.txt : Expecting a number.... ...we found a ) marker.... Rate Topic: -----

#1 User is offline   StationWhere 

  • Fireman
  • Group: Status: Active Member
  • Posts: 117
  • Joined: 06-January 14
  • Gender:Male
  • Location:France
  • Simulator:MSTS, OR
  • Country:

Posted 17 March 2017 - 09:39 AM

Hello.
Since OpenRails run on my PC I had the purpose to ask a question about a warning.
To day, I will give you an exemple:
OpenRailsLog.tx
Warning: When expecting a number, we found a ) marker. Using the default 1 in E:\HorsUAC\Train Simulator\trains\trainset\SNCF_PTT\PTT_PA21_OCEM_M_VL_Beg.wag:line 9

This warning is generated about file.ENG or file.WAG with a FreightAnim instruction used for add details on the shape.
For exemple:
WAGON
SIMISA@@@@@@@@@@JINX0D0t______
Wagon ( PTT_PA21_OCEM_M_VL_Beg
comment(-------- Nom et formes --------)
Type ( Carriage )
WagonShape ( PTT_PA21_OCEM_M_VL.s )
Name ( "SNCF PTT deb" )
Freightanim ( Tsk_PTT_PAE21_M_Beg.s 1 1 ) <----------------------------- This is the line 9

..........

Do somebody can tell me How suppress this warning?
Thank you for your attention.

Attached thumbnail(s)

  • Attached Image: Capture0.JPG
  • Attached Image: Capture1.JPG


#2 User is offline   burgerbern 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 491
  • Joined: 26-May 06
  • Gender:Male
  • Location:UK
  • Simulator:ORTS
  • Country:

Posted 17 March 2017 - 09:54 AM

MSTS only expects 2 position statements OR expects 3 so your FA line instead of looking like this

Freightanim ( Tsk_PTT_PAE21_M_Beg.s 1 1 )

needs to look like this with an extra 1 in it

Freightanim ( Tsk_PTT_PAE21_M_Beg.s 1 1 1 )

#3 User is offline   R H Steele 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 3,404
  • Joined: 14-March 13
  • Gender:Male
  • Location:known universe
  • Simulator:Open Rails
  • Country:

Posted 17 March 2017 - 02:16 PM

Easiest method to remove warning is to add an extra 1

Use any of the search&replace programs/utilities to search for .s 1 1 and replace it with .s 1 1 1
The only place in any of the eng or wag files I've found the phrase .s 1 1 is in the Freightanim section.
MSTS will run okay with the modification.

Here's the link to the utility that I find useful >>> http://www.funduc.co...rch_replace.htm

#4 User is offline   StationWhere 

  • Fireman
  • Group: Status: Active Member
  • Posts: 117
  • Joined: 06-January 14
  • Gender:Male
  • Location:France
  • Simulator:MSTS, OR
  • Country:

Posted 18 March 2017 - 12:58 AM

Hello.
Wahou! I Sincerely thank you!
Best regards

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