NYC Fallbrook Division broken. Keeps saying divide by zero error.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DimPoint
    Member
    • Jun 2023
    • 53

    #1

    NYC Fallbrook Division broken. Keeps saying divide by zero error.

    The crash occurs almost around the time the cab view or everything is said to be almost loaded. Basically the route is unusable. When I downloaded and tried it the first time, it gave the error the the sound file ingame.sms was not found. I just copied the ingame.sms file from another route into this one. Then tried it, this time around it gave this error, regardless of what I set in as the start point. I am using it in non-activity Explorer Mode.

    Furthermore, I do not know why is it saying C:/Jenkins, as I do not have such a directory. Although OR is installed in C drive, the route is in my D drive. I have used this type process of Routes, Trains, Cars, Consists, and TSRE on my D drive instead of C, and never had a problem.

    I do not have MSTS installed and only have Open Rails.
    Attached Files
  • R. Steele
    3500 Post Veteran

    • Feb 2013
    • 3928
    • known universe
    • ORTS

    #2
    The log indicates a problem with the car spawner...dividing by zero is causing the problem...the Jenkins part is an internal diagnostic path useful to the OR development team, ignore it.

    Just finished installing the route, had a NYC passenger consist, started route in Act Explore mode and no problems whatsoever, so recheck your work. Maybe someone with experience with car spawners or recognizing this type of log error will see thread and reply.
    Last edited by R. Steele; 06-30-2023, 22:37.
    Cheers, Gerry
    "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
    It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
    Forever, ridin' drag in railroad knowledge.
    Audi, Vide, Tace, Si Vis Vivere In Pace​

    https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

    Comment

    • derekmorton
      5500 Post Veteran



      • Nov 1999
      • 5699
      • Eltham, Victoria, Australia.
      • ORTS

      #3
      Next time attach the whole log file not just a screen shot.

      Comment

      • derekmorton
        5500 Post Veteran



        • Nov 1999
        • 5699
        • Eltham, Victoria, Australia.
        • ORTS

        #4
        On the desktop openrailslog.txt

        Comment

        • DimPoint
          Member
          • Jun 2023
          • 53

          #5
          Found it It says it exceeds it by 4kb so I removed some of the spaces between the equal signs. Sorry if it looks unaligned now.

          I would like to confirm before hand that the shapefiles not found warnings are legit, they actually do not exist. For example Car1 does note exist.

          I forgot to mention I do not use cars or engines that sometimes are used with activities in some routes. Im not that much into activities, more into exploration. For example I sometimes use BigBoy in NEC. :P

          Edit: if I start from Lyon to corning, the sim does start, but crashes right when I approach the bridge with signals. The log file is from that.
          Attached Files
          Last edited by DimPoint; 07-01-2023, 03:33.

          Comment

          • derekmorton
            5500 Post Veteran



            • Nov 1999
            • 5699
            • Eltham, Victoria, Australia.
            • ORTS

            #6
            Its crashing because of the missing car shape files.

            Comment

            • eric
              9500 Post Veteran and Administrator



              • Dec 2002
              • 9583
              • NS MP245.4 CNO&TP South District
              • English, SQL
              • General

              #7
              Well, that tells me ORTS is missing an exception somewhere.

              The Sim should not be crashing to the desktop because of the missing shape file in a CarSpawner.

              Might be worth reporting that as a bug.

              Sent from my SM-G981U using Tapatalk
              If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

              Comment

              • geepster775
                2500 Post Veteran


                • Sep 2006
                • 2846
                • .
                • General

                #8
                Originally posted by derekmorton
                Its crashing because of the missing car shape files.


                The entire installation looks like a hot mess to me. As in, if it wasn't for that reason, it would likely crash for some other reason.
                My Open Rails videos https://www.youtube.com/@lakecities3663/videos

                Comment

                • DimPoint
                  Member
                  • Jun 2023
                  • 53

                  #9
                  What do you mean as in the entire installation looks like a hot mess?

                  Comment

                  • DimPoint
                    Member
                    • Jun 2023
                    • 53

                    #10
                    How do I submit bug report.

                    Comment

                    • R. Steele
                      3500 Post Veteran

                      • Feb 2013
                      • 3928
                      • known universe
                      • ORTS

                      #11
                      Originally posted by DimPoint
                      How do I submit bug report.
                      You don't need to submit a bug report. The whole thing boils down to several problems with the route and many missing car shapes or something wrong with the car spawner not finding the correct shapes.

                      --- and importantly >>> As I posted earlier I downloaded the same route, read and followed the install instructions, and it ran fine, log file clean, couple of insignificant warnings, but no missing shapes or car spawner problems.

                      The route has an install.bat file that requires assets from the original MSTS routes. As I said before ( and what geepster was referring to as a "hot mess" ) is that the problem is in your installation, you need to either re-check your work, or delete the route and reinstall it, carefully following the readme file that comes with the route.
                      Cheers, Gerry
                      "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
                      It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
                      Forever, ridin' drag in railroad knowledge.
                      Audi, Vide, Tace, Si Vis Vivere In Pace​

                      https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

                      Comment

                      • lineman
                        Senior Member

                        • Mar 2007
                        • 539
                        • Phoenix AZ
                        • General

                        #12
                        The OP stated he does not have MSTS installed, so he's going to have problems with the car spawner shape files.

                        Comment

                        • DimPoint
                          Member
                          • Jun 2023
                          • 53

                          #13
                          Is there a way to bypass the MSTS car spawn calls, (as in to remove them)?
                          On a second note... what if I were to replace the files called with generic alternatives available in OR? For example, if it is calling a truck, I will try to find a truck from another route, copy it into this route, but name it as the file being called. Would that work?

                          Comment

                          • R. Steele
                            3500 Post Veteran

                            • Feb 2013
                            • 3928
                            • known universe
                            • ORTS

                            #14
                            Originally posted by lineman
                            The OP stated he does not have MSTS installed, so he's going to have problems with the car spawner shape files.
                            I take your point, however, I also do not have msts installed ( have not used it for a few years now ) however, I do have the msts default routes in a folder ( MSTS Default Routes ) into which I can place a route that requires them to run the bat file. I assumed OP had done the same...proves I assumed in error.

                            Originally posted by DimPoint
                            Is there a way to bypass the MSTS car spawn calls, (as in to remove them)?
                            On a second note... what if I were to replace the files called with generic alternatives available in OR? For example, if it is calling a truck, I will try to find a truck from another route, copy it into this route, but name it as the file being called. Would that work?
                            It should, it's something I would try, being careful to try match car for car and truck for truck if possible, to keep the vehicle sizes similar...I don't know if it would flummox the car spawners or not...someone with route building experience would know.

                            Bypass is a possibility by removing all reference to vehicles from the ref file.
                            But then you would have no road traffic in the route.
                            Again someone with route experience would know more about how to do this.
                            I just looked at a ref file to refresh my memory and found a class of static object -- vehicles, those all would have to be removed or somehow edited out or using some trick route builders know about. I know I've seen some threads about this.
                            Last edited by R. Steele; 07-01-2023, 14:11.
                            Cheers, Gerry
                            "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
                            It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
                            Forever, ridin' drag in railroad knowledge.
                            Audi, Vide, Tace, Si Vis Vivere In Pace​

                            https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

                            Comment

                            • DimPoint
                              Member
                              • Jun 2023
                              • 53

                              #15
                              I never had MSTS ever, so I do not even have MSTS default routes. When it comes to cars or trucks on the road, why do they work on other routes then for me?

                              Comment

                              Working...