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 62c0c30c1a
commit 4a5dccd547
119 changed files with 15159 additions and 20135 deletions

View File

@ -1,6 +1,7 @@
#include "gta/joaat.hpp"
#include "gta_util.hpp"
#include "gui/components/components.hpp"
#include "hooking.hpp"
#include "natives.hpp"
#include "network/Network.hpp"
#include "script.hpp"
@ -11,8 +12,6 @@
#include "util/system.hpp"
#include "view_debug.hpp"
#include "hooking.hpp"
namespace big
{
void debug::misc()
@ -95,6 +94,18 @@ namespace big
components::command_button<"fastquit">();
if (ImGui::TreeNode("Fuzzer"))
{
ImGui::Checkbox("Enabled", &g.debug.fuzzer.enabled);
for (int i = 0; i < net_object_type_strs.size(); i++)
{
ImGui::Checkbox(net_object_type_strs[i], &g.debug.fuzzer.enabled_object_types[i]);
}
ImGui::TreePop();
}
if (ImGui::TreeNode("ADDRESSES"_T.data()))
{
uint64_t local_cped = (uint64_t)g_local_player;