From 93ae32eea5145152c24d234eaee64f317492cb99 Mon Sep 17 00:00:00 2001 From: Accelerator Date: Mon, 6 May 2024 09:38:45 +0300 Subject: [PATCH] Fix l4d1 reservation offsets --- l4d1_offsets_linux.h | 2 +- l4d1_offsets_win32.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/l4d1_offsets_linux.h b/l4d1_offsets_linux.h index 5714697..d9b7626 100644 --- a/l4d1_offsets_linux.h +++ b/l4d1_offsets_linux.h @@ -3,7 +3,7 @@ const char* engine_dll = "engine.so"; int slots_offs = 94; // m_numGameSlots (in CGameServer::ExecGameTypeCfg) -int reservation_idx = 61; // CBaseServer::ReplyReservationRequest(netadr_s&, bf_read&) vtable +int reservation_idx = 60; // CBaseServer::ReplyReservationRequest(netadr_s&, bf_read&) vtable int maxhuman_idx = 132; // CTerrorGameRules::GetMaxHumanPlayers vtable #endif //_INCLUDE_L4D1_OFFSETS_LINUX_ diff --git a/l4d1_offsets_win32.h b/l4d1_offsets_win32.h index 0a63d90..663440e 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 reservation_idx = 60; // CBaseServer::ReplyReservationRequest(netadr_s&, bf_read&) vtable +int reservation_idx = 59; // CBaseServer::ReplyReservationRequest(netadr_s&, bf_read&) vtable int maxhuman_idx = 131; // CTerrorGameRules::GetMaxHumanPlayers vtable #endif //_INCLUDE_L4D1_OFFSETS_WIN32_