From 3295b7aeae77be1eea6bd225d85b200ee11f063b Mon Sep 17 00:00:00 2001 From: Accelerator Date: Thu, 4 Jul 2024 12:40:06 +0300 Subject: [PATCH] Fix m_nReservationCookie on Win --- l4d1_offsets_win32.h | 2 +- l4d2_offsets_win32.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/l4d1_offsets_win32.h b/l4d1_offsets_win32.h index 2d061c3..0a588b9 100644 --- a/l4d1_offsets_win32.h +++ b/l4d1_offsets_win32.h @@ -3,7 +3,7 @@ int sv_offs = 6; // IServer pointer (in IVEngineServer::CreateFakeClient) int slots_offs = 96; // m_numGameSlots (in CGameServer::ExecGameTypeCfg) -int reserved_offs = 46; // m_nReservationCookie (in CBaseServer::ReplyReservationRequest) +int reserved_offs = 368; // m_nReservationCookie (in CBaseServer::ReplyReservationRequest) int reservation_idx = 59; // CBaseServer::ReplyReservationRequest(netadr_s&, bf_read&) vtable int maxhuman_idx = 131; // CTerrorGameRules::GetMaxHumanPlayers vtable diff --git a/l4d2_offsets_win32.h b/l4d2_offsets_win32.h index 6a39a65..baa7e7d 100644 --- a/l4d2_offsets_win32.h +++ b/l4d2_offsets_win32.h @@ -3,7 +3,7 @@ int sv_offs = 8; // IServer pointer (in IVEngineServer::CreateFakeClient) int slots_offs = 96; // m_numGameSlots (in CGameServer::ExecGameTypeCfg) -int reserved_offs = 46; // m_nReservationCookie (in CBaseServer::ReplyReservationRequest) +int reserved_offs = 368; // m_nReservationCookie (in CBaseServer::ReplyReservationRequest) int reservation_idx = 61; // CBaseServer::ReplyReservationRequest(netadr_s&, bf_read&) vtable int maxhuman_idx = 136; // CTerrorGameRules::GetMaxHumanPlayers vtable