There is a new version of the forums ready for testing. Please post here if you're willing to help test! We could also use the help of coders!

Author Topic: Error message clarification request: "invalid loop number specified"  (Read 615 times)

Dave Gilbert

  • Mittens Vassal
  • AGS Baker
  • Eye see you.
    • Lifetime Achievement Award Winner
    • Dave Gilbert worked on one or more games that won an AGS Award!
    •  
    • Dave Gilbert worked on one or more games that was nominated for an AGS Award!


Would it be possible to include the character and view number on this error message? It would save a *ton* of time. :)

Thanks!

-Dave

eri0o

« Last Edit: 07 Jan 2022, 21:11 by eri0o »

Dave Gilbert

  • Mittens Vassal
  • AGS Baker
  • Eye see you.
    • Lifetime Achievement Award Winner
    • Dave Gilbert worked on one or more games that won an AGS Award!
    •  
    • Dave Gilbert worked on one or more games that was nominated for an AGS Award!
YES! That extra bit of clarification would be super useful.

Crimson Wizard

  • Local Moderator
    • Lifetime Achievement Award Winner
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
We have TONS of messages like this in the engine. I believe this should be fixed systematically, after we have some good plan about it.

But in general idea is to have same message format for all contextually connected errors. E.g. if it's an error about Views, then it should include view/loop/frame and their valid range. If it's error about room object it should include object's name, and if about character - character's name; and so forth.

I'll try to write a task ticket for this, for the future reference.
« Last Edit: 08 Jan 2022, 08:13 by Crimson Wizard »

eri0o

Just as a note, the clarification above is now in (for the next 3.6.0.X), what CW mentions is we need to come up with a way to clarify for all other cases in some sistematic way. This is more work and will take a while.

Dave Gilbert

  • Mittens Vassal
  • AGS Baker
  • Eye see you.
    • Lifetime Achievement Award Winner
    • Dave Gilbert worked on one or more games that won an AGS Award!
    •  
    • Dave Gilbert worked on one or more games that was nominated for an AGS Award!
Baby steps! Thanks so much for adding this.