2 Commits

Author SHA1 Message Date
Alexander
ab6cccfd84 i fucked up 2025-01-05 23:25:21 +00:00
Alexander
cd561c6721 auto login for ot6.5 2025-01-04 03:34:54 +00:00

View File

@@ -317,7 +317,9 @@ int SetupOT()
STARTUPINFOW startupInfo = { 0 };
startupInfo.cb = sizeof(STARTUPINFO);
PROCESS_INFORMATION processInformation = { 0 };
CreateProcessW(BINARY_PATH_OT, nullptr, nullptr, nullptr, FALSE, 0x0, nullptr, nullptr, &startupInfo, &processInformation);
std::wstring cmd(BINARY_PATH_OT);
cmd += L" -log -AUTH_LOGIN=unknown -AUTH_PASSWORD=5001 -AUTH_TYPE=exchangecode";
CreateProcessW(BINARY_PATH_OT, &cmd[0], nullptr, nullptr, FALSE, 0x0, nullptr, nullptr, &startupInfo, &processInformation);
AssignProcessToJobObject(job, processInformation.hProcess);
@@ -495,7 +497,7 @@ int main()
}
else
{
std::cerr << "No binaries could be found. Ensure the launcher is placed alongside the FortniteGame and Content folders.\n";
std::cerr << "No binaries could be found. Ensure the launcher is placed alongside the FortniteGame and Engine folders.\n";
Exit();
return 1;
}