Adventure Game Studio

AGS Development => Editor Development => Topic started by: Dave Gilbert on Wed 15/12/2021 17:30:08

Title: Error message clarification request: "invalid loop number specified"
Post by: Dave Gilbert on Wed 15/12/2021 17:30:08
(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 Fri 07/01/2022 20:18:08
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 Fri 07/01/2022 21:57:30
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 Sat 08/01/2022 06:47:50
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 Fri 14/01/2022 12:29:38
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 Fri 14/01/2022 16:29:29
Baby steps! Thanks so much for adding this.
Title: Re: Error message clarification request: "invalid loop number specified"
Post by: Crimson Wizard on Wed 24/01/2024 05:23:58
Should be fixed since 3.6.0.