From 62b469728eb5df9f91e7a00d8f3f24a27503182e Mon Sep 17 00:00:00 2001 From: Mr-X-GTA <110748953+Mr-X-GTA@users.noreply.github.com> Date: Wed, 11 Dec 2024 00:27:29 +0100 Subject: [PATCH] update --- src/backend/looped/system/update_desync_kick.cpp | 2 +- src/function_types.hpp | 2 +- src/pointers.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/looped/system/update_desync_kick.cpp b/src/backend/looped/system/update_desync_kick.cpp index 673ad00f..c55c8f9e 100644 --- a/src/backend/looped/system/update_desync_kick.cpp +++ b/src/backend/looped/system/update_desync_kick.cpp @@ -27,7 +27,7 @@ namespace big && gta_util::get_network()->m_game_complaint_mgr.m_num_tokens_complained && g_player_service->get_self()->is_valid() && !g_player_service->get_self()->is_host()) { - g_pointers->m_gta.m_reset_network_complaints(>a_util::get_network()->m_game_complaint_mgr); + g_pointers->m_gta.m_reset_network_complaints(>a_util::get_network()->m_game_complaint_mgr, false); } } } \ No newline at end of file diff --git a/src/function_types.hpp b/src/function_types.hpp index c199f11f..2965da47 100644 --- a/src/function_types.hpp +++ b/src/function_types.hpp @@ -111,7 +111,7 @@ namespace big::functions using read_bitbuffer_into_sync_tree = void (*)(rage::netSyncTree* tree, uint64_t flag, uint32_t flag2, rage::datBitBuffer* buffer, uint64_t netLogStub); //Sync signatures END - using reset_network_complaints = void (*)(CNetComplaintMgr* mgr); + using reset_network_complaints = void (*)(CNetComplaintMgr* mgr, bool force); using fidevice_get_device = rage::fiDevice* (*)(const char* path, bool allow_root); using fipackfile_ctor = rage::fiPackfile* (*)(rage::fiPackfile* this_); diff --git a/src/pointers.cpp b/src/pointers.cpp index 255ad68f..d083aee3 100644 --- a/src/pointers.cpp +++ b/src/pointers.cpp @@ -500,7 +500,7 @@ namespace big // Reset Network Complaints { "RENC", - "E8 ? ? ? ? 8B 8B ? ? ? ? 03 CF", + "E8 ? ? ? ? 83 BB 70 10 00 00 00", [](memory::handle ptr) { g_pointers->m_gta.m_reset_network_complaints = ptr.add(1).rip().as();