Final Commit v1.80

This commit is contained in:
Anonymous275 2020-12-22 00:25:29 +02:00
parent b802aa46ef
commit 5d996e5bc4
3 changed files with 6 additions and 4 deletions

View File

@ -46,8 +46,9 @@ void StartGame(std::string Dir){
PROCESS_INFORMATION pi;
STARTUPINFO si = {0};
si.cb = sizeof(si);
std::string BaseDir = Dir +"\\Bin64";
Dir += R"(\Bin64\BeamNG.drive.x64.exe)";
std::string BaseDir = Dir; //+"\\Bin64";
//Dir += R"(\Bin64\BeamNG.drive.x64.exe)";
Dir += "\\BeamNG.drive.exe";
bSuccess = CreateProcessA(Dir.c_str(), nullptr, nullptr, nullptr, TRUE, 0, nullptr, BaseDir.c_str(), &si, &pi);
if (bSuccess){
info("Game Launched!");

View File

@ -51,7 +51,8 @@ std::string Login(const std::string& fields){
if(!d["public_key"].IsNull()){
PublicKey = d["public_key"].GetString();
}
}
info("Authentication successful!");
}else info("Authentication failed!");
if(!d["message"].IsNull()){
d.RemoveMember("private_key");
d.RemoveMember("public_key");

View File

@ -24,7 +24,7 @@ std::string GetEN(){
return "BeamMP-Launcher.exe";
}
std::string GetVer(){
return "1.72";
return "1.80";
}
std::string GetPatch(){
return "";