This commit is contained in:
Mr-X-GTA 2024-12-11 00:27:29 +01:00
parent 72726f3403
commit 62b469728e
3 changed files with 3 additions and 3 deletions

View File

@ -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(&gta_util::get_network()->m_game_complaint_mgr);
g_pointers->m_gta.m_reset_network_complaints(&gta_util::get_network()->m_game_complaint_mgr, false);
}
}
}

View File

@ -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_);

View File

@ -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<functions::reset_network_complaints>();