Any thoughts to where I might look ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Timbit
    Senior Member


    • Nov 1999
    • 448
    • Nepean,Ontario
    • English
    • MSOR

    #1

    Any thoughts to where I might look ?

    Hello, When I try and run any activity in CP Mactier Sub, it crashes and will not run right, how ever all of my other routes work great ? I'm using open rails and this is the message I'm getting ? thanks for any help. Tim





    Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource) at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n() at System.Collections.Generic.List`1.get_Item(Int32 index) at Orts.Viewer3D.MSTSSkyMaterial..ctor(Viewer viewer) in E:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\MST SSky.cs:line 637 at Orts.Viewer3D.SharedMaterialManager.Load(String materialName, String textureName, Int32 options, Single mipMapBias) in E:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Mat erials.cs:line 320 at Orts.Viewer3D.MSTSSkyDrawer..ctor(Viewer viewer) in E:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\MST SSky.cs:line 101 at Orts.Viewer3D.World..ctor(Viewer viewer, Double gameTime) in E:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Wor ld.cs:line 69 at Orts.Viewer3D.Viewer.Initialize() in E:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Vie wer.cs:line 421 at Orts.Viewer3D.Viewer..ctor(Simulator simulator, Game game) in E:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Vie wer.cs:line 306 at Orts.Viewer3D.Processes.GameStateRunActivity.Start (UserSettings settings, String acttype, String[] args) in E:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Pro cesses\GameStateRunActivity.cs:line 279 at Orts.Viewer3D.Processes.GameStateRunActivity.c__Di splayClass35_0.b__3() in E:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Pro cesses\GameStateRunActivity.cs:line 150 at Orts.Viewer3D.Processes.GameStateRunActivity.Load( ) in E:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Pro cesses\GameStateRunActivity.cs:line 191 at Orts.Viewer3D.Processes.LoaderProcess.Load() in E:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Pro cesses\LoaderProcess.cs:line 158 at Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in E:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Pro cesses\LoaderProcess.cs:line 138 at Orts.Viewer3D.Processes.LoaderProcess.LoaderThread () in E:\Documents\Coding\Jenkins\jobs\Open Rails Unstable\workspace\Source\RunActivity\Viewer3D\Pro cesses\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:09.2526024 msLoader: Expected = 90,423,142 bytesLoader: Actual = 21,406,084 bytesLoader: Difference = -69,017,058 bytes (-76.3 %)Information: Game.PopState()
  • ebnertra000
    1500 Post Veteran


    • Jun 2013
    • 1778
    • Minnesota

    #2
    The error message is all well and good, but the logfile would be much more helpful. You should be able to attach it to a post

    Comment

    • Timbit
      Senior Member


      • Nov 1999
      • 448
      • Nepean,Ontario
      • English
      • MSOR

      #3
      Here is the open rails log if I did it correct ? lol

      Comment

      • cn bala
        1000 Post Veteran
        • Jun 2005
        • 1213
        • north of United States

        #4
        Yes you did this right for OpenRails log.txt

        John

        Comment

        • csantucci
          Senior Member
          • Nov 1999
          • 856
          • Torino, Italy.

          #5
          You have some problem in the MSTS environment files. First simple solution is to uncheck the "MSTS Environments" Experimental option.
          Second solution is to check if you have within the EnvFiles subfolder of your route folder the .env file related to the type of weather that your activity needs. If you don't have it, you get the error. In this case you can copy the file from another route. If you instead have it, open it with a text editor and check if your file has a world_sky_layers block. I expect it has it. You should find some terrain_texslot lines, each pointing to an .ace file. You should find such .ace files within EnvFiles\Textures. If they aren't there, you should use other .ace files, or you might simply copy all files and folders within the EnvFiles subfolder from another working route.
          sigpic

          Comment

          • Timbit
            Senior Member


            • Nov 1999
            • 448
            • Nepean,Ontario
            • English
            • MSOR

            #6
            csantucci,
            Thanks for the help, I will look at this as soon as I get home from work this afternoon .
            Tim

            Comment

            • Timbit
              Senior Member


              • Nov 1999
              • 448
              • Nepean,Ontario
              • English
              • MSOR

              #7
              csantucci,I just got home and tried the first thing that you told me to do "First simple solution is to uncheck the "MSTS Environments" Experimental option" and now it works like a dream. Thank you for your help. Tim

              Comment

              Working...