Print security level

This commit is contained in:
momo5502 2016-02-23 02:31:32 +01:00
parent 33d493b502
commit 69e72430e6
2 changed files with 5 additions and 2 deletions

View File

@ -324,7 +324,7 @@ namespace Components
if (userLevel >= ourLevel)
{
info->state = Auth::STATE_VALID;
Logger::Print("Verified XUID %llX from %s\n", client->steamid, address.GetString());
Logger::Print("Verified XUID %llX (%d) from %s\n", client->steamid, userLevel, address.GetString());
}
else
{

View File

@ -182,7 +182,10 @@ namespace Components
// intro stuff
Utils::Hook::Nop(0x60BEE9, 5); // Don't show legals
Utils::Hook::Set<char*>(0x60BED2, "unskippablecinematic IW_logo\n");
//Utils::Hook::Nop(0x60BEF6, 5); // Don't reset intro dvar
#ifndef DEBUG
Utils::Hook::Nop(0x60BEF6, 5); // Don't reset intro dvar
#endif
Utils::Hook(0x4D4007, QuickPatch::ShutdownStub, HOOK_CALL).Install()->Quick();