From c8b30125927b8ca797e9eb4761f61b37b3718657 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 24 Sep 2022 15:16:26 +0200 Subject: [PATCH] Always load proper ffotd --- src/client/component/demonware.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/client/component/demonware.cpp b/src/client/component/demonware.cpp index 86abe4ec..0f1697ea 100644 --- a/src/client/component/demonware.cpp +++ b/src/client/component/demonware.cpp @@ -434,6 +434,11 @@ namespace demonware original_imports[result->first] = result->second; } + + const char* get_ffotd_name() + { + return "core_ffotd_tu32_593"; + } } class component final : public component_interface @@ -481,7 +486,7 @@ namespace demonware utils::hook::copy_string(0x1430B93C8_g, "http://%s:%d/auth/"); utils::hook::set(0x141EC4B50_g, 0xC3D08948); // Skip publisher file signature stuff - + utils::hook::call(0x141EC458C_g, get_ffotd_name); // Return unlocalized name } void pre_destroy() override