add warning on missing signature
This commit is contained in:
parent
bca4048063
commit
4b80953315
@ -78,6 +78,9 @@ uintptr_t CSignature::dwFindPattern(uintptr_t dwAddress, uintptr_t dwLength,
|
|||||||
firstMatch = 0;
|
firstMatch = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logging::Info("THIS IS SERIOUS: Could not locate signature: \n============\n\"%s\"\n============", szPattern);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
//===================================================================================
|
//===================================================================================
|
||||||
|
@ -1043,12 +1043,13 @@ void LevelInit_hook(void *_this, const char *newmap)
|
|||||||
playerlist::Save();
|
playerlist::Save();
|
||||||
votelogger::antikick_ticks = 0;
|
votelogger::antikick_ticks = 0;
|
||||||
hacks::shared::lagexploit::bcalled = false;
|
hacks::shared::lagexploit::bcalled = false;
|
||||||
|
#if ENABLE_VISUALS
|
||||||
typedef bool *(*LoadNamedSkys_Fn)(const char *);
|
typedef bool *(*LoadNamedSkys_Fn)(const char *);
|
||||||
uintptr_t addr =
|
uintptr_t addr =
|
||||||
gSignatures.GetEngineSignature("55 89 E5 57 31 FF 56 8D B5 ? ? ? ? 53 "
|
gSignatures.GetEngineSignature("55 89 E5 57 31 FF 56 8D B5 ? ? ? ? 53 81 EC 6C 01 00 00");
|
||||||
"81 EC ? ? ? ? C7 85 ? ? ? ? ? ? ? ?");
|
|
||||||
static LoadNamedSkys_Fn LoadNamedSkys = LoadNamedSkys_Fn(addr);
|
static LoadNamedSkys_Fn LoadNamedSkys = LoadNamedSkys_Fn(addr);
|
||||||
bool succ;
|
bool succ;
|
||||||
|
logging::Info("Going to load the skybox");
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
asm("movl %1, %%edi; push skynum[(int) skybox_changer]; call %%edi; mov "
|
asm("movl %1, %%edi; push skynum[(int) skybox_changer]; call %%edi; mov "
|
||||||
"%%eax, %0; add %%esp, 4h"
|
"%%eax, %0; add %%esp, 4h"
|
||||||
@ -1064,6 +1065,7 @@ void LevelInit_hook(void *_this, const char *newmap)
|
|||||||
holiday->SetValue(2);
|
holiday->SetValue(2);
|
||||||
else if (holiday->m_nValue == 2)
|
else if (holiday->m_nValue == 2)
|
||||||
holiday->SetValue(2);
|
holiday->SetValue(2);
|
||||||
|
#endif
|
||||||
|
|
||||||
g_IEngine->ClientCmd_Unrestricted("exec cat_matchexec");
|
g_IEngine->ClientCmd_Unrestricted("exec cat_matchexec");
|
||||||
hacks::shared::aimbot::Reset();
|
hacks::shared::aimbot::Reset();
|
||||||
|
Reference in New Issue
Block a user