Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Repeatable Random Number

    Coding
    7
    23
    1103
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      faz808 F last edited by

      Update. I've deleted all the downloaded examples (not the included examples!) and the problem has disappeared. One of the downloaded files was causing the crash. I had about a dozen so which one was causing the problem is anyone's guess.

      pianofire 1 Reply Last reply Reply Quote 1
      • F
        faz808 F last edited by

        I've just made two copies of a small Print "hello" program. No crashes. The problem was definitely caused by one of the downloaded code examples.

        1 Reply Last reply Reply Quote 0
        • pianofire
          pianofire Fuze Team @faz808 last edited by

          @faz808 Was this something you downloaded by entering a code or from a friend share?

          1 Reply Last reply Reply Quote 0
          • F
            faz808 F last edited by

            Entering a code.

            pianofire 1 Reply Last reply Reply Quote 0
            • pianofire
              pianofire Fuze Team @faz808 last edited by

              @faz808 OK I will see if I can identify the culprit

              1 Reply Last reply Reply Quote 0
              • F
                faz808 F last edited by

                I should have removed them one by one and retested. Sorry about that.

                1 Reply Last reply Reply Quote 0
                • pianofire
                  pianofire Fuze Team last edited by

                  @faz808 No problem

                  1 Reply Last reply Reply Quote 0
                  • pianofire
                    pianofire Fuze Team last edited by

                    @faz808 Can you do me a favour please? Download Tanks (QXK7LRCQ9D) and see if this causes the problem.

                    1 Reply Last reply Reply Quote 0
                    • F
                      faz808 F last edited by

                      Tanks loaded and run. No problems. Maybe it was my code. I had about 4700 star points plotted. Together with planet images. Maybe I was pushing my luck with memory requirements. And random planet names. I don't know. Just thinking out loud here. All seems ok now. I am going to rethink my Elite clone. Approach it from a diffent angle. Thanks

                      1 Reply Last reply Reply Quote 0
                      • F
                        faz808 F last edited by

                        I deleted my 3d stars code in my eagerness to clear out downloaded code. Luckely under:-

                        Beginners / Array Problems - 17 days ago, I retreived it.

                        But ... I didn't notice the error ....

                        23 star0[i] = (random(50))-25
                        24 star1[i] = (random(50))-25
                        25 star2[i] = zdepth

                        should of course be:-

                        23 star0[pp] = (random(50))-25
                        24 star1[pp] = (random(50))-25
                        25 star2[pp] = zdepth

                        Happy coding, John

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post