From 1bda2c7f422d87e09202a99b94fdf1154810698f Mon Sep 17 00:00:00 2001 From: Joelrau Date: Mon, 18 Jan 2021 10:47:02 +0200 Subject: [PATCH] Update structs and symbols --- src/client/game/structs.hpp | 16 ++++++++++++---- src/client/game/symbols.hpp | 3 ++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/client/game/structs.hpp b/src/client/game/structs.hpp index db2c1cb..135f1e5 100644 --- a/src/client/game/structs.hpp +++ b/src/client/game/structs.hpp @@ -915,6 +915,12 @@ namespace game TC_COUNT = 0x3, }; + enum LiveClientDropType + { + SV_LIVE_DROP_NONE = 0x0, + SV_LIVE_DROP_DISCONNECT = 0x1, + }; + namespace mp { struct gclient_s @@ -954,10 +960,12 @@ namespace game { clientHeader_t header; char __pad0[268972]; - gentity_s* gentity; - char __pad1[616]; - TestClientType testClient; - char __pad2[391700]; + gentity_s* gentity; // 268976 + char __pad1[588]; + LiveClientDropType liveDropRequest; //269572 + char __pad2[24]; + TestClientType testClient; // 269600 + char __pad3[391700]; }; // size = 661304 } diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index 3c2fcf3..cf3802e 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -90,7 +90,7 @@ namespace game WEAK symbol NET_OutOfBandPrint{ 0, 0x1403DADC0 }; WEAK symbol NET_SendLoopPacket{ 0, 0x1403DAF80 }; - WEAK symbol NET_StringToAdr{ 0, 0x1403DB070 }; + WEAK symbol NET_StringToAdr{ 0, 0x1403DB070 }; WEAK symbol R_AddCmdDrawStretchPic{ 0x1404A2580, 0x1405C0CB0 }; @@ -124,6 +124,7 @@ namespace game WEAK symbol SV_AddEntity{ 0, 0x1403388B0 }; WEAK symbol SV_DirectConnect{ 0, 0x1404397A0 }; + WEAK symbol SV_DropClient{ 0, 0x140438A30 }; WEAK symbol SV_ExecuteClientCommand{ 0, 0x15121D8E6 }; WEAK symbol SV_FastRestart{ 0, 0x1404374E0 }; WEAK symbol SV_GameSendServerCommand{ 0x1403F3A70, 0x14043E120 };