Ok, hab hier was gefunden, das angeblich funzt, bräuchte aber Hilfe von den Profis hier :)
Hab folgendes in einem anderen Forum gefunden:
/*
Anti TerminateProcess/ExitProcess Check
Description :
XTrap check the first byte of TerminateProcess/ExitProcess
if the byte is E9/C2 then XTrap returns true!
What we do :
xor eax,eax // (so that eax = 0)
retn
*/
copymemory((void*)(xtrap+0x2C940),(void*)"\x33\xC0 \xC3",3);
/*
Anti TerminateProcess/ExitProcess
Description :
XTrap Closes the process with TermanateProcess first
if that fails it then trys ExitProcess
so we just return so that nothing will close our process
What we do :
return
*/
copymemory((void*)(xtrap+0x31800),(void*)"\xC3\x90 \x90\x90\x90",5);
/*
Anti XTrap Message's
Description :
XTrap likes to be rude and when we playing we get annoying message's
like Please close program XXXXX so we just return the message kindly ;)
What we do :
return 8
*/
copymemory((void*)(xtrap+0x388D0),(void*)"\xC2\x08 \x00",3);
Habs versucht zu kompilieren, bekomme aber Fehlermeldungen.
Compiler: Default compiler
Führt g++.exe... aus
E:\Downloads\Games\Carte\XTrapBypass.cpp:12: error: expected constructor, destructor, or type conversion before '(' token
E:\Downloads\Games\Carte\XTrapBypass.cpp:12: error: expected `,' or `;' before '(' token
E:\Downloads\Games\Carte\XTrapBypass.cpp:26: error: expected constructor, destructor, or type conversion before '(' token
E:\Downloads\Games\Carte\XTrapBypass.cpp:26: error: expected `,' or `;' before '(' token
E:\Downloads\Games\Carte\XTrapBypass.cpp:39: error: expected constructor, destructor, or type conversion before '(' token
E:\Downloads\Games\Carte\XTrapBypass.cpp:39: error: expected `,' or `;' before '(' token
Ausführung beendet
Über Hilfe wäre ich dankbar.