From e44a98b518e01276238e741ad9304e29bf06c9b9 Mon Sep 17 00:00:00 2001 From: str1k3r <115313679+S1l3ntStr1ke87@users.noreply.github.com> Date: Tue, 2 Jun 2026 13:46:50 -0400 Subject: [PATCH] Update to new Paths --- Minecraft.Client/Windows64/Windows64_Launcher.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Minecraft.Client/Windows64/Windows64_Launcher.cpp b/Minecraft.Client/Windows64/Windows64_Launcher.cpp index 53321936..05250a27 100644 --- a/Minecraft.Client/Windows64/Windows64_Launcher.cpp +++ b/Minecraft.Client/Windows64/Windows64_Launcher.cpp @@ -413,7 +413,8 @@ LRESULT OnAccountLogin() { MessageBoxW(launcher_HWND, L"You Have Been Banned", L"Login Failed", MB_OK); } else { //unknown error, we will setup internal codes and have them logged here - MessageBoxW(launcher_HWND, std::wstring(L"Unknown Error: " + std::to_wstring(registerResponse)).c_str(), L"Registraction Failed", MB_OK); + //MessageBoxW(launcher_HWND, std::wstring(L"Unknown Error: " + std::to_wstring(registerResponse)).c_str(), L"Registraction Failed", MB_OK); + MessageBoxW(launcher_HWND, (L"Failed to Connect To Server: " + std::to_wstring(registerResponse)).c_str(), L"Login Failed", MB_OK); } return 0; @@ -656,7 +657,7 @@ int Windows64Launcher::API_GetAccountInfo(const std::string token) { std::vector headers; headers.push_back(L"Content-Type: text/plain"); - HttpResponse response = WinsockNetLayer::DoWinHttpRequest(L"/getAccountInfo", L"POST", token, headers); + HttpResponse response = WinsockNetLayer::DoWinHttpRequest(L"/accountinfo", L"POST", token, headers); if (response.status == 0) return -1; @@ -675,7 +676,7 @@ int Windows64Launcher::API_AttemptAccountRegister(const std::string _username, c std::string data = _username + ":" + password; - HttpResponse response = WinsockNetLayer::DoWinHttpRequest(L"/accountRegistration", L"POST", data, headers); + HttpResponse response = WinsockNetLayer::DoWinHttpRequest(L"/register", L"POST", data, headers); if (response.status != 200) return (20000 + response.status); @@ -696,7 +697,7 @@ int Windows64Launcher::API_AttemptAccountLogin(const std::string _username, cons std::string data = _username + ":" + password; - HttpResponse response = WinsockNetLayer::DoWinHttpRequest(L"/accountLogin", L"POST", data, headers); + HttpResponse response = WinsockNetLayer::DoWinHttpRequest(L"/login", L"POST", data, headers); if (response.status != 200) return (20000 + response.status); @@ -714,7 +715,7 @@ int Windows64Launcher::API_AttemptDiscordLogin(const std::string& ticket, std::s std::vector headers; headers.push_back(L"Content-Type: text/plain"); - HttpResponse response = WinsockNetLayer::DoWinHttpRequest(L"/discordLogin", L"POST", ticket, headers); + HttpResponse response = WinsockNetLayer::DoWinHttpRequest(L"/discordlogin", L"POST", ticket, headers); if (response.status == 0) return -1; if (response.status != 200) return (20000 + response.status);