Loose consists missing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shawnbecher
    Senior Member
    • Nov 1999
    • 628
    • Oconomowoc, Wisconsin, USA.

    #1

    Loose consists missing

    Hi! I just recently discovered OR. Thank you so very much for breathing new life into old software!

    The problem I am having is that the loose consists in my activities for my own route, the Wenatchee and Cashmere (WCRR) are not showing up in OR. I tried running the activities in MSTS, and the consists show up. I do not have this problem in other routes. How can I fix this? Thanks!
  • geepster775
    2500 Post Veteran


    • Sep 2006
    • 2846
    • .
    • General

    #2
    OR and MSTS deal with closely spaced loose consists differently. Odds are your multiple loose consists are too close together, causing ORTS to drop them completely due to a position conflict. If you substitute stock, you could be making loose consists longer than originally intended.

    Tick the box for logging and OR will report what is being dropped from display when the activity starts. Position those loose consists a little bit further away from each other, or substitute shorter stock.
    My Open Rails videos https://www.youtube.com/@lakecities3663/videos

    Comment

    • shawnbecher
      Senior Member
      • Nov 1999
      • 628
      • Oconomowoc, Wisconsin, USA.

      #3
      When you say closely spaced, does that mean I can't have 3 cuts of cars on separate yard tracks?

      I need help deciphering the log. It's been a long time since I've done any coding. This shows up in the log 6 times in a row:

      "Warning: Expected end of file in C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\WCRRwdch\WCRRWoodChipper bkch.wag:line 43

      Warning: System.IO.FileLoadException: C:\Program Files (x86)\Microsoft Games\Train Simulator\trains\trainset\WCRRwdch\WCRRWoodChipper bkch.wag ---> System.ArgumentException: Requested value 'freightwoodchip' was not found.
      at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
      at Orts.Simulation.RollingStocks.IntakePoint..ctor(ST FReader stf) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \RollingStocks\MSTSWagon.cs:line 1316
      at Orts.Simulation.RollingStocks.MSTSWagon.Parse(Stri ng lowercasetoken, STFReader stf) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \RollingStocks\MSTSWagon.cs:line 464
      at Orts.Simulation.RollingStocks.MSTSWagon.LoadFromWa gFile(String wagFilePath) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \RollingStocks\MSTSWagon.cs:line 215
      at Orts.Simulation.RollingStocks.MSTSWagon.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \RollingStocks\MSTSWagon.cs:line 191
      at Orts.Simulation.RollingStocks.RollingStock.Load(Si mulator simulator, String wagFilePath, Boolean initialize) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \RollingStocks\RollingStock.cs:line 78
      at Orts.Simulation.Simulator.InitializeStaticConsists () in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 1243
      at Orts.Common.ORTraceListener.TraceEvent(TraceEventC ache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Common\Err orLogger.cs:line 123
      at System.Diagnostics.TraceInternal.TraceEvent(TraceE ventType eventType, Int32 id, String format, Object[] args)
      at System.Diagnostics.Trace.TraceWarning(String format, Object[] args)
      at Orts.Common.ORTraceListener.WriteLine(Object o) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Common\Err orLogger.cs:line 208
      at System.Diagnostics.TraceInternal.WriteLine(Object value)
      at System.Diagnostics.Trace.WriteLine(Object value)
      at Orts.Simulation.Simulator.InitializeStaticConsists () in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 1252
      at Orts.Simulation.Simulator.InitializeTrains(Cancell ationToken cancellation) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 508
      at Orts.Simulation.Simulator.Start(CancellationToken cancellation) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 397
      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 275
      at Orts.Viewer3D.Processes.GameStateRunActivity.<>c__ DisplayClass8.<Load>b__3() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 150
      at Orts.Viewer3D.Processes.GameStateRunActivity.Load( ) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\GameStateRunActivity.cs:line 190
      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()
      "

      What does this mean? Thanks!

      Comment

      • geepster775
        2500 Post Veteran


        • Sep 2006
        • 2846
        • .
        • General

        #4
        There is one activity that came with MLT's SP Cascades Crossing, where the power set cuts off, goes into a yard track, and is supposed to pick up 3 isolated cuts of cars on the same track. Works in MSTS, does not work in ORTS, as the middle cut goes missing upon activity startup and you cannot make the all the pickups so you cannot successfully complete the activity.

        The solution was to spread the position of the 3 cuts out farther away from each other on the same track.

        It could have something to do with the way a loose consist can have its direction toggled in the MSTS AE, and Open Rails perhaps only reads one direction and interprets the consist position as overlapping and infringing and kills the offending consist off.

        As for the log, it looks like your wag file is not complete/correct/has proper number of closing parens. If the file is busted, OR won't read it and compress the consist length. If it's a consist of all the same cars, then you get nuthin' displayed.

        And shame on you for installing MSTS in the program files (x86) directory. A well known user blunder.
        See http://msts.steam4me.net/tutorials/i...g_msts_w7.html
        My Open Rails videos https://www.youtube.com/@lakecities3663/videos

        Comment

        • conductorchris
          2500 Post Veteran

          • Mar 2010
          • 2905
          • Vermont
          • General

          #5
          geepster has good advice and has probably found the problem (.wag file issues). He's also right about where to install MSTS, although I'll say no shame - we all have to learn somehow and it's not like the program instructions will tell you. But he's right.

          Comment

          • shawnbecher
            Senior Member
            • Nov 1999
            • 628
            • Oconomowoc, Wisconsin, USA.

            #6
            The WAG file issue was an interesting one. I compared the WAG files of my WCRR wood chip cars to the US2 wood chip car, and the only difference I found was the "IntakePoint" and "FreightAnim" lines were not in the US2 version. I made backup copies of my WAGs and then deleted the aforementioned lines, and now all of my loose consists show up the activities.

            That log file is a lot of help! Too bad we didn't have that back in the day. Thanks for pointing me in that direction!

            As far as my installation folder, I've never installed MSTS anywhere other than the default folder since I first got it, and I haven't had any problems because of it, so I'm not sure what the big deal is, but thanks for pointing that out.

            Comment

            • baldwin
              6000 Post Veteran


              • Nov 1999
              • 6358
              • Chippenham, Wiltshire, UK.
              • ORTS

              #7
              Back in the "good old days" of XP there never was a problem installing into the default locations. As windows has progressed from version to version the internal security has got tighter with each iteration of the OS. This security can cause problems after installing the base program because Windows sees addons as intruders not to be allowed into the hallowed ground of Program Files. Things begin to not work, files are not where expected and so on. To avoid these issues it is recommended that games like MSTS not be installed in any Program Files location, but rather into its own folder where Widows security does not interfere. There are some who have no problems, but for the vast majority avoiding Program Files is the only way to go.

              From my point of view, I have never installed a game into Program Files.
              Beer is not a matter of life or death, it is much more serious than that.

              Comment

              Working...