Update l4d1_offsets_linux.h
Some checks failed
build / build with mms${{ matrix.mm_version }} on ${{ matrix.os_short }} (master, master, ubuntu-20.04, oldlinux) (push) Has been cancelled
build / build with mms${{ matrix.mm_version }} on ${{ matrix.os_short }} (master, master, ubuntu-latest, linux) (push) Has been cancelled
build / build with mms${{ matrix.mm_version }} on ${{ matrix.os_short }} (master, master, windows-latest, win) (push) Has been cancelled
build / Release (push) Has been cancelled

This commit is contained in:
Accelerator 2024-07-04 15:26:38 +03:00
parent 3295b7aeae
commit 763fbf3b96

View File

@ -3,7 +3,7 @@
const char* engine_dll = "engine.so";
int slots_offs = 94; // m_numGameSlots (in CGameServer::ExecGameTypeCfg)
int reserved_offs = 360; // m_nReservationCookie (in CBaseServer::ReplyReservationRequest)
int reserved_offs = 45; // m_nReservationCookie (in CBaseServer::ReplyReservationRequest)
int reservation_idx = 60; // CBaseServer::ReplyReservationRequest(netadr_s&, bf_read&) vtable
int maxhuman_idx = 132; // CTerrorGameRules::GetMaxHumanPlayers vtable