Small changes
This commit is contained in:
parent
79e75c83fb
commit
dc91e126df
@ -320,7 +320,7 @@ namespace Components
|
|||||||
if (input == endptr)
|
if (input == endptr)
|
||||||
{
|
{
|
||||||
Logger::Print("Warning: %s is not a valid input\n"
|
Logger::Print("Warning: %s is not a valid input\n"
|
||||||
"Usage: %s optional <number of bots> or optional <all>\n",
|
"Usage: %s optional <number of bots> or optional <\"all\">\n",
|
||||||
input, params->get(0));
|
input, params->get(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -972,7 +972,7 @@ namespace Components
|
|||||||
|
|
||||||
if (url == nullptr)
|
if (url == nullptr)
|
||||||
{
|
{
|
||||||
Game::Scr_ParamError(0, "^1HttpGet: Illegal parameters!\n");
|
Game::Scr_ParamError(0, "^1HttpGet: Illegal parameter!\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -709,8 +709,9 @@ namespace Components
|
|||||||
Utils::Hook(0x61E3AD, Script::RuntimeError, HOOK_CALL).install()->quick();
|
Utils::Hook(0x61E3AD, Script::RuntimeError, HOOK_CALL).install()->quick();
|
||||||
Utils::Hook(0x621976, Script::RuntimeError, HOOK_CALL).install()->quick();
|
Utils::Hook(0x621976, Script::RuntimeError, HOOK_CALL).install()->quick();
|
||||||
Utils::Hook(0x62246E, Script::RuntimeError, HOOK_CALL).install()->quick();
|
Utils::Hook(0x62246E, Script::RuntimeError, HOOK_CALL).install()->quick();
|
||||||
// Nullsub GScr_CheckAllowedToSetPersistentData like it's done on IW5 to prevent spam
|
// Skip check in GScr_CheckAllowedToSetPersistentData to prevent log spam in RuntimeError.
|
||||||
Utils::Hook::Set<BYTE>(0x5F8DA0, 0xC3);
|
// On IW5 the function is entirely nullsubbed
|
||||||
|
Utils::Hook::Set<BYTE>(0x5F8DBF, 0xEB);
|
||||||
|
|
||||||
Utils::Hook(0x612E8D, Script::FunctionError, HOOK_CALL).install()->quick();
|
Utils::Hook(0x612E8D, Script::FunctionError, HOOK_CALL).install()->quick();
|
||||||
Utils::Hook(0x612EA2, Script::FunctionError, HOOK_CALL).install()->quick();
|
Utils::Hook(0x612EA2, Script::FunctionError, HOOK_CALL).install()->quick();
|
||||||
|
Loading…
Reference in New Issue
Block a user