Deadlineem / Extras-Addon-for-YimMenu

This addon features extra tools for YimMenu that aren't already a part of the stand alone base version.
http://extrasaddon.us.to/
51 stars 10 forks source link

Crash after spawning car for player and gifting car to said player #74

Closed UnforseenDeath closed 1 month ago

UnforseenDeath commented 1 month ago

[08:30:03.9665036][FATAL/lua_module.cpp:53] Lua is in a panic state and will now abort() the application [08:30:03.9665143][FATAL/lua_module.cpp:57] error message: stack index -1001002, expected userdata, received no value: value is not a valid userdata

Deadlineem commented 1 month ago

which one crashed you, though? did it crash after spawning it or after gifting?

Occasionally reload lua scripts to prevent errors like this and i was aware the spawner randomly caused crashing, no clue why

Deadlineem commented 1 month ago

[08:30:03.9665036][FATAL/lua_module.cpp:53] Lua is in a panic state and will now abort() the application [08:30:03.9665143][FATAL/lua_module.cpp:57] error message: stack index -1001002, expected userdata, received no value: value is not a valid userdata

Update on this, it seems the gifting does it after 2 or 3 tries, im pushing a fix which may or may not fix the issue, however just as a safeguard, reload lua scripts after a few cars have been gifted and only press the button once per gift, no need to click it moe bc it repeats until it gifts the car.