You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since painttraverse is a pain in the ass I might just add a hook to the menu state that calls a c function where lua will be handled instead. Seems like it will work.
And I can't think of what to do about hooking newstate as it is much better than constantly checking and setting the lua state in loadbuffer but it wouldn't support for injecting autorun mid-menu screen. Will probably have to revert as to how it is on master and eventually replace it with LUA->GetState through vtable shit.. (still dunno how to work pelite and memflow)
Fixes#12
* -lua_run
* -lua_openscript
* +lua_run_cl
* +lua_openscript_cl
* +lua_run_menu
* +lua_openscript_menu
I can add lua_run/lua_openscript back but won't be adding it right now
Edited: tdlr, I'm stupid and trying to run lua on a different thread which 'randomly' causes crashes
The text was updated successfully, but these errors were encountered: