Skip to content

Commit

Permalink
Fix m_nReservationCookie on Win
Browse files Browse the repository at this point in the history
  • Loading branch information
accelerator74 committed Jul 4, 2024
1 parent c510965 commit 3295b7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l4d1_offsets_win32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion l4d2_offsets_win32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3295b7a

Please sign in to comment.