Navigation

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

    Section explaining common error messages and fixes?

    Comments & Feedback
    2
    2
    141
    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.
    • J
      Jack_Blue last edited by

      Hi!

      Sometimes I find that the error messages are very cryptic (for example, 'unrecognized type: 4'), and don't actually tell the user what's gone wrong, or what can be done to fix it.

      I know that it would be impossible to create an exhaustive list of bugs and fixes, because there are so many ways that a person could create a bug!

      It would still be useful if there was a section explaining:

      • What each error message means,
      • The common reasons for the error,
      • The way to fix these common problems.

      For instance, if you write this:

       1  square = [
       2      .x = 1,
       3      .y = 2
       4      .width = 3,
       5      .height = 4
       6  ]
       7
       8  coords = {80, 10}
      

      ... you get the error:

       LINE: 8
       FUNCTION: N/A
      
       Invalid variable access. (Object must be a struct, vector or sprite)
      

      What's happened here is that the programmer forgot to put a comma at the end of line 3. However, the error message doesn't explain that this is the problem, and confuses the programmer even more by saying that the error occurs on line 8!

      I worked out how to fix this error after encountering it lots of times and using trial and error, but it would be nice if there was a file containing a common list of errors, what has gone wrong, and how to fix it (e.g. in the 'Help' section).

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

        Yes I agree this would be very useful. I will look into it

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