Huge protection improvements and other stuff (#1963)

* feat(protections): add a fuzzer
* feat(protections): improve protections
* feat(spoofing): add warning
* feat(world): force object cleanup
* fix(weapons): fix custom weapon code
* fix(weapons): fix for #1983
This commit is contained in:
maybegreat48
2023-08-19 11:01:08 +00:00
committed by GitHub
parent 9a51d381c9
commit 5eead0436f
120 changed files with 15579 additions and 20690 deletions

View File

@ -65,7 +65,10 @@ namespace lua::script
auto res = func(dummy_script_util);
if (!res.valid())
{
big::g_lua_manager->handle_error(res, res.lua_state());
break;
}
if (func.runnable())
{
@ -128,7 +131,10 @@ namespace lua::script
auto res = func(dummy_script_util);
if (!res.valid())
{
big::g_lua_manager->handle_error(res, res.lua_state());
break;
}
if (func.runnable())
{