QuestionHack D/C-ing

Posts 110 of 10 · Page 1 of 1
Hack D/C-ing
Hi

This is my code -

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 *LTClient = ( DWORD* )( 0x3778CFB0 );
	void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
	__asm
	{
		push szCommand;
		call CONoff;
		add esp, 4;
	}
}	

void main()
{
	while(true)
	{
		//Chams
		PushToConsole("SkelModelStencil -1");

		//Spread
		
		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" );

		//Reload
		PushToConsole("ReloadSpeed 0.000000" );

		//Fog
		PushToConsole("FogEnable 1" );
	}
}

DWORD WINAPI dwHackThread(LPVOID)
{
	while( !IsGameReadyForHook() )
		Sleep(100);
	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;
}
My hack D/C's after about one minute. Is it that I don't have the right addresses??

While my hack is running though, every thing except instant-reload works, so yeah.

P.S How can I set no recoil? It's not covered in my no spread.

Sorry for nooby questions, maybe I should just stick to playing.
delete this :

Quote Originally Posted by FrozenKiller42 View Post
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x3778CFB0 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
And c+p This :

Quote Originally Posted by FrozenKiller42 View Post
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x3778CFB0 );
DWORD CNADDIE = 0x007d9200;
void* Send = ( void* )*( DWORD* )(CNADDIE);
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp,4;
}
}
now ur hack is working.. bye : )
cougth LTC
and most likelty u leeched
Hacks works now, ty harry.

The original code is from the First Hack Tut. Am I not allowed to use that??

How can I create no recoil?
Quote Originally Posted by FrozenKiller42 View Post
Hacks works now, ty harry.

The original code is from the First Hack Tut. Am I not allowed to use that??

How can I create no recoil?
....

adiies....
Learn c++.......
Quote Originally Posted by Zoom View Post
Learn c++.......
Just so you know, I do know C++ (using Ogre atm), I just don't know how to hack.
add this
Code:
void __cdecl PushToConsole(const char* szCommand )
{
	DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
	if( dwCShell != NULL )
	{
		DWORD *LTClient = ( DWORD* )( 0x3778CFB0 );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
		__asm
		{
			push szCommand;
			call CONoff;
			add esp, 4;
		}
	}
}
use the thanks button
Quote Originally Posted by ^...,^ View Post
.... /me can tell you its a pain the fuck backside
Oh please you don't know 1/2 the languages in your signature and probably only got past the basics for the rest.

BTW how's your "VIP" going ?
Quote Originally Posted by ^...,^ View Post
ummm like going to be the VIP CA coder hopefuly

I LOVE YOU DAVE
crash get on msn bro
Its a dream right a dream
Posts 110 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?