mirror of
https://github.com/accelerator74/l4dtoolz.git
synced 2024-12-22 22:47:27 +08:00
c7ee545ce9
Always reply to a lobby request if the server is already reserved.
11 lines
508 B
C
11 lines
508 B
C
#ifndef _INCLUDE_L4D2_OFFSETS_WIN32_
|
|
#define _INCLUDE_L4D2_OFFSETS_WIN32_
|
|
|
|
int sv_offs = 8; // IServer pointer (in IVEngineServer::CreateFakeClient)
|
|
int slots_offs = 96; // m_numGameSlots (in CGameServer::ExecGameTypeCfg)
|
|
int reserved_offs = 46; // IsReserved() (in CBaseServer::ReplyReservationRequest)
|
|
int reservation_idx = 61; // CBaseServer::ReplyReservationRequest(netadr_s&, bf_read&) vtable
|
|
int maxhuman_idx = 136; // CTerrorGameRules::GetMaxHumanPlayers vtable
|
|
|
|
#endif //_INCLUDE_L4D2_OFFSETS_WIN32_
|