From 4837cd5f9ba5bcf1367e657cd644cc96176df6cf Mon Sep 17 00:00:00 2001 From: samuel Date: Thu, 21 Nov 2024 21:02:46 +0100 Subject: [PATCH] - Fix anticheat lua error - Change default setting --- lua/autorun/server/nova_sv_init.lua | 2 +- lua/nova/modules/anticheat/anticheatpayload.lua | 3 +-- lua/nova/modules/config/defaultsettings.lua | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lua/autorun/server/nova_sv_init.lua b/lua/autorun/server/nova_sv_init.lua index e60bcbb..81d66f0 100644 --- a/lua/autorun/server/nova_sv_init.lua +++ b/lua/autorun/server/nova_sv_init.lua @@ -1,5 +1,5 @@ Nova = Nova or { - ["version"] = "1.9.1" + ["version"] = "1.9.2" } Nova.extensions = Nova.extensions or { diff --git a/lua/nova/modules/anticheat/anticheatpayload.lua b/lua/nova/modules/anticheat/anticheatpayload.lua index a184058..1805a8d 100644 --- a/lua/nova/modules/anticheat/anticheatpayload.lua +++ b/lua/nova/modules/anticheat/anticheatpayload.lua @@ -602,8 +602,6 @@ Nova.getAnticheatPayload = function() secure_hook("CreateMove", acl_hk_name, "autoclick", acl_check) end - ]] .. lines:Insert("ac_verify") .. [[ - local function ]] .. vars:Get("ac_func_run_checks") .. [[(s) if s then timer_s(]] .. math.random(20,300) .. [[, ]] .. vars:Get("ac_func_run_checks") .. [[) end check_bad_concommands() @@ -611,6 +609,7 @@ Nova.getAnticheatPayload = function() check_convars() check_secure_hook() end + ]] .. lines:Insert("ac_verify") .. [[ ]] .. vars:Get("ac_func_run_checks") .. [[(true) ]] .. lines:Insert("ac_verify") .. [[ diff --git a/lua/nova/modules/config/defaultsettings.lua b/lua/nova/modules/config/defaultsettings.lua index 569e6b9..6d85fae 100644 --- a/lua/nova/modules/config/defaultsettings.lua +++ b/lua/nova/modules/config/defaultsettings.lua @@ -221,7 +221,7 @@ Nova.setSetting("anticheat_check_byte_code", true, false, true, nil, true) Nova.setSetting("anticheat_check_net_scan", true, true, true, nil, true) Nova.setSetting("anticheat_spam_filestealers", false, true, true, nil, true) -Nova.setSetting("anticheat_check_experimental", false, true, true, nil, true) +Nova.setSetting("anticheat_check_experimental", true, true, true, nil, true) /*=============================== Security