Well i found this source from another site, but credits go to WOOTARE.
Code:
if (Hack_Detected) // Hack detected
{
const BYTE Bypass[5] = {0xE8, 0xFD, 0xC2, 0x3C, 0x00};
{
DWORD dwProtect;
VirtualProtect((void*)(Hack_Detected_Addie1), 5, PAGE_EXECUTE_READWRITE, &dwProtect);
memcpy((void*)(Hack_Detected_Addie1), &Hack_Detected, 5);
VirtualProtect((void*)(Hack_Detected_Addie1), 5, dwProtect, NULL);
}
}
if (Running) // Running Game Tool Detected
{
const BYTE Bypass[5] = {0xE8, 0xFD, 0xC2, 0x3C, 0x00};
{
DWORD dwProtect;
VirtualProtect((void*)(Running_Addie1), 5, PAGE_EXECUTE_READWRITE, &dwProtect);
memcpy((void*)(Running_Addie1), &Running, 5);
VirtualProtect((void*)(Running_Addie1), 5, dwProtect, NULL);
}
}
//and to replace offsets
if (Bypass)
{
const BYTE bypass[2] = {0x75, 0x0C};
{
DWORD dwProtect;
VirtualProtect((void*)(Hack_Detected_ADD1), 2, PAGE_EXECUTE_READWRITE, &dwProtect);
memcpy((void*)(Hack_Detected_ADD1), &bypass, 2);
VirtualProtect((void*)(Hack_Detected_ADD1), 2, dwProtect, NULL);
}
}
With cheat engine i attach to warrock.exe then it says hack detected, so i preceed to search for text Hack Detected!
so i get one address witch is green.. but i think im getting to address for the text and not the warning...Any help is appreciated.