warn if steam registry doesn't exists

This commit is contained in:
m
2022-08-14 16:56:23 -05:00
parent cb3bcd8fad
commit a7a0f03e54
6 changed files with 34 additions and 7 deletions

View File

@ -162,7 +162,6 @@ namespace auth
if (xuid != key.get_hash())
{
//MessageBoxA(nullptr, steam_id.data(), std::to_string(key.get_hash()).data(), 0);
network::send(*from, "error",
utils::string::va("XUID doesn't match the certificate: %llX != %llX", xuid, key.get_hash()), '\n');
return;

View File

@ -101,7 +101,7 @@ namespace exception
utils::thread::suspend_other_threads();
show_mouse_cursor();
MessageBoxA(nullptr, error_str.data(), "H1-Mod ERROR", MB_ICONERROR);
MSG_BOX_ERROR(error_str.data());
TerminateProcess(GetCurrentProcess(), exception_data.code);
}

View File

@ -90,9 +90,8 @@ namespace system_check
if (!is_valid())
{
MessageBoxA(nullptr, "Your game files are outdated or unsupported.\n"
"Please get the latest officially supported Call of Duty: Modern Warfare Remastered files, or you will get random crashes and issues.",
"Invalid game files!", MB_ICONINFORMATION);
MSG_BOX_INFO("Your game files are outdated or unsupported.\n"
"Please get the latest officially supported Call of Duty: Modern Warfare Remastered files, or you will get random crashes and issues.");
}
}
};