l4dtoolz_new/l4d2_offsets_linux.h
Accelerator c7ee545ce9 2.0.1
Always reply to a lobby request if the server is already reserved.
2024-05-07 20:08:42 +03:00

11 lines
477 B
C

#ifndef _INCLUDE_L4D2_OFFSETS_LINUX_
#define _INCLUDE_L4D2_OFFSETS_LINUX_
const char* engine_dll = "engine_srv.so";
int slots_offs = 95; // m_numGameSlots (in CGameServer::ExecGameTypeCfg)
int reserved_offs = 364; // IsReserved() (in CBaseServer::ReplyReservationRequest)
int reservation_idx = 62; // CBaseServer::ReplyReservationRequest(netadr_s&, bf_read&) vtable
int maxhuman_idx = 137; // CTerrorGameRules::GetMaxHumanPlayers vtable
#endif //_INCLUDE_L4D2_OFFSETS_LINUX_