[help]

Posts 114 of 14 · Page 1 of 1
[help]
guys my hack only works for 1 game anybody know why i dont think i messed up on coding it did i??
Code:
#include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole(const char* szCommand )
{
	DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
	if( dwCShell != NULL )
	{
		DWORD *LTClient = ( DWORD* )( 0x377E7810 );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
		__asm
		{
			push szCommand;
			call CONoff;
			add esp, 4;
		}
	}
}
 
void main()
{
while(true)
{
PushToConsole("DrawParticles 0");
PushToConsole("ShowFps 1");
PushToConsole("FogEnable 0" );
PushToConsole("ActivationDistance 999999" );
PushToConsole("FRunVel 700.000000");
PushToConsole("BRunVel 700.000000");
PushToConsole("SRunVel 700.000000");
PushToConsole("PerturbRotationEffect  0.000000" );
PushToConsole("PerturbIncreaseSpeed 0.000000" );
PushToConsole("PerturbWalkPercent 0.000000" );
PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
PushToConsole("PerturbRecoil 0.000000" );
PushToConsole("FireMovePerturb 0.000000" );
PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
PushToConsole("ZoomedFireMovePerturb 0.000000" );
PushToConsole("ZoomedFireDuckPerturb 0.000000" );
PushToConsole("SkelModelStencil 1" );
PushToConsole("JumpVel 2000.000000" );
PushToConsole("camdamage 0");
PushToConsole("CamMaxPosYOffset 100.000000" );
PushToConsole("ShowHitSphere 800.000");
memcpy((LPVOID)0x3737EE23, "\x90\x90\x90", 3);
memcpy((LPVOID)0x3745B7D1, "\x90\x90\x90", 3);
memcpy((LPVOID)0x3745B7E0, "\x90\x90\x90", 3);
memcpy((LPVOID)0x3745B7D4, "\x90\x90\x90\x90\x90\x90", 6);
memcpy((LPVOID)0x374A7434, "\x90\x90\x90\x90\x90\x90", 6);
}
}
DWORD WINAPI dwHackThread(LPVOID) {
while( !IsGameReadyForHook() )
Sleep(300);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
You actually coded something in there ?
do you see something wrong???
Wtf are these :
memcpy((LPVOID)0x372FF456, "\x90\x90", 2);
memcpy((LPVOID)0x37232B48, "\x90\x90\x90\x90", 4);
memcpy((LPVOID)0x37232B90, "\x90\x90\x90\x90", 4);
old nametag addies think that could be dcing me???

i removed them
Quote Originally Posted by speedforyou View Post
old nametag addies think that could be dcing me???

i removed them
I really can't think of anything else other than your other memcpy() addresses might be wrong, or the PTC method is detected.
Quote Originally Posted by Crash View Post
I really can't think of anything else other than your other memcpy() addresses might be wrong, or the PTC method is detected.
The PTC Method Is Undetected..
But Your Addies Are Out Of Date...
Yes lol. also, you might try packing it with UPX. this fixes many problems
No duh they are dcing you lol. The addies change when CA patches + the old nametags are patched you need to find the new ones because of the HUD update.
Quote Originally Posted by LightzOut View Post
No duh they are dcing you lol. The addies change when CA patches + the old nametags are patched you need to find the new ones because of the HUD update.
The old addresses don't patch they just change.
Quote Originally Posted by CoderNever View Post
The old addresses don't patch they just change.
STFU/...
cn you give me the link to codenevers vid i dont remember how i got it downloaded
Quote Originally Posted by DeadLinez View Post
Here is how to pack with UPX:
YouTube - Kanaal van FearFatality
thats my youtube that im gonna load with awsome tutorials, check em out son.
i have name tag addies hehe
Enemy Nametags are not perma. patched like boxes?
Posts 114 of 14 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?