From dc3278e0711d3c3a7003cadbe5cfcd89c2f39885 Mon Sep 17 00:00:00 2001 From: BrentVL-1952840 <70229620+Brentdevent@users.noreply.github.com> Date: Sat, 4 Mar 2023 16:50:42 +0100 Subject: [PATCH] Update getinfo --- src/client/component/getinfo.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/component/getinfo.cpp b/src/client/component/getinfo.cpp index 5478d56a..36c34aab 100644 --- a/src/client/component/getinfo.cpp +++ b/src/client/component/getinfo.cpp @@ -24,7 +24,7 @@ namespace getinfo int get_client_count() { int count = 0; - const auto client_states = *reinterpret_cast(game::select(0x1576FB318, 0x14A178E98)); + const auto client_states = *reinterpret_cast(game::select(0x1576F9318, 0x14A178E98)); if (!client_states) { return 0; @@ -46,7 +46,7 @@ namespace getinfo int get_bot_count() { - const auto client_states = *reinterpret_cast(game::select(0x1576FB318, 0x14A178E98)); + const auto client_states = *reinterpret_cast(game::select(0x1576F9318, 0x14A178E98)); if (!client_states) { return 0; @@ -69,7 +69,7 @@ namespace getinfo { int Com_SessionMode_GetGameMode() { - return *reinterpret_cast(game::select(0x1568EF7F4, 0x14948DB04)) << 14 >> 28; + return *reinterpret_cast(game::select(0x1568ED7F4, 0x14948DB04)) << 14 >> 28; } } @@ -119,4 +119,4 @@ namespace getinfo }; } -REGISTER_COMPONENT(getinfo::component) +REGISTER_COMPONENT_WORKING(getinfo::component)