From f3c6b645231afccbb644fc3ab42a496664151a76 Mon Sep 17 00:00:00 2001 From: Brentdevent Date: Wed, 26 Apr 2023 23:54:31 +0200 Subject: [PATCH] Fix clan tags --- src/client/component/auth.cpp | 2 ++ src/client/game/symbols.hpp | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/client/component/auth.cpp b/src/client/component/auth.cpp index 63f2fa52..ca6ec9a3 100644 --- a/src/client/component/auth.cpp +++ b/src/client/component/auth.cpp @@ -332,6 +332,8 @@ namespace auth const auto password_text = (password && password->current.value.string) ? password->current.value.string : ""; game::Info_SetValueForKey(s, "password", password_text); + + game::Info_SetValueForKey(s, "clanAbbrev", game::LiveStats_GetClanTagText(0)); } struct component final : generic_component diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index 641836ae..a0513a45 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -83,6 +83,9 @@ namespace game // Live WEAK symbol Live_GetConnectivityInformation{0x141E0C380}; + // LiveStats + WEAK symbol LiveStats_GetClanTagText{0x141E9CE20}; + // Info WEAK symbol Info_ValueForKey{0x1422E87B0}; WEAK symbol Info_SetValueForKey{0x1422E8410};