diff --git a/src/client/component/server_list.cpp b/src/client/component/server_list.cpp index ea0dedf3..f34f6690 100644 --- a/src/client/component/server_list.cpp +++ b/src/client/component/server_list.cpp @@ -303,9 +303,7 @@ namespace server_list bool get_master_server(game::netadr_s& address) { - return game::NET_StringToAdr("master.xlabs.dev:20810", &address); // localhost works, but not outside localhost - // return game::NET_StringToAdr("master.xlabs.dev:20810", &address); - // return game::NET_StringToAdr("master.ff.h1p.co:20180", &address); + return game::NET_StringToAdr("master.xlabs.dev:20810", &address); } void handle_info_response(const game::netadr_s& address, const utils::info_string& info) @@ -374,11 +372,6 @@ namespace server_list if (!game::environment::is_mp()) return; localized_strings::override("PLATFORM_SYSTEM_LINK_TITLE", "SERVER LIST"); - localized_strings::override("LUA_MENU_STORE", "Server List"); - localized_strings::override("LUA_MENU_STORE_DESC", "Browse available servers."); - - // shitty ping workaround - // localized_strings::override("MENU_NUMPLAYERS", "Type"); // hook LUI_OpenMenu to refresh server list for system link menu lui_open_menu_hook.create(game::LUI_OpenMenu, lui_open_menu_stub); @@ -396,7 +389,6 @@ namespace server_list network::on("getServersResponse", [](const game::netadr_s& target, const std::string_view& data) { - console::info("getServersResponse\n"); { std::lock_guard _(mutex); if (!master_state.requesting || master_state.address != target) diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index 1bc8a558..730c3c34 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -103,7 +103,7 @@ namespace game WEAK symbol SV_AddBot{0, 0x140480190}; WEAK symbol SV_BotIsBot{0, 0x14046E6C0}; WEAK symbol SV_BotGetRandomName{0, 0x14046DBA0}; - WEAK symbol SV_SpawnTestClient{ 0, 0x1404832A0 }; + WEAK symbol SV_SpawnTestClient{0, 0x1404832A0}; WEAK symbol SV_GetGuid{0, 0x140484B90}; WEAK symbol SV_GetClientPing{0, 0x140484B70};