Willing to learn...

Posts 16–30 of 42 · Page 2 of 3
Quote Originally Posted by Hahaz View Post
Anyone who said learn c++ only is an idiot.

You should learn ASM FIRST then c++, asm is "A MUST" in hacking.
Wow you want him to jump into something that is MUCH harder to start off with...


My opinion make some regular programs that done include hacking....
Quote Originally Posted by Mr.Mageman View Post


Wow you want him to jump into something that is MUCH harder to start off with...


My opinion make some regular programs that done include hacking....
Well, then could you give me any examples?
Quote Originally Posted by DBag4Life69 View Post
Well, then could you give me any examples?
Don't go with what hahaz said. ASM is a low level language that has little to no English involved and it is somewhat complicated. You should learn it eventually though.

C++ is easier to start with.
cplusplus.com - The C++ Resources Networkⓘ
That site has a tutorial and antiRTFM on youtube has good tuts too.
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* )( 0x3778CFB0 );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
		__asm
		{
			push szCommand;
			call CONoff;
			add esp, 4;
		}
	}
}
 
void main()
{
while(true)
{
PushToConsole("DrawParticles 0");
Sleep(50);
PushToConsole("ShowFps 1");
Sleep(50);
PushToConsole("FogEnable 0" );
Sleep(50);
PushToConsole("ActivationDistance 999999" );
Sleep(50);
PushToConsole("SkelModelStencil -1" );
Sleep(50);
PushToConsole("PerturbRotationEffect  0.000000" );
Sleep(50);
PushToConsole("PerturbIncreaseSpeed 0.000000" );
Sleep(50);
PushToConsole("PerturbWalkPercent 0.000000" );
Sleep(50);
PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
Sleep(50);
PushToConsole("PerturbRecoil 0.000000" );
Sleep(50);
PushToConsole("FireMovePerturb 0.000000" );
Sleep(50);
PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
Sleep(50);
PushToConsole("ZoomedFireMovePerturb 0.000000" );
Sleep(50);
PushToConsole("ZoomedFireDuckPerturb 0.000000" );
Sleep(50);
PushToConsole("KnockBack 0" );
Sleep(50);
PushToConsole("BaseMoveAccel 1800.000000");
Sleep(50);
PushToConsole("StartAccel 1800.000000");
Sleep(50);
PushToConsole("MaxAccel 1800.000000");
Sleep(50);
PushToConsole("AccelInc 1800.000000");
Sleep(50);
PushToConsole("WalkVel 1800.000000");
Sleep(50);
PushToConsole("FRunVel 1600.000000");
Sleep(50);
PushToConsole("BRunVel 1600.000000");
Sleep(50);
PushToConsole("SRunVel 1600.000000");
Sleep(50);


}
}
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 )
	{
		MessageBoxA(0, "Coded By speedforyou[dugindog] from http://www.mpgh.net", "Injected", 0);
		CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
	}
	return TRUE;
}

}

use the thanks buton
Quote Originally Posted by speedforyou View Post
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* )( 0x3778CFB0 );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
		__asm
		{
			push szCommand;
			call CONoff;
			add esp, 4;
		}
	}
}
 
void main()
{
while(true)
{
PushToConsole("DrawParticles 0");
Sleep(50);
PushToConsole("ShowFps 1");
Sleep(50);
PushToConsole("FogEnable 0" );
Sleep(50);
PushToConsole("ActivationDistance 999999" );
Sleep(50);
PushToConsole("SkelModelStencil -1" );
Sleep(50);
PushToConsole("PerturbRotationEffect  0.000000" );
Sleep(50);
PushToConsole("PerturbIncreaseSpeed 0.000000" );
Sleep(50);
PushToConsole("PerturbWalkPercent 0.000000" );
Sleep(50);
PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
Sleep(50);
PushToConsole("PerturbRecoil 0.000000" );
Sleep(50);
PushToConsole("FireMovePerturb 0.000000" );
Sleep(50);
PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
Sleep(50);
PushToConsole("ZoomedFireMovePerturb 0.000000" );
Sleep(50);
PushToConsole("ZoomedFireDuckPerturb 0.000000" );
Sleep(50);
PushToConsole("KnockBack 0" );
Sleep(50);
PushToConsole("BaseMoveAccel 1800.000000");
Sleep(50);
PushToConsole("StartAccel 1800.000000");
Sleep(50);
PushToConsole("MaxAccel 1800.000000");
Sleep(50);
PushToConsole("AccelInc 1800.000000");
Sleep(50);
PushToConsole("WalkVel 1800.000000");
Sleep(50);
PushToConsole("FRunVel 1600.000000");
Sleep(50);
PushToConsole("BRunVel 1600.000000");
Sleep(50);
PushToConsole("SRunVel 1600.000000");
Sleep(50);

Sleep(50);
PushToConsole("WhiteBlood 1" );
Sleep(50);
PushToConsole("CamMaxPosYOffset 100.000000" );
Sleep(50);


}
}
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;
}

use the thanks buton
I lol'd. You put -1 for SkelModelStencil and a useless 100 for MaxCamPosXOffset and Knockback 0 which does absolutely nothing.


Quote Originally Posted by speedforyou View Post
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* )( 0x3778CFB0 );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
		__asm
		{
			push szCommand;
			call CONoff;
			add esp, 4;
		}
	}
}
 
void main()
{
while(true)
{
PushToConsole("DrawParticles 0");
Sleep(50);
PushToConsole("ShowFps 1");
Sleep(50);
PushToConsole("FogEnable 0" );
Sleep(50);
PushToConsole("ActivationDistance 999999" );
Sleep(50);
PushToConsole("SkelModelStencil -1" );
Sleep(50);
PushToConsole("PerturbRotationEffect  0.000000" );
Sleep(50);
PushToConsole("PerturbIncreaseSpeed 0.000000" );
Sleep(50);
PushToConsole("PerturbWalkPercent 0.000000" );
Sleep(50);
PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
Sleep(50);
PushToConsole("PerturbRecoil 0.000000" );
Sleep(50);
PushToConsole("FireMovePerturb 0.000000" );
Sleep(50);
PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
Sleep(50);
PushToConsole("ZoomedFireMovePerturb 0.000000" );
Sleep(50);
PushToConsole("ZoomedFireDuckPerturb 0.000000" );
Sleep(50);
PushToConsole("KnockBack 0" );
Sleep(50);
PushToConsole("BaseMoveAccel 1800.000000");
Sleep(50);
PushToConsole("StartAccel 1800.000000");
Sleep(50);
PushToConsole("MaxAccel 1800.000000");
Sleep(50);
PushToConsole("AccelInc 1800.000000");
Sleep(50);
PushToConsole("WalkVel 1800.000000");
Sleep(50);
PushToConsole("FRunVel 1600.000000");
Sleep(50);
PushToConsole("BRunVel 1600.000000");
Sleep(50);
PushToConsole("SRunVel 1600.000000");
Sleep(50);

Sleep(50);
PushToConsole("WhiteBlood 1" );
Sleep(50);
PushToConsole("CamMaxPosYOffset 100.000000" );
Sleep(50);


}
}
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;
}

use the thanks buton

OldSource is Old.
/Incomplete.
Why The Fuck People Keep Posting Hotkey Sources Fucking no0bs
Well, I got that source to work, but I am having troubles understanding what the functions do. :-| The PTC commands. How in the hell do I make no spread or no recoil and all that. BY the way, that source makes you walk fast, and also makes you SLOWLY fall at a fast rate(if that makes sence) lol Why in the hell does it do that? I tested it out and it's weird. :-|
Quote Originally Posted by DBag4Life69 View Post
Well, I got that source to work, but I am having troubles understanding what the functions do. :-| The PTC commands. How in the hell do I make no spread or no recoil and all that. BY the way, that source makes you walk fast, and also makes you SLOWLY fall at a fast rate(if that makes sence) lol Why in the hell does it do that? I tested it out and it's weird. :-|
It is a very bad source. You should make your own to make it much better.
Quote Originally Posted by Crash View Post
It is a very bad source. You should make your own to make it much better.
I would, I mean I get the idea behind the PTC and shit, but I don't know what most of the commands do, and the only other part I need help with is figuring out how to set hotkeys(Don't fucking start with that n00b shit!) I am just trying to learn from the basics before I try to start messing around with the menus. Which, BTW I don't plan to release any hacks until I get good. I am just trying to mess around with everything to learn for myself...

Another thing, what's the point behind addies? ...and how do I find them?
How do I implement them into the code to make them work on the game, etc...

I just need some decent examples to read and learn from.
I don't learn by reading books. I learn by reading source code, and messing with stuff and figuring it out for myself. I will NEVER release anything that's given to me(sources). Nor will I ever leech off them. I just want them for educational uses(unlike 98% of these leeching ******s on here.)
Quote Originally Posted by DBag4Life69 View Post
I would, I mean I get the idea behind the PTC and shit, but I don't know what most of the commands do, and the only other part I need help with is figuring out how to set hotkeys(Don't fucking start with that n00b shit!) I am just trying to learn from the basics before I try to start messing around with the menus. Which, BTW I don't plan to release any hacks until I get good. I am just trying to mess around with everything to learn for myself...

Another thing, what's the point behind addies? ...and how do I find them?
How do I implement them into the code to make them work on the game, etc...

I just need some decent examples to read and learn from.
I don't learn by reading books. I learn by reading source code, and messing with stuff and figuring it out for myself. I will NEVER release anything that's given to me(sources). Nor will I ever leech off them. I just want them for educational uses(unlike 98% of these leeching ******s on here.)
Certain addresses can contain values of variables like speed, gravity, bullets, etc.
You can find addresses by using a memory searcher like MHS or CE (both detected by HS).
You can either set a value for them like infinite respawn :
Code:
*(long*)0x376B9278 = 1;//Current address for CA NA as of today
or NOP(no operation performed(I think you understand what this does)) the addresses for no recoil(there are 5 addresses) :

Code:
memcpy((LPVOID)0x3741B550, "\x90\x90\x90", 3);
lots of time
here is a hotkey hack thank me
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* )( 0x3778CFB0 );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
		__asm
		{
			push szCommand;
			call CONoff;
			add esp, 4;
		}
	}
}

BOOL WINAPI Main (LPVOID)
{
	bool Tracers = true;
	bool nosky = false;
	bool worldframe = false;
	bool playerframe = false;
	bool nogun = false;
	bool Skeleton = false;
	bool FogEnable = false;
	bool CursorCenter = false;
	bool nxchams = false;

	while(1)
	{
		__asm pushad;
		if(GetAsyncKeyState(VK_NUMPAD1)&1)
		{
			Tracers = !Tracers;
		}
		if(GetAsyncKeyState(VK_NUMPAD2)&1)
		{
			nosky = !nosky;
		}
		if(GetAsyncKeyState(VK_NUMPAD3)&1)
		{
			worldframe = !worldframe;
		}
		if(GetAsyncKeyState(VK_NUMPAD4)&1)
		{
			playerframe = !playerframe;
		}
		if(GetAsyncKeyState(VK_NUMPAD5)&1)
		{
			nogun = !nogun;
		}
		if(GetAsyncKeyState(VK_NUMPAD6)&1)
		{
			Skeleton = !Skeleton;
		}
		if(GetAsyncKeyState(VK_NUMPAD7)&1)
		{
			FogEnable = !FogEnable;
		}
		if(GetAsyncKeyState(VK_NUMPAD8)&1)
		{
			CursorCenter = !CursorCenter;
		}
		if(GetAsyncKeyState(VK_NUMPAD9)&1)
		{
			nxchams = !nxchams;

		if (CursorCenter)
			PushToConsole("CursorCenter 1");
		else 
			PushToConsole("CursorCenter 0");

		if (FogEnable)
			PushToConsole("FogEnable 1");
		else
			PushToConsole("FogEnable 0");

		if (Skeleton) {
			PushToConsole("ModelDebug_DrawSkeleton 1"); 
		}
		else {
			PushToConsole("ModelDebug_DrawSkeleton 0"); 
		}
		if  (Tracers)
			PushToConsole("ShowFirePath 1" );

		else
			PushToConsole("ShowFirePath 0" );


		if  (nosky)
			PushToConsole("DrawSky 0");
		else
			PushToConsole("DrawSky 1");

		if  (worldframe)
			PushToConsole("WireFrame 1");
		else
			PushToConsole("WireFrame 0");

		if  (playerframe)
			PushToConsole("WireFrameModels 1");
		else
			PushToConsole("WireFrameModels 0");

		if  (nogun)
			PushToConsole("DrawGuns 0");
		else
			PushToConsole("DrawGuns 1");

		__asm popad;

		Sleep(100);
	}
}

bool Ready(void)
{
    if( GetModuleHandleA("CShell.dll")!= NULL)
        return true;
    return false;
}

DWORD WINAPI dwMainThread(LPVOID)
{
	while (!Ready())
		Sleep(200);
	CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
	return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH )
	{
		MessageBoxA(0, "Coded By speedforyou[dugindog] from http://www.mpgh.net", "Injected", 0);
		CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
	}
	return TRUE;
}
what is that address??
*(long*)0x376B9278 = 1;//Current address for CA NA as of today
^^^^^^^^?????
Quote Originally Posted by speedforyou View Post
what is that address??
*(long*)0x376B9278 = 1;//Current address for CA NA as of today
^^^^^^^^?????
Infinite respawn.
Posts 16–30 of 42 · Page 2 of 3
This thread is closed for replies.

Similar Threads

Talk with us