The Problemset_active_quick_bar_page seems to not validate the second parameter page_index.
This causes it to be setable to 11, which looks like it works, but you actually can't modify that row (only tested by clicking on it)
But when setting it to 12 or higher it causes a crash.
This is the main problem, however with just a little more testing i found that there seems to be no validation with these functions:
Code: Select all
/c game.print(game.player.get_active_quick_bar_page(100)) --> nil /c game.player.set_active_quick_bar_page(100, 100) /c game.print(game.player.get_active_quick_bar_page(100)) --> nil
But somehow, i don't know how, i managed to set all 3 of my visible quick bars to 100 without crashing, but setting it (the first one) to 12 afterwards crashed it again.
Then reloading and trying 100 again crashes, so this is very weird and i can't figure out how exactly it works... or doesn't work.
ExpectedIt should not allow values out of range to be provided in screen_index or page_index.
NoteConsidering this was a crash and i have auto crash uploading enabled you may have already fixed it.
But if it's not fixed yet and you'd like me to take a close look at this weird behavior, let me know and i will do so.