Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: At a loss.......

  1. #1
    Join Date
    Nov 1999
    Location
    Advance, NC
    Languages
    Reasonable attempt at English and Polish
    Posts
    2,420

    Default At a loss.......

    After many years of work and many resurrections, I've hit a wall and the limit of what I know about the sim and its behind the scenes works.... Ive been working 3-4 days to fix this and spent almost all night trying this and that and may be at the end of my sim experience. My last backup was 10-19 which is my bad....... but I cannot get this corrected. Can anyone help direct me to a possible fix?.......I realty don't want to waste over a months work let alone years but....... please help if you can.




    W(repeats) W(repeats) W(repeats) WWWWWWWW


    Error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at Orts.Simulation.Signalling.SignalObject.AddHead(In t32 trItem, Int32 TDBRef, SignalItem sigItem) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 9999
    at Orts.Simulation.Signalling.Signals.AddSignal(Int32 trackNode, Int32 nodeIndx, SignalItem sigItem, Int32 TDBRef, TrackSectionsFile tsectiondat, TrackDatabaseFile tdbfile, Boolean& validSignal) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 1084
    at Orts.Simulation.Signalling.Signals.ScanSection(TrI tem[] TrItems, TrackNode[] trackNodes, Int32 index, TrackSectionsFile tsectiondat, TrackDatabaseFile tdbfile, Dictionary`2 platformList, List`1 milepostList) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 960
    at Orts.Simulation.Signalling.Signals.BuildSignalList (TrItem[] TrItems, TrackNode[] trackNodes, TrackSectionsFile tsectiondat, TrackDatabaseFile tdbfile, Dictionary`2 platformList, List`1 milepostList) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 648
    at Orts.Simulation.Signalling.Signals..ctor(Simulator simulator, SignalConfigurationFile sigcfg, CancellationToken cancellation) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 128
    at Orts.Simulation.Simulator.Start(CancellationToken cancellation) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 416
    at Orts.Viewer3D.Processes.GameStateRunActivity.Start (UserSettings settings, String acttype, String[] args) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 288
    at Orts.Viewer3D.Processes.GameStateRunActivity.<>c__ DisplayClass35_0.<Load>b__3() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 159
    at Orts.Viewer3D.Processes.GameStateRunActivity.Load( ) in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 200
    at Orts.Viewer3D.Processes.LoaderProcess.Load() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 158
    at Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 138
    at Orts.Viewer3D.Processes.LoaderProcess.LoaderThread () in E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\LoaderProcess.cs:line 109
    at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()




    Loader: Time = 00:00:06.3310356 ms
    Loader: Expected = 114,557,679 bytes
    Loader: Actual = 115,397,676 bytes
    Loader: Difference = 839,997 bytes (0.7 %)


    Information: Game.PopState()
    CG

  2. #2
    Join Date
    Dec 2002
    Languages
    English, SQL
    Posts
    5,908

    Default

    Can you get a little bit more context about what's going on?

    Is this your own route? Have you been working a specific tile or adding new signal types?

    Right now, your kind of asking us to tell you what's in a paper bag in the trunk of a rental car parked 6 miles away...

    Sent from my SM-G981U using Tapatalk

  3. #3
    Join Date
    Nov 1999
    Location
    Advance, NC
    Languages
    Reasonable attempt at English and Polish
    Posts
    2,420

    Default

    Quote Originally Posted by eric View Post
    Can you get a little bit more context about what's going on?

    Is this your own route? Have you been working a specific tile or adding new signal types?

    Right now, your kind of asking us to tell you what's in a paper bag in the trunk of a rental car parked 6 miles away...

    Sent from my SM-G981U using Tapatalk
    Never know what info to post. In the past different people get on you about not enough this or that....or dont need all that....Sorry

    I am reworking the Buffalo route and am well into it, but after reworking an ole NYC hump yard at (78.81145 42.89282) I got this prompt which shut down the route.....thankfully not the sim. System.IndexOutOfRangeException: Index was outside the bounds of the array. I added receiving and departure yards and reworked the engine facility and took out redundant trackage. I generally remove all signals and siding info before changing anything. I did replace signals there but nothing that isnt stock to the route. It worked directly after then this prompt came up. Beyond what I know about the sim. The new RE works great with this....I`m sure its my mistake but cant figure out where, and how to fix
    CG

  4. #4
    Join Date
    Apr 2003
    Location
    Silicon Valley, CA, USA.
    Posts
    3,431

    Default

    The TSRE log might narrow the problem down to a specific signal. Have you looked there?
    Dave Nelson

    Seldom visiting, posting less often that that.

  5. #5
    Join Date
    Nov 1999
    Location
    Advance, NC
    Languages
    Reasonable attempt at English and Polish
    Posts
    2,420

    Default

    Quote Originally Posted by muskokaandtahoe View Post
    The TSRE log might narrow the problem down to a specific signal. Have you looked there?
    There are many warnings on signals. I've looked at trying to start to correct them, but don't fully understand the move to correct them. Not sure where to go for that
    CG

  6. #6
    Join Date
    Nov 1999
    Location
    Advance, NC
    Languages
    Reasonable attempt at English and Polish
    Posts
    2,420

  7. #7
    Join Date
    Oct 2008
    Location
    Lubec ME USA
    Posts
    571

    Default

    From a superficial look at the error, it looks like the system is trying to access a non-existent signal head, e.g. head 3 of a 2 head signal.

    Perhaps you could post your sigscr.dat and sigcfg.dat.

    Jon

  8. #8
    Join Date
    Nov 1999
    Location
    Advance, NC
    Languages
    Reasonable attempt at English and Polish
    Posts
    2,420

    Default

    Thank you for taking the time to look at this. What is the best way to post this? I cannot get them to upload in one file and not sure of the best way after that.
    CG

  9. #9
    Join Date
    Nov 1999
    Location
    Advance, NC
    Languages
    Reasonable attempt at English and Polish
    Posts
    2,420

    Default

    LightTextures ( 1
    LightTex ( "ltex" "SigLight.ace" 0 0 1 1 )
    )


    LightsTab ( 6
    LightsTabEntry ( "Red Light"
    colour ( 255 255 45 0 )
    )
    LightsTabEntry ( "Yellow Light"
    colour ( 255 255 200 20 )
    )
    LightsTabEntry ( "Green Light"
    colour ( 255 8 234 162 )
    )
    LightsTabEntry ( "Lunar Light"
    colour ( 255 211 228 254 )
    )
    LightsTabEntry ( "White Light"
    colour ( 255 255 255 200 )
    )
    LightsTabEntry ( "Amber Light"
    colour ( 255 255 255 80 )
    )
    )


    SignalTypes ( 31
    SignalType ( PL_Permissive_Upper
    SignalFnType ( NORMAL )
    SignalLightTex ( ltex )
    SigFlashDuration ( 0.5 0.5 )
    SignalFlags ( ABS )
    SignalLights ( 8
    SignalLight ( 0 "Amber Light"
    Position ( -0.454 0.0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 1 "Amber Light"
    Position ( 0.454 0.0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 2 "Amber Light"
    Position ( -0.320 0.320 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 3 "Amber Light"
    Position ( 0.320 -0.320 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 4 "Amber Light"
    Position ( 0 0.455 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 5 "Amber Light"
    Position ( 0 -0.455 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 6 "Amber Light"
    Position ( 0 0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 7 "Amber Light"
    Position ( 0 -2.0 0 )
    Radius ( 0.095 )
    )
    )
    SignalDrawStates ( 4
    SignalDrawState ( 0 Clear
    DrawLights ( 3
    DrawLight ( 4 )
    DrawLight ( 5 )
    DrawLight ( 6 )
    )
    )
    SignalDrawState ( 1 Approach
    DrawLights ( 3
    DrawLight ( 2 )
    DrawLight ( 3 )
    DrawLight ( 6 )
    )
    )
    SignalDrawState ( 2 "Stop and Proceed"
    DrawLights ( 4
    DrawLight ( 0 )
    DrawLight ( 1 )
    DrawLight ( 6 )
    DrawLight ( 7 )
    )
    )
    SignalDrawState ( 3 "Advance Approach"
    DrawLights ( 3
    DrawLight ( 2
    SignalFlags ( FLASHING )
    )
    DrawLight ( 3
    SignalFlags ( FLASHING )
    )
    DrawLight ( 6
    SignalFlags ( FLASHING )
    )
    )
    )
    )
    SignalAspects ( 4
    SignalAspect ( STOP_AND_PROCEED "Stop and Proceed"
    SpeedMPH ( 15 )
    )
    SignalAspect ( APPROACH_2 Approach
    SpeedMPH ( 30
    SignalFlags ( ASAP )
    )
    )
    SignalAspect ( APPROACH_3 Approach )
    SignalAspect ( CLEAR_2 Clear )
    )
    SignalNumClearAhead ( 4 )
    )
    SignalType ( PL_Permissive_Marker
    SignalFnType ( DISTANCE )
    SignalLightTex ( ltex )
    SigFlashDuration ( 0.5 0.5 )
    SignalFlags ( ABS )
    SignalLights ( 1
    SignalLight ( 0 "Amber Light"
    Position ( 0 0 0 )
    Radius ( 0.095 )
    )
    )
    SignalDrawStates ( 2
    SignalDrawState ( 0 "Stop and Proceed"
    DrawLights ( 1
    DrawLight ( 0 )
    )
    )
    SignalDrawState ( 1 Dark )
    )
    SignalAspects ( 2
    SignalAspect ( STOP_AND_PROCEED "Stop and Proceed"
    SpeedMPH ( 15 )
    )
    SignalAspect ( APPROACH_2 Dark )
    )
    SignalNumClearAhead ( 4 )
    )
    SignalType ( PL_Permissive_Lower
    SignalFnType ( NORMAL )
    SignalLightTex ( ltex )
    SigFlashDuration ( 0.5 0.5 )
    SignalFlags ( ABS )
    SignalLights ( 5
    SignalLight ( 0 "Amber Light"
    Position ( -0.320 0.320 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 1 "Amber Light"
    Position ( 0.320 -0.320 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 2 "Amber Light"
    Position ( 0 0.455 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 3 "Amber Light"
    Position ( 0 -0.455 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 4 "Amber Light"
    Position ( 0 0 0 )
    Radius ( 0.095 )
    )
    )
    SignalDrawStates ( 4
    SignalDrawState ( 0 "Approach Medium"
    DrawLights ( 3
    DrawLight ( 2 )
    DrawLight ( 3 )
    DrawLight ( 4 )
    )
    )
    SignalDrawState ( 1 "Approach Limited"
    DrawLights ( 3
    DrawLight ( 2
    SignalFlags ( FLASHING )
    )
    DrawLight ( 3
    SignalFlags ( FLASHING )
    )
    DrawLight ( 4
    SignalFlags ( FLASHING )
    )
    )
    )
    SignalDrawState ( 2 "Approach Slow"
    DrawLights ( 3
    DrawLight ( 0 )
    DrawLight ( 1 )
    DrawLight ( 4 )
    )
    )
    SignalDrawState ( 3 Dark )
    )
    SignalAspects ( 4
    SignalAspect ( STOP_AND_PROCEED Dark
    SpeedMPH ( 15 )
    )
    SignalAspect ( APPROACH_2 Dark
    SpeedMPH ( 30
    SignalFlags ( ASAP )
    )
    )
    SignalAspect ( APPROACH_3 "Approach Medium" )
    SignalAspect ( CLEAR_2 Dark )
    )
    SignalNumClearAhead ( 4 )
    )
    SignalType ( PL_ManualBlock
    SignalFnType ( NORMAL )
    SignalLightTex ( ltex )
    SigFlashDuration ( 0.5 0.5 )
    SignalFlags ( ABS )
    SignalLights ( 8
    SignalLight ( 0 "Amber Light"
    Position ( -0.455 0.0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 1 "Amber Light"
    Position ( 0.455 0.0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 2 "Amber Light"
    Position ( 0.320 0.30 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 3 "Amber Light"
    Position ( -0.320 -0.320 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 4 "Amber Light"
    Position ( 0 0.455 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 5 "Amber Light"
    Position ( 0 -0.455 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 6 "Amber Light"
    Position ( 0 0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 7 "Amber Light"
    Position ( 0 -2.0 0 )
    Radius ( 0.095 )
    )
    )
    SignalDrawStates ( 3
    SignalDrawState ( 0 "Clear Block"
    DrawLights ( 4
    DrawLight ( 4 )
    DrawLight ( 5 )
    DrawLight ( 6 )
    DrawLight ( 7 )
    )
    )
    SignalDrawState ( 1 Caution
    DrawLights ( 4
    DrawLight ( 2 )
    DrawLight ( 3 )
    DrawLight ( 6 )
    DrawLight ( 7 )
    )
    )
    SignalDrawState ( 2 "Permissive Block"
    DrawLights ( 3
    DrawLight ( 2 )
    DrawLight ( 3 )
    DrawLight ( 6 )
    )
    )
    )
    SignalAspects ( 3
    SignalAspect ( STOP_AND_PROCEED "Permissive Block"
    SpeedMPH ( 15 )
    )
    SignalAspect ( APPROACH_2 Caution
    SpeedMPH ( 30
    SignalFlags ( ASAP )
    )
    )
    SignalAspect ( CLEAR_2 "Clear Block" )
    )
    SignalNumClearAhead ( 4 )
    )
    SignalType ( PL_Absolute_Main_FixedRed
    SignalFnType ( NORMAL )
    SignalLightTex ( ltex )
    SigFlashDuration ( 0.5 0.5 )
    SignalLights ( 5
    SignalLight ( 0 "Amber Light"
    Position ( -0.455 0.0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 1 "Amber Light"
    Position ( 0.455 0.0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 2 "Amber Light"
    Position ( 0 0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 3 "Red Light"
    Position ( -0.455 0.0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 4 "Red Light"
    Position ( 0.455 0.0 0 )
    Radius ( 0.095 )
    )
    )
    SignalDrawStates ( 1
    SignalDrawState ( 0 Stop
    DrawLights ( 3
    DrawLight ( 0 )
    DrawLight ( 1 )
    DrawLight ( 2 )
    )
    )
    )
    SignalAspects ( 1
    SignalAspect ( STOP Stop
    SpeedMPH ( 0 )
    )
    )
    SignalNumClearAhead ( 1 )
    )
    SignalType ( PL_Absolute_Main
    SignalFnType ( NORMAL )
    SignalLightTex ( ltex )
    SigFlashDuration ( 0.5 0.5 )
    SignalLights ( 14
    SignalLight ( 0 "Amber Light"
    Position ( -0.455 0.0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 1 "Amber Light"
    Position ( 0.455 0.0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 2 "Amber Light"
    Position ( -0.32 0.32 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 3 "Amber Light"
    Position ( 0.32 -0.32 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 4 "Amber Light"
    Position ( 0 0.455 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 5 "Amber Light"
    Position ( 0 -0.455 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 6 "Amber Light"
    Position ( 0 0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 7 "Red Light"
    Position ( -0.455 0.0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 8 "Red Light"
    Position ( 0.455 0.0 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 9 "Amber Light"
    Position ( -0.32 -1.70 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 10 "Amber Light"
    Position ( 0.32 -2.30 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 11 "Amber Light"
    Position ( 0 -1.55 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 12 "Amber Light"
    Position ( 0 -2.45 0 )
    Radius ( 0.095 )
    )
    SignalLight ( 13 "Amber Light"
    Position ( 0 -2 0 )
    Radius ( 0.095 )
    )
    )
    SignalDrawStates ( 7
    SignalDrawState ( 0 Clear
    DrawLights ( 3
    DrawLight ( 4 )
    DrawLight ( 5 )
    DrawLight ( 6 )
    )
    )
    SignalDrawState ( 1 Approach
    DrawLights ( 3
    DrawLight ( 2 )
    DrawLight ( 3 )
    DrawLight ( 6 )
    )
    )
    SignalDrawState ( 2 Stop
    DrawLights ( 3
    DrawLight ( 0 )
    DrawLight ( 1 )
    DrawLight ( 6 )
    )
    )
    SignalDrawState ( 3 "Red Stop"
    DrawLights ( 2
    DrawLight ( 7 )
    DrawLight ( 8 )
    )
    )
    SignalDrawState ( 4 "Approach Medium"
    DrawLights ( 6
    DrawLight ( 2 )
    DrawLight ( 3 )
    DrawLight ( 6 )
    DrawLight ( 11 )
    DrawLight ( 12 )
    DrawLight ( 13 )
    )
    )
    SignalDrawState ( 5 "Approach Limited"
    DrawLights ( 6
    DrawLight ( 2 )
    DrawLight ( 3 )
    DrawLight ( 6 )
    DrawLight ( 11
    SignalFlags ( FLASHING )
    )
    DrawLight ( 12
    SignalFlags ( FLASHING )
    )
    DrawLight ( 13
    SignalFlags ( FLASHING )
    )
    )
    )
    SignalDrawState ( 6 "Approach Slow"
    DrawLights ( 6
    DrawLight ( 2 )
    DrawLight ( 3 )
    DrawLight ( 6 )
    DrawLight ( 9 )
    DrawLight ( 10 )
    DrawLight ( 13 )
    )
    )
    )
    SignalAspects ( 4
    SignalAspect ( STOP Stop
    SpeedMPH ( 0 )
    )
    SignalAspect ( APPROACH_2 Approach
    SpeedMPH ( 30
    SignalFlags ( ASAP )
    )
    )
    SignalAspect ( APPROACH_3 "Approach Medium" )
    SignalAspect ( CLEAR_2 Clear )
    )
    SignalNumClearAhead ( 4 )
    )
    CG

  10. #10
    Join Date
    Jun 2013
    Location
    Minnesota
    Posts
    1,678

    Default

    A zip file won't do it? If not, a hosting site like Dropbox ought to work

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •