Wrong code? Or an error?

Posts 1–5 of 5 · Page 1 of 1
Wrong code? Or an error?
Code:
BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
	if (dwReason == DLL_PROCESS_ATTACH) 
	{	HideModule(hDll);
		EraseHeaders(hDll);               
	    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)D3D, NULL, NULL, NULL);
	}
	return TRUE;
With such code at me X-Trap finds mine dll. Prompt a normal code.
Code:
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
	DisableThreadLibraryCalls(hDll);
	if (dwReason == DLL_PROCESS_ATTACH) {
		CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
	}
	return true;
}
give me credits plz
Source code here:
To download - Keep2Me - zzzzzzzz.rar

There you won't understand the address, because it on Russian game, but all the rest too most.
This code is in a file "Base" at the very bottom of a file, you will see it.
Crossfire will find your dll anyways, so you can stop this by bypassing xtrap which obviously is not the logical choice, and secondly you can detour by jmp hooking so that even if your dll is detected and removed your function is in the game now.
I haven't so understood that you have told. You can give any initial code? To me without a difference what, the main thing that game wasn't switched off because of X-Trap.
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us