MenyooSP
MenyooSP copied to clipboard
Exception (MenyooSP crash) when entering invalid numbers in input dialogues
How to reproduce: Spawn a vehicle, go to Menyoo Customs, change any color, input a value like 1000 for R
Suggested solution: Sanitize the input or cancel invalid input instead of just accepting it For instance, if the expected value is an integer 0-255 (such as R/G/B values of a color), treat invalid output as canceling the input screen
Very annoying to have to relaunch the game whenever I make a typo...
[13:19:44] CORE: An exception occurred while executing 'Menyoo.asi' (0x00007FF852148050), id 37
https://github.com/MAFINS/MenyooSP/blob/d21e91cf41495d29d927f56fe7ee667078812ffa/Solution/source/Submenus/VehicleModShop.cpp#L2700-L2714
It seems to be already catching exceptions here. I'm not sure.