maxnut / GDMegaOverlay

Free geometry dash mod menu with useful features such as: startpos switcher, show hitboxes, internal recorder, macro bot, clickbot and much more
GNU General Public License v3.0
277 stars 45 forks source link

Crash logs #220

Closed GMDMarvolent closed 8 months ago

GMDMarvolent commented 8 months ago

05 02 2024_08 42 19_REC

TabFox-log commented 8 months ago

You should add the crash log to your already created issue, not a new one 😃

Stronkkey commented 8 months ago

Looks like an issue to do with json parsing. @maxnut you should put code that reads from json files in a try block and catch any errors, you already made this mistake in v1.4

Stronkkey commented 8 months ago

https://github.com/maxnut/GDMegaOverlay/blob/dcd3d8e424093134d29df24c5d1ec9888fcebf99/src/GUI/GUI.cpp#L296 https://github.com/maxnut/GDMegaOverlay/blob/dcd3d8e424093134d29df24c5d1ec9888fcebf99/src/GUI/GUI.cpp#L312 I think either of these lines are responsible for the crash. They are not inside a try block and there isn't any error checking done to see if the files are properly formatted.

GMDMarvolent commented 8 months ago

idk why but my cousin's laptop use the mod but it didnt crash?

maxnut commented 8 months ago

added checks in 0af9b8680289b36702f7d17ba8d036f174b5280c