Page 1 of 1

[X] Error messages when selecting beyond available music.

PostPosted: Fri Nov 07, 2014 11:16 pm
by Triple J
Error message when clicking beyond "no music": show
RangeError: Error #1125: The index -1 is out of range 30.
at com.runouw.ll.ui.ld.window.tabs::Tab_CourseInfo2/updateMusic()
at MethodInfo-6658()
at com.runouw.ll.ui.behaviors.buttons::LDHoldButton/mouseDown()
at com.runouw.ll.ui::BehaviorHandler$/mouseDown()

It is a little hard to explain how I got this...

If you click the left arrow button rapidly enough to scroll past "no music," you'll end up going beyond it (because the left arrow button does NOT instantly gray out just as you select "no music," so you have barely enough time to click it again).

Error message when clicking beyond "Lava": show
RangeError: Error #1125: The index 30 is out of range 30.
at com.runouw.ll.ui.ld.window.tabs::Tab_CourseInfo2/updateMusic()
at MethodInfo-6659()
at com.runouw.ll.ui.behaviors.buttons::LDHoldButton/mouseDown()
at com.runouw.ll.ui::BehaviorHandler$/mouseDown()

Same deal, except this happens when clicking the right arrow button rapidly enough to go beyond "Lava."


In both cases, beyond each is just the same track title, and you can just click back to the available music. So, this doesn't seem to break anything.

Re: [X] Error messages when selecting beyond available music

PostPosted: Sat Nov 08, 2014 9:06 am
by FrozenFire
Lol. I think you exceeded the speed of the frames and set the music var into a invalid number, like -1.

But I'm not a programmer, so I don't know if this is the point.