Elvas Tower: Cannot Parse Constant NAN in TDB... - Elvas Tower

Jump to content

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

Cannot Parse Constant NAN in TDB... Rate Topic: -----

#1 User is offline   eolesen 

  • Superintendant
  • Group: Private - Open Rails Developer
  • Posts: 1,546
  • Joined: 30-October 10
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 19 December 2020 - 07:18 AM

Clearly I've done something bad with track editing... I'm now finding these types of errors in my TDB, which are warnings in the ORTS log but aren't preventing the game engine or TSRE from running since these phantom vectors seem to be isolated....



		TrackNode ( 724
			TrVectorNode (
				TrVectorSections ( 1 1 23615 -11543 14423 192 2 3 00 -11543 14423 nan 175.59676 nan nan nan 0 )
			)
			TrPins ( 1 1
				TrPin ( 725 1 )
				TrPin ( 2715 1 )
			)
		)
		TrackNode ( 725
			TrEndNode ( 0 )
			UiD ( -11543 14423 192 2 -11543 14423 nan 175.59676 nan nan nan 0 )
			TrPins ( 1 0
				TrPin ( 724 1 )
			)
		)

		TrackNode ( 2715
			TrEndNode ( 0 )
			UiD ( -11543 14423 192 3 -11543 14423 nan nan nan nan nan 0 )
			TrPins ( 1 0
				TrPin ( 724 0 )
			)
		)
		TrackNode ( 2711
			TrVectorNode (
				TrVectorSections ( 1 1 23615 -11543 14423 192 4 5 00 -11543 14423 nan 175.59676 nan nan nan 0 )
			)
			TrPins ( 1 1
				TrPin ( 2714 1 )
				TrPin ( 2717 1 )
			)
		)
		TrackNode ( 2712
			TrEndNode ( 0 )
			UiD ( -11543 14423 192 0 -11543 14423 nan 175.59676 nan nan nan 0 )
			TrPins ( 1 0
				TrPin ( 2716 1 )
			)
		)
		TrackNode ( 2714
			TrEndNode ( 0 )
			UiD ( -11543 14423 192 4 -11543 14423 nan 175.59676 nan nan nan 0 )
			TrPins ( 1 0
				TrPin ( 2711 1 )
			)
		)
		TrackNode ( 2715
			TrEndNode ( 0 )
			UiD ( -11543 14423 192 3 -11543 14423 nan nan nan nan nan 0 )
			TrPins ( 1 0
				TrPin ( 724 0 )
			)
		)
		TrackNode ( 2716
			TrVectorNode (
				TrVectorSections ( 1 1 23615 -11543 14423 192 0 1 00 -11543 14423 nan 175.59676 nan nan nan 0 )
			)
			TrPins ( 1 1
				TrPin ( 2712 1 )
				TrPin ( 1970 1 )
			)
		)
		TrackNode ( 2717
			TrEndNode ( 0 )
			UiD ( -11543 14423 192 5 -11543 14423 nan nan nan nan nan 0 )
			TrPins ( 1 0
				TrPin ( 2711 0 )
			)
		)


It references UiD 192 and a sr_3tstr_y_050m.s track item in that particular W file, which doesn't exist... Curious if anyone else has run into this and knows of a hack to resolve it within the TDB.

#2 User is offline   vince 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,312
  • Joined: 18-June 14
  • Gender:Male
  • Location:West of the Contental Divide
  • Simulator:ORTS_Running MSTS_Editing
  • Country:

Posted 19 December 2020 - 01:21 PM

Hi Eric,
The Hack function has a delete Tree which could be used.
I used it once in the PRR rebuild and it did remove all the TDB in that particular tree leaving just the static track shapes which I restored clicking one track section at a a time. Saving each time!

vince


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