Adventure Game Studio | Forums

AGS Development => Editor Development => Topic started by: Dave Gilbert on 15 Dec 2021, 17:30

Title: Error message clarification request: "invalid loop number specified"
Post by: Dave Gilbert on 15 Dec 2021, 17:30
(http://www.wadjeteyegames.com/temp/invalidLoop.png)

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

Thanks!

-Dave
Title: Re: Error message clarification request: "invalid loop number specified"
Post by: eri0o on 07 Jan 2022, 20:18
Tracking this one here: https://github.com/adventuregamestudio/ags/issues/1482

Possible fix:

(https://user-images.githubusercontent.com/2244442/148607657-13d1ed2a-66a7-43f9-91ba-677d765b09d6.png)
Title: Re: Error message clarification request: "invalid loop number specified"
Post by: Dave Gilbert on 07 Jan 2022, 21:57
YES! That extra bit of clarification would be super useful.
Title: Re: Error message clarification request: "invalid loop number specified"
Post by: Crimson Wizard on 08 Jan 2022, 06:47
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.
Title: Re: Error message clarification request: "invalid loop number specified"
Post by: eri0o on 14 Jan 2022, 12:29
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.
Title: Re: Error message clarification request: "invalid loop number specified"
Post by: Dave Gilbert on 14 Jan 2022, 16:29
Baby steps! Thanks so much for adding this.