What is this NaN?
#1
Posted 02 July 2015 - 02:35 PM
OpenRailsLog.txt (24.82K)
Number of downloads: 168
P.S. I've had no issues with the Allegheny Rails V2.0 and FBL Commuter Edition routes. Which were the only ones I've used after downloading OR V1.0. Is this just a route issue?
#2
Posted 02 July 2015 - 03:00 PM
Lindsay
#3
Posted 02 July 2015 - 03:20 PM
Lindsayts, on 02 July 2015 - 03:00 PM, said:
Lindsay
That makes some sense actually...just after I posted this I went again trying to grab a screenshot when the game crashed and told me about a shape error of some kind.
#4
Posted 02 July 2015 - 03:31 PM
Just a quick scan of the log shows many missing sound files...that should be corrected. Once corrected the sound you experience in OR will be improved
The sound stream errors are not so important...just a mistake in adding up the total number of streams within a specific .sms file.
The "Cannot parse the constant number 27.2.2 in C:\1MSTS\trains\trainset\PGWR_Grain\PGWR_LO_100312_LD.wag:line 58" is easily fixed....goto line 58 in that wag file and change the 27.2.2 to read 27.2 >>> this is a common error in SLI equipment.
#5
Posted 02 July 2015 - 03:59 PM
R H Steele, on 02 July 2015 - 03:31 PM, said:
Just a quick scan of the log shows many missing sound files...that should be corrected. Once corrected the sound you experience in OR will be improved
The sound stream errors are not so important...just a mistake in adding up the total number of streams within a specific .sms file.
The "Cannot parse the constant number 27.2.2 in C:\1MSTS\trains\trainset\PGWR_Grain\PGWR_LO_100312_LD.wag:line 58" is easily fixed....goto line 58 in that wag file and change the 27.2.2 to read 27.2 >>> this is a common error in SLI equipment.
Alright then :sign_thanks: . Thank you sir. :furious: I have some work to do obviously. :)
#6
Posted 02 July 2015 - 06:12 PM
rrfan96, on 02 July 2015 - 03:59 PM, said:
You are very welcome. I chip away at the errors and warnings, each time I load a route. There is plenty of work to do. I cannot say for sure that all the missing sound files would eventually cause a failure in OR - like you experienced. It would take someone with knowledge of the code to determine that.
#7
Posted 03 July 2015 - 02:10 PM
rrfan96, on 02 July 2015 - 02:35 PM, said:
Different routes and rolling stock may trigger the problem, but any NaNs showing up (and the joint weird visual behaviours) are always OR bugs. They can be caused by calculations which are unstable or have very unusual inputs but we should be ensuring stability wherever we can and at least logging very unusual inputs as warnings, if not outright ignoring them.
#8
Posted 04 July 2015 - 12:28 AM
#9
Posted 09 July 2015 - 01:36 AM
1) When I try to add ORTSEngine() defination to an .eng file....
The loco disappears alongwith its consists, although pressing F7 shows the PLAYER tag at top of now invisible loco.
2) When I time accelerate greater than 4x.....
The train doesn't disappear, although no Tractive or braking forces appear to work and train gradually loses speed.
The only solution is restarting the activity or explorer mode.
#10
Posted 09 July 2015 - 11:08 AM
Hamza97, on 09 July 2015 - 01:36 AM, said:
1) When I try to add ORTSEngine() defination to an .eng file....
The loco disappears alongwith its consists, although pressing F7 shows the PLAYER tag at top of now invisible loco.
2) When I time accelerate greater than 4x.....
The train doesn't disappear, although no Tractive or braking forces appear to work and train gradually loses speed.
The only solution is restarting the activity or explorer mode.
I also got a NaN time accelerating very much. The NaN referred to the speed value: in the cabview speed digital indicator the speed value disappeared, and a big, big NaN strign appeared. Obviously I wasn't able to reproduce this.