Starting off with it(Openign things)

Posts 1–15 of 16 · Page 1 of 2
Starting off with it(Openign things)
Well ummmm,anyone knows the code to put in my hack to make my hack say made by me when it injects
i thought it would be
#pragma message(" Made By zatchbell3s ")
also whats the code so i can make mpgh.net open up as soon as my hack injects(so no-one can try to be like i made this whe nthey did that)

Also does someoen have a unpacked CShell?

THANKS

Regards,
Zatchbell3
for your message:

Code:
MessageBox(NULL, "Made by zatchbell3s", "Made by zatchbell3s", NULL);
for mpgh to come up:

Code:
system("start http://mpgh.net");
Well this is what i get now : \

Code:
------ Build started: Project: -Zatchbells Hotkey hack, Configuration: Debug Win32 ------
  Hotkey base.cpp
   Made By zatchbell3s 
c:\users\owner-1\desktop\-Zatchbells Hotkey hack\-Zatchbells Hotkey hack\hotkey base.cpp(6): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\owner-1\desktop\-Zatchbells Hotkey hack\-Zatchbells Hotkey hack\hotkey base.cpp(6): error C2365: 'MessageBoxW' : redefinition; previous definition was 'function'
          c:\program files\microsoft sdks\windows\v7.0a\include\winuser.h(7520) : see declaration of 'MessageBoxW'
c:\users\owner-1\desktop\-Zatchbells Hotkey hack\-Zatchbells Hotkey hack\hotkey base.cpp(6): error C2078: too many initializers
c:\users\owner-1\desktop\-Zatchbells Hotkey hack\-Zatchbells Hotkey hack\hotkey base.cpp(7): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\owner-1\desktop\-Zatchbells Hotkey hack\-Zatchbells Hotkey hack\hotkey base.cpp(7): error C2365: 'system' : redefinition; previous definition was 'function'
          c:\program files\microsoft visual studio 10.0\vc\include\stdlib.h(520) : see declaration of 'system'
c:\users\owner-1\desktop\-Zatchbells Hotkey hack\-Zatchbells Hotkey hack\hotkey base.cpp(7): error C2440: 'initializing' : cannot convert from 'const char [22]' to 'int'
          There is no context in which this conversion is possible
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
#include <windows.h>? i probly had this error but i dont remeber wat i did.
i SEe,but this is what i got it to start off with

Code:
#include <windows.h>
#include <shellapi.h>

#pragma comment(lib,"shell32.lib")
#pragma message(" Made By zatchbell3s ")
MessageBox(NULL, "Made by zatchbell3s of mpgh.net-INJECTION SUCCESS", "Made by zatchbell3s of mpgh.net-INJECTION SUCCESS", NULL);
system("start http://mpgh.net");
thats liek first 10 lines
Quote Originally Posted by zatchbell3 View Post
i SEe,but this is what i got it to start off with

Code:
#include <windows.h>
#include <shellapi.h>

#pragma comment(lib,"shell32.lib")
#pragma message(" Made By zatchbell3s ")
MessageBox(NULL, "Made by zatchbell3s of mpgh.net-INJECTION SUCCESS", "Made by zatchbell3s of mpgh.net-INJECTION SUCCESS", NULL);
system("start http://mpgh.net");
thats liek first 10 lines
Dude... I am speechless about this.
Post your source, please. The WHOLE thing. I don't think you will have to worry about anyone leeching it.
Nothing is going to happen if you dont put it in a thread or when the .dll injects part, forgot its name
haha ightt,here it is


Code:
#include <windows.h>
#include <shellapi.h>

#pragma comment(lib,"shell32.lib")
#pragma message(" Made By zatchbell3s ")
MessageBox(NULL, "Made by zatchbell3s of mpgh.net-INJECTION SUCCESS", "Made by zatchbell3s of mpgh.net-INJECTION SUCCESS", NULL);
system("start http://mpgh.net");


//Glass Walls
#define GLASS_WALL 0x5721BA

//Reload Address To NOP
#define RELOAD 0x374AB714
//Recoil
#define RECOIL1 0x3745FA90
#define RECOIL2 0x37232A69
#define RECOIL3 0x3745FAA4
#define RECOIL4 0x3745FAA7
#define RECOIL5 0x3745FAB0

//hotkey bools

static bool bFPS = true; // Numpad 0
static bool bChams = true; // Numpad 1
static bool bSpeed = true; // Numpad 2
static bool bRecoil = true; // Numpad 3
static bool bTracers = true; // Numpad 4
static bool bFog = true; // Numpad 5
static bool bSupaJump = true; // Numpad 6
static bool bWireWorld = true; // Numpad 7
static bool bPerfStats = true; // Numpad 8
static bool bGlassWalls = true; // Numpad 9
static bool bWindow = true; // Up Arrow
static bool bSkel = true; // Down Arrow
static bool bBright = true; // Numpad .
static bool bWhite = true; // Numpad -
static bool bSnow = true; // Numpad /
static bool bSway = true; //Pageup

bool Memoria( void * pDest, char * szPatch, size_t sSize )
{ 
	DWORD dwOrgProtect = NULL; 
	if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
	return FALSE;
	memcpy( pDest, szPatch, sSize ); 
	VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
	return TRUE; 
}

bool IsBillyReadyForCook()
{
	if( GetModuleHandleA( "d3d9.dll" ) != NULL && GetModuleHandleA( "ClientFX.fxd" ) != NULL && GetModuleHandleA( "CShell.dll" ) != NULL ) return true;
	
	return false;
}

void __cdecl PushToConsole( const char* Lazy_Fuck )
{
	DWORD *LTClient = ( DWORD* )( 0x377ED910 );  
	void* Mofo = ( void* )*( DWORD* )( *LTClient + 0x208 );
	__asm
	{
		push Lazy_Fuck;
		call Mofo;
		add esp, 4;
	}
} 

void main()
{

	while(true)

	{
        
		if (GetAsyncKeyState(VK_NUMPAD0)&1) bFPS = !bFPS;
		if (bFPS)
		{
			Sleep(30);
			PushToConsole("ShowFps 1");
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("ShowFps 0");
			Sleep(30);
		}
		
		if (GetAsyncKeyState(VK_NUMPAD1)&1) bChams = !bChams;
		if (bChams)
		{
			Sleep(30);
			PushToConsole("SkelModelStencil -1" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("SkelModelStencil 0" );
			Sleep(30);
		}
		
		Sleep(30);
		//Pickup Hack
		Sleep(40);
		PushToConsole("KnockBack 0" );
		PushToConsole("Prediction 1" );
		PushToConsole("ActivationDistance 9999999" );
		Sleep(30);
		PushToConsole("PerturbRotationEffect  0" );
		PushToConsole("PerturbIncreaseSpeed 0" );
		PushToConsole("PerturbWalkPercent 0" );
		PushToConsole("PerturbFiringIncreaseSpeed 0" );
		PushToConsole("PerturbRecoil 0" );
		PushToConsole("FireMovePerturb 0" );
		PushToConsole("ZoomedFireMoveDuckPerturb 0" );
		PushToConsole("ZoomedFireMovePerturb 0" );
		PushToConsole("ZoomedFireDuckPerturb 0" );
		Sleep(40);
		
		
		
		if (GetAsyncKeyState(VK_NUMPAD2)&1) bSpeed = !bSpeed;
		if (bSpeed)
		{
			
			Sleep(30);
			PushToConsole("BaseMoveAccel 3000");
			PushToConsole("StartAccel 500");
			PushToConsole("MaxAccel 3000");
			PushToConsole("AccelInc 6000");
			PushToConsole("WalkVel 70");
			PushToConsole("FRunVel 285");
			PushToConsole("BRunVel 285");
			PushToConsole("SRunVel 285");
			PushToConsole("JumpVel 330");
			PushToConsole("DuckVel 50");
			Sleep(40);
			PushToConsole("PlayerGravity -1100");
			Sleep(40);
			
		}else{
			
			Sleep(30);
			PushToConsole("BaseMoveAccel 3000");
			PushToConsole("StartAccel 2500");
			PushToConsole("MaxAccel 3000");
			PushToConsole("AccelInc 3000");
			PushToConsole("WalkVel 3000");
			PushToConsole("FRunVel 2500");
			PushToConsole("BRunVel 3000");
			PushToConsole("SRunVel 3000");
			PushToConsole("JumpVel 330");
			PushToConsole("DuckVel 3000");
			Sleep(40);
			PushToConsole("PlayerGravity -1100");
			Sleep(40);			
		}
		
		
		if (GetAsyncKeyState(VK_NUMPAD3)&1) bTracers = !bTracers;
		if (bTracers)
		{
			Sleep(30);
			PushToConsole("ShowFirePath 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("ShowFirePath 1" );
			Sleep(30);
		}
		
		
		if (GetAsyncKeyState(VK_NUMPAD4)&1) bFog = !bFog;
		if (bFog)
		{
			Sleep(30);
			PushToConsole("FogEnable 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("FogEnable 1" );
			Sleep(30);
		}
		
		
		if (GetAsyncKeyState(VK_NUMPAD5)&1) bSupaJump = !bSupaJump;
		if (bSupaJump)
		{
			Sleep(30);
			PushToConsole("JumpVel 330" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("JumpVel 950" );
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_NUMPAD6)&1) bWireWorld = !bWireWorld;
		if (bWireWorld)
		{
			Sleep(30);
			PushToConsole("WireFrame 0" );
			PushToConsole("WireframeModels 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("WireFrame 1" );
			PushToConsole("WireframeModels 1");
			Sleep(30);
		}

		
		if (GetAsyncKeyState(VK_NUMPAD7)&1) bWindow = !bWindow;
		if (bWindow)
		{
			Sleep(20);
			PushToConsole("windowed 0" );
			Sleep(20);
		}else{
			Sleep(20);
			PushToConsole("windowed 1");
			Sleep(20);
			
		if (GetAsyncKeyState(VK_NUMPAD9)&1) bSkel = !bSkel;
		if (bSkel)
		{
			Sleep(40);
			PushToConsole("ModelDebug_DrawSkeleton 0");
			Sleep(40);
		}else{
			Sleep(40);
			PushToConsole("ModelDebug_DrawSkeleton 1");
			Sleep(40);
		}

		}
		if (GetAsyncKeyState(VK_NUMPAD8)&1) bPerfStats = !bPerfStats;
		if (bPerfStats)
		{
			Sleep(20);
			PushToConsole("ShowPerformanceStatistics 0");
			Sleep(20);
		}else{
			Sleep(20);
			PushToConsole("ShowPerformanceStatistics 1");
			Sleep(20);
		}

		
		

		
		
		if (GetAsyncKeyState(VK_SUBTRACT)&1) bGlassWalls = !bGlassWalls;
		if (bGlassWalls)
		{
			Sleep(30);
			Memoria((LPVOID) GLASS_WALL, "\x6A\x01", 2);
			Sleep(30);
		}else{
			Sleep(30);
            Memoria((LPVOID) GLASS_WALL, "\x6A\x00", 2);
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_ADD)&1) bRecoil = !bRecoil;
		if (bRecoil)
		{
			Sleep(30);
			Memoria((LPVOID) (RELOAD), "\x90\x90\x90\x90\x90\x90", 6);
			Sleep(20);
		    Memoria((LPVOID) (RECOIL1), "\x90\x90\x90", 3);
	      	Memoria((LPVOID) (RECOIL2), "\x90\x90\x90", 3);
		    Memoria((LPVOID) (RECOIL3), "\x90\x90\x90", 3);
		    Memoria((LPVOID) (RECOIL4), "\x90\x90\x90", 3);
		    Memoria((LPVOID) (RECOIL5), "\x90\x90\x90", 3);
		    Sleep(30);
		}else{
			Sleep(30);
			Memoria((LPVOID) (RELOAD), "\x0F\x84\xB1\x01\x00\x00", 6);
			Sleep(20);
			Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3);
			Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3);
			Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3);
			Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3);
			Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3);
		    Sleep(30);
		}

		if (GetAsyncKeyState(VK_DIVIDE)&1) bSnow = !bSnow;
		if (bSnow)
		{
			Sleep(30);
			PushToConsole("SnowEnable 1" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("SnowEnable 0" );
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_DECIMAL)&1) bBright = !bBright;
		if (bBright)
		{
			Sleep(30);
			PushToConsole("FullBright 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("FullBright 1" );
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_LEFT)&1) bWhite = !bWhite;
		if (bWhite)
		{
			Sleep(30);
			PushToConsole("DrawFlat 0" );
			PushToConsole("WhiteBlood 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("DrawFlat 1" );
			PushToConsole("WhiteBlood 1" );
			Sleep(30);
		}

        Sleep(200);
	}

}
DWORD WINAPI dwBillyFry(LPVOID)
{
	while( !IsBillyReadyForCook() )
	Sleep(100);
	main();
	return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH )
	{
		CreateThread(NULL, NULL, dwBillyFry, NULL, NULL, NULL);
	}
	return TRUE;
}
Any Idea?!?!?!?
Quote Originally Posted by zatchbell3 View Post
haha ightt,here it is


Code:
#include <windows.h>
#include <shellapi.h>

#pragma comment(lib,"shell32.lib")
#pragma message(" Made By zatchbell3s ")
MessageBox(NULL, "Made by zatchbell3s of mpgh.net-INJECTION SUCCESS", "Made by zatchbell3s of mpgh.net-INJECTION SUCCESS", NULL);
system("start http://mpgh.net");


//Glass Walls
#define GLASS_WALL 0x5721BA

//Reload Address To NOP
#define RELOAD 0x374AB714
//Recoil
#define RECOIL1 0x3745FA90
#define RECOIL2 0x37232A69
#define RECOIL3 0x3745FAA4
#define RECOIL4 0x3745FAA7
#define RECOIL5 0x3745FAB0

//hotkey bools

static bool bFPS = true; // Numpad 0
static bool bChams = true; // Numpad 1
static bool bSpeed = true; // Numpad 2
static bool bRecoil = true; // Numpad 3
static bool bTracers = true; // Numpad 4
static bool bFog = true; // Numpad 5
static bool bSupaJump = true; // Numpad 6
static bool bWireWorld = true; // Numpad 7
static bool bPerfStats = true; // Numpad 8
static bool bGlassWalls = true; // Numpad 9
static bool bWindow = true; // Up Arrow
static bool bSkel = true; // Down Arrow
static bool bBright = true; // Numpad .
static bool bWhite = true; // Numpad -
static bool bSnow = true; // Numpad /
static bool bSway = true; //Pageup

bool Memoria( void * pDest, char * szPatch, size_t sSize )
{ 
	DWORD dwOrgProtect = NULL; 
	if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
	return FALSE;
	memcpy( pDest, szPatch, sSize ); 
	VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
	return TRUE; 
}

bool IsBillyReadyForCook()
{
	if( GetModuleHandleA( "d3d9.dll" ) != NULL && GetModuleHandleA( "ClientFX.fxd" ) != NULL && GetModuleHandleA( "CShell.dll" ) != NULL ) return true;
	
	return false;
}

void __cdecl PushToConsole( const char* Lazy_Fuck )
{
	DWORD *LTClient = ( DWORD* )( 0x377ED910 );  
	void* Mofo = ( void* )*( DWORD* )( *LTClient + 0x208 );
	__asm
	{
		push Lazy_Fuck;
		call Mofo;
		add esp, 4;
	}
} 

void main()
{

	while(true)

	{
        
		if (GetAsyncKeyState(VK_NUMPAD0)&1) bFPS = !bFPS;
		if (bFPS)
		{
			Sleep(30);
			PushToConsole("ShowFps 1");
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("ShowFps 0");
			Sleep(30);
		}
		
		if (GetAsyncKeyState(VK_NUMPAD1)&1) bChams = !bChams;
		if (bChams)
		{
			Sleep(30);
			PushToConsole("SkelModelStencil -1" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("SkelModelStencil 0" );
			Sleep(30);
		}
		
		Sleep(30);
		//Pickup Hack
		Sleep(40);
		PushToConsole("KnockBack 0" );
		PushToConsole("Prediction 1" );
		PushToConsole("ActivationDistance 9999999" );
		Sleep(30);
		PushToConsole("PerturbRotationEffect  0" );
		PushToConsole("PerturbIncreaseSpeed 0" );
		PushToConsole("PerturbWalkPercent 0" );
		PushToConsole("PerturbFiringIncreaseSpeed 0" );
		PushToConsole("PerturbRecoil 0" );
		PushToConsole("FireMovePerturb 0" );
		PushToConsole("ZoomedFireMoveDuckPerturb 0" );
		PushToConsole("ZoomedFireMovePerturb 0" );
		PushToConsole("ZoomedFireDuckPerturb 0" );
		Sleep(40);
		
		
		
		if (GetAsyncKeyState(VK_NUMPAD2)&1) bSpeed = !bSpeed;
		if (bSpeed)
		{
			
			Sleep(30);
			PushToConsole("BaseMoveAccel 3000");
			PushToConsole("StartAccel 500");
			PushToConsole("MaxAccel 3000");
			PushToConsole("AccelInc 6000");
			PushToConsole("WalkVel 70");
			PushToConsole("FRunVel 285");
			PushToConsole("BRunVel 285");
			PushToConsole("SRunVel 285");
			PushToConsole("JumpVel 330");
			PushToConsole("DuckVel 50");
			Sleep(40);
			PushToConsole("PlayerGravity -1100");
			Sleep(40);
			
		}else{
			
			Sleep(30);
			PushToConsole("BaseMoveAccel 3000");
			PushToConsole("StartAccel 2500");
			PushToConsole("MaxAccel 3000");
			PushToConsole("AccelInc 3000");
			PushToConsole("WalkVel 3000");
			PushToConsole("FRunVel 2500");
			PushToConsole("BRunVel 3000");
			PushToConsole("SRunVel 3000");
			PushToConsole("JumpVel 330");
			PushToConsole("DuckVel 3000");
			Sleep(40);
			PushToConsole("PlayerGravity -1100");
			Sleep(40);			
		}
		
		
		if (GetAsyncKeyState(VK_NUMPAD3)&1) bTracers = !bTracers;
		if (bTracers)
		{
			Sleep(30);
			PushToConsole("ShowFirePath 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("ShowFirePath 1" );
			Sleep(30);
		}
		
		
		if (GetAsyncKeyState(VK_NUMPAD4)&1) bFog = !bFog;
		if (bFog)
		{
			Sleep(30);
			PushToConsole("FogEnable 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("FogEnable 1" );
			Sleep(30);
		}
		
		
		if (GetAsyncKeyState(VK_NUMPAD5)&1) bSupaJump = !bSupaJump;
		if (bSupaJump)
		{
			Sleep(30);
			PushToConsole("JumpVel 330" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("JumpVel 950" );
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_NUMPAD6)&1) bWireWorld = !bWireWorld;
		if (bWireWorld)
		{
			Sleep(30);
			PushToConsole("WireFrame 0" );
			PushToConsole("WireframeModels 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("WireFrame 1" );
			PushToConsole("WireframeModels 1");
			Sleep(30);
		}

		
		if (GetAsyncKeyState(VK_NUMPAD7)&1) bWindow = !bWindow;
		if (bWindow)
		{
			Sleep(20);
			PushToConsole("windowed 0" );
			Sleep(20);
		}else{
			Sleep(20);
			PushToConsole("windowed 1");
			Sleep(20);
			
		if (GetAsyncKeyState(VK_NUMPAD9)&1) bSkel = !bSkel;
		if (bSkel)
		{
			Sleep(40);
			PushToConsole("ModelDebug_DrawSkeleton 0");
			Sleep(40);
		}else{
			Sleep(40);
			PushToConsole("ModelDebug_DrawSkeleton 1");
			Sleep(40);
		}

		}
		if (GetAsyncKeyState(VK_NUMPAD8)&1) bPerfStats = !bPerfStats;
		if (bPerfStats)
		{
			Sleep(20);
			PushToConsole("ShowPerformanceStatistics 0");
			Sleep(20);
		}else{
			Sleep(20);
			PushToConsole("ShowPerformanceStatistics 1");
			Sleep(20);
		}

		
		

		
		
		if (GetAsyncKeyState(VK_SUBTRACT)&1) bGlassWalls = !bGlassWalls;
		if (bGlassWalls)
		{
			Sleep(30);
			Memoria((LPVOID) GLASS_WALL, "\x6A\x01", 2);
			Sleep(30);
		}else{
			Sleep(30);
            Memoria((LPVOID) GLASS_WALL, "\x6A\x00", 2);
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_ADD)&1) bRecoil = !bRecoil;
		if (bRecoil)
		{
			Sleep(30);
			Memoria((LPVOID) (RELOAD), "\x90\x90\x90\x90\x90\x90", 6);
			Sleep(20);
		    Memoria((LPVOID) (RECOIL1), "\x90\x90\x90", 3);
	      	Memoria((LPVOID) (RECOIL2), "\x90\x90\x90", 3);
		    Memoria((LPVOID) (RECOIL3), "\x90\x90\x90", 3);
		    Memoria((LPVOID) (RECOIL4), "\x90\x90\x90", 3);
		    Memoria((LPVOID) (RECOIL5), "\x90\x90\x90", 3);
		    Sleep(30);
		}else{
			Sleep(30);
			Memoria((LPVOID) (RELOAD), "\x0F\x84\xB1\x01\x00\x00", 6);
			Sleep(20);
			Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3);
			Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3);
			Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3);
			Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3);
			Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3);
		    Sleep(30);
		}

		if (GetAsyncKeyState(VK_DIVIDE)&1) bSnow = !bSnow;
		if (bSnow)
		{
			Sleep(30);
			PushToConsole("SnowEnable 1" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("SnowEnable 0" );
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_DECIMAL)&1) bBright = !bBright;
		if (bBright)
		{
			Sleep(30);
			PushToConsole("FullBright 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("FullBright 1" );
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_LEFT)&1) bWhite = !bWhite;
		if (bWhite)
		{
			Sleep(30);
			PushToConsole("DrawFlat 0" );
			PushToConsole("WhiteBlood 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("DrawFlat 1" );
			PushToConsole("WhiteBlood 1" );
			Sleep(30);
		}

        Sleep(200);
	}

}
DWORD WINAPI dwBillyFry(LPVOID)
{
	while( !IsBillyReadyForCook() )
	Sleep(100);
	main();
	return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH )
	{
		CreateThread(NULL, NULL, dwBillyFry, NULL, NULL, NULL);
	}
	return TRUE;
}
Any Idea?!?!?!?
Yes sir.
I have it figured out, man.

Now you should figure it out if you know C++.
I don't know C++ yet, I am still learning, and I figure that one out very quickly smart one! hahaha.

I am about to inject this, and test it to see if it works. If it does, then I might possibly give you the answer you're looking for. ;-)

BRB.

Testing time...
Quote Originally Posted by zatchbell3 View Post
haha ightt,here it is


Code:
#include <windows.h>
#include <shellapi.h>



//Glass Walls
#define GLASS_WALL 0x5721BA

//Reload Address To NOP
#define RELOAD 0x374AB714
//Recoil
#define RECOIL1 0x3745FA90
#define RECOIL2 0x37232A69
#define RECOIL3 0x3745FAA4
#define RECOIL4 0x3745FAA7
#define RECOIL5 0x3745FAB0

//hotkey bools

static bool bFPS = true; // Numpad 0
static bool bChams = true; // Numpad 1
static bool bSpeed = true; // Numpad 2
static bool bRecoil = true; // Numpad 3
static bool bTracers = true; // Numpad 4
static bool bFog = true; // Numpad 5
static bool bSupaJump = true; // Numpad 6
static bool bWireWorld = true; // Numpad 7
static bool bPerfStats = true; // Numpad 8
static bool bGlassWalls = true; // Numpad 9
static bool bWindow = true; // Up Arrow
static bool bSkel = true; // Down Arrow
static bool bBright = true; // Numpad .
static bool bWhite = true; // Numpad -
static bool bSnow = true; // Numpad /
static bool bSway = true; //Pageup

bool Memoria( void * pDest, char * szPatch, size_t sSize )
{ 
	DWORD dwOrgProtect = NULL; 
	if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
	return FALSE;
	memcpy( pDest, szPatch, sSize ); 
	VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
	return TRUE; 
}

bool IsBillyReadyForCook()
{
	if( GetModuleHandleA( "d3d9.dll" ) != NULL && GetModuleHandleA( "ClientFX.fxd" ) != NULL && GetModuleHandleA( "CShell.dll" ) != NULL ) return true;
	
	return false;
}

void __cdecl PushToConsole( const char* Lazy_Fuck )
{
	DWORD *LTClient = ( DWORD* )( 0x377ED910 );  
	void* Mofo = ( void* )*( DWORD* )( *LTClient + 0x208 );
	__asm
	{
		push Lazy_Fuck;
		call Mofo;
		add esp, 4;
	}
} 

void main()
{

	while(true)

	{
        
		if (GetAsyncKeyState(VK_NUMPAD0)&1) bFPS = !bFPS;
		if (bFPS)
		{
			Sleep(30);
			PushToConsole("ShowFps 1");
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("ShowFps 0");
			Sleep(30);
		}
		
		if (GetAsyncKeyState(VK_NUMPAD1)&1) bChams = !bChams;
		if (bChams)
		{
			Sleep(30);
			PushToConsole("SkelModelStencil -1" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("SkelModelStencil 0" );
			Sleep(30);
		}
		
		Sleep(30);
		//Pickup Hack
		Sleep(40);
		PushToConsole("KnockBack 0" );
		PushToConsole("Prediction 1" );
		PushToConsole("ActivationDistance 9999999" );
		Sleep(30);
		PushToConsole("PerturbRotationEffect  0" );
		PushToConsole("PerturbIncreaseSpeed 0" );
		PushToConsole("PerturbWalkPercent 0" );
		PushToConsole("PerturbFiringIncreaseSpeed 0" );
		PushToConsole("PerturbRecoil 0" );
		PushToConsole("FireMovePerturb 0" );
		PushToConsole("ZoomedFireMoveDuckPerturb 0" );
		PushToConsole("ZoomedFireMovePerturb 0" );
		PushToConsole("ZoomedFireDuckPerturb 0" );
		Sleep(40);
		
		
		
		if (GetAsyncKeyState(VK_NUMPAD2)&1) bSpeed = !bSpeed;
		if (bSpeed)
		{
			
			Sleep(30);
			PushToConsole("BaseMoveAccel 3000");
			PushToConsole("StartAccel 500");
			PushToConsole("MaxAccel 3000");
			PushToConsole("AccelInc 6000");
			PushToConsole("WalkVel 70");
			PushToConsole("FRunVel 285");
			PushToConsole("BRunVel 285");
			PushToConsole("SRunVel 285");
			PushToConsole("JumpVel 330");
			PushToConsole("DuckVel 50");
			Sleep(40);
			PushToConsole("PlayerGravity -1100");
			Sleep(40);
			
		}else{
			
			Sleep(30);
			PushToConsole("BaseMoveAccel 3000");
			PushToConsole("StartAccel 2500");
			PushToConsole("MaxAccel 3000");
			PushToConsole("AccelInc 3000");
			PushToConsole("WalkVel 3000");
			PushToConsole("FRunVel 2500");
			PushToConsole("BRunVel 3000");
			PushToConsole("SRunVel 3000");
			PushToConsole("JumpVel 330");
			PushToConsole("DuckVel 3000");
			Sleep(40);
			PushToConsole("PlayerGravity -1100");
			Sleep(40);			
		}
		
		
		if (GetAsyncKeyState(VK_NUMPAD3)&1) bTracers = !bTracers;
		if (bTracers)
		{
			Sleep(30);
			PushToConsole("ShowFirePath 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("ShowFirePath 1" );
			Sleep(30);
		}
		
		
		if (GetAsyncKeyState(VK_NUMPAD4)&1) bFog = !bFog;
		if (bFog)
		{
			Sleep(30);
			PushToConsole("FogEnable 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("FogEnable 1" );
			Sleep(30);
		}
		
		
		if (GetAsyncKeyState(VK_NUMPAD5)&1) bSupaJump = !bSupaJump;
		if (bSupaJump)
		{
			Sleep(30);
			PushToConsole("JumpVel 330" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("JumpVel 950" );
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_NUMPAD6)&1) bWireWorld = !bWireWorld;
		if (bWireWorld)
		{
			Sleep(30);
			PushToConsole("WireFrame 0" );
			PushToConsole("WireframeModels 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("WireFrame 1" );
			PushToConsole("WireframeModels 1");
			Sleep(30);
		}

		
		if (GetAsyncKeyState(VK_NUMPAD7)&1) bWindow = !bWindow;
		if (bWindow)
		{
			Sleep(20);
			PushToConsole("windowed 0" );
			Sleep(20);
		}else{
			Sleep(20);
			PushToConsole("windowed 1");
			Sleep(20);
			
		if (GetAsyncKeyState(VK_NUMPAD9)&1) bSkel = !bSkel;
		if (bSkel)
		{
			Sleep(40);
			PushToConsole("ModelDebug_DrawSkeleton 0");
			Sleep(40);
		}else{
			Sleep(40);
			PushToConsole("ModelDebug_DrawSkeleton 1");
			Sleep(40);
		}

		}
		if (GetAsyncKeyState(VK_NUMPAD8)&1) bPerfStats = !bPerfStats;
		if (bPerfStats)
		{
			Sleep(20);
			PushToConsole("ShowPerformanceStatistics 0");
			Sleep(20);
		}else{
			Sleep(20);
			PushToConsole("ShowPerformanceStatistics 1");
			Sleep(20);
		}

		
		

		
		
		if (GetAsyncKeyState(VK_SUBTRACT)&1) bGlassWalls = !bGlassWalls;
		if (bGlassWalls)
		{
			Sleep(30);
			Memoria((LPVOID) GLASS_WALL, "\x6A\x01", 2);
			Sleep(30);
		}else{
			Sleep(30);
            Memoria((LPVOID) GLASS_WALL, "\x6A\x00", 2);
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_ADD)&1) bRecoil = !bRecoil;
		if (bRecoil)
		{
			Sleep(30);
			Memoria((LPVOID) (RELOAD), "\x90\x90\x90\x90\x90\x90", 6);
			Sleep(20);
		    Memoria((LPVOID) (RECOIL1), "\x90\x90\x90", 3);
	      	Memoria((LPVOID) (RECOIL2), "\x90\x90\x90", 3);
		    Memoria((LPVOID) (RECOIL3), "\x90\x90\x90", 3);
		    Memoria((LPVOID) (RECOIL4), "\x90\x90\x90", 3);
		    Memoria((LPVOID) (RECOIL5), "\x90\x90\x90", 3);
		    Sleep(30);
		}else{
			Sleep(30);
			Memoria((LPVOID) (RELOAD), "\x0F\x84\xB1\x01\x00\x00", 6);
			Sleep(20);
			Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3);
			Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3);
			Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3);
			Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3);
			Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3);
		    Sleep(30);
		}

		if (GetAsyncKeyState(VK_DIVIDE)&1) bSnow = !bSnow;
		if (bSnow)
		{
			Sleep(30);
			PushToConsole("SnowEnable 1" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("SnowEnable 0" );
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_DECIMAL)&1) bBright = !bBright;
		if (bBright)
		{
			Sleep(30);
			PushToConsole("FullBright 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("FullBright 1" );
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_LEFT)&1) bWhite = !bWhite;
		if (bWhite)
		{
			Sleep(30);
			PushToConsole("DrawFlat 0" );
			PushToConsole("WhiteBlood 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("DrawFlat 1" );
			PushToConsole("WhiteBlood 1" );
			Sleep(30);
		}

        Sleep(200);
	}

}
DWORD WINAPI dwBillyFry(LPVOID)
{
	while( !IsBillyReadyForCook() )
	Sleep(100);
	main();
	return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
MessageBox(NULL, "Made by zatchbell3s of mpgh.net-INJECTION SUCCESS", "Made by zatchbell3s of mpgh.net-INJECTION SUCCESS", NULL);
system("start http://mpgh.net");
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH )
	{
		CreateThread(NULL, NULL, dwBillyFry, NULL, NULL, NULL);
	}
	return TRUE;
}
Any Idea?!?!?!?

there noa thank me.
u place messagebox in dllmain....i explained quite clearly
Give Credits if you can possibly,but it wont work with out my other files(i dont think)

Quote Originally Posted by scimmyboy View Post
u place messagebox in dllmain....i explained quite clearly
Well the Hotkeys base is what i put it in(but still fails)

all in my VC++ is the actaull base Plus the dependices,thats all
Quote Originally Posted by zatchbell3 View Post
Give Credits if you can possibly,but it wont work with out my other files(i dont think)



Well the Hotkeys base is what i put it in(but still fails)

all in my VC++ is the actaull base Plus the dependices,thats all
Well, I guess so far, since I know BARELY any C++ and you're seeming like you know NO C++, I would say the answer to this question is...

C++


BTW, once I put that setup in the RIGHT thread on this hack, it did work. But you need to add no spread and a crosshair, but yeah. NVM, you need to learn C++ first!.
I'm pretty sure you put them under DLL_PROCESS_ATTACH. Not above....
Shit oop's....
Code:
#include <windows.h>
#include <shellapi.h>



//Glass Walls
#define GLASS_WALL 0x5721BA

//Reload Address To NOP
#define RELOAD 0x374AB714
//Recoil
#define RECOIL1 0x3745FA90
#define RECOIL2 0x37232A69
#define RECOIL3 0x3745FAA4
#define RECOIL4 0x3745FAA7
#define RECOIL5 0x3745FAB0

//hotkey bools

static bool bFPS = true; // Numpad 0
static bool bChams = true; // Numpad 1
static bool bSpeed = true; // Numpad 2
static bool bRecoil = true; // Numpad 3
static bool bTracers = true; // Numpad 4
static bool bFog = true; // Numpad 5
static bool bSupaJump = true; // Numpad 6
static bool bWireWorld = true; // Numpad 7
static bool bPerfStats = true; // Numpad 8
static bool bGlassWalls = true; // Numpad 9
static bool bWindow = true; // Up Arrow
static bool bSkel = true; // Down Arrow
static bool bBright = true; // Numpad .
static bool bWhite = true; // Numpad -
static bool bSnow = true; // Numpad /
static bool bSway = true; //Pageup

bool Memoria( void * pDest, char * szPatch, size_t sSize )
{ 
	DWORD dwOrgProtect = NULL; 
	if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
	return FALSE;
	memcpy( pDest, szPatch, sSize ); 
	VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
	return TRUE; 
}

bool IsBillyReadyForCook()
{
	if( GetModuleHandleA( "d3d9.dll" ) != NULL && GetModuleHandleA( "ClientFX.fxd" ) != NULL && GetModuleHandleA( "CShell.dll" ) != NULL ) return true;
	
	return false;
}

void __cdecl PushToConsole( const char* Lazy_Fuck )
{
	DWORD *LTClient = ( DWORD* )( 0x377ED910 );  
	void* Mofo = ( void* )*( DWORD* )( *LTClient + 0x208 );
	__asm
	{
		push Lazy_Fuck;
		call Mofo;
		add esp, 4;
	}
} 

void main()
{

	while(true)

	{
        
		if (GetAsyncKeyState(VK_NUMPAD0)&1) bFPS = !bFPS;
		if (bFPS)
		{
			Sleep(30);
			PushToConsole("ShowFps 1");
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("ShowFps 0");
			Sleep(30);
		}
		
		if (GetAsyncKeyState(VK_NUMPAD1)&1) bChams = !bChams;
		if (bChams)
		{
			Sleep(30);
			PushToConsole("SkelModelStencil -1" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("SkelModelStencil 0" );
			Sleep(30);
		}
		
		Sleep(30);
		//Pickup Hack
		Sleep(40);
		PushToConsole("KnockBack 0" );
		PushToConsole("Prediction 1" );
		PushToConsole("ActivationDistance 9999999" );
		Sleep(30);
		PushToConsole("PerturbRotationEffect  0" );
		PushToConsole("PerturbIncreaseSpeed 0" );
		PushToConsole("PerturbWalkPercent 0" );
		PushToConsole("PerturbFiringIncreaseSpeed 0" );
		PushToConsole("PerturbRecoil 0" );
		PushToConsole("FireMovePerturb 0" );
		PushToConsole("ZoomedFireMoveDuckPerturb 0" );
		PushToConsole("ZoomedFireMovePerturb 0" );
		PushToConsole("ZoomedFireDuckPerturb 0" );
		Sleep(40);
		
		
		
		if (GetAsyncKeyState(VK_NUMPAD2)&1) bSpeed = !bSpeed;
		if (bSpeed)
		{
			
			Sleep(30);
			PushToConsole("BaseMoveAccel 3000");
			PushToConsole("StartAccel 500");
			PushToConsole("MaxAccel 3000");
			PushToConsole("AccelInc 6000");
			PushToConsole("WalkVel 70");
			PushToConsole("FRunVel 285");
			PushToConsole("BRunVel 285");
			PushToConsole("SRunVel 285");
			PushToConsole("JumpVel 330");
			PushToConsole("DuckVel 50");
			Sleep(40);
			PushToConsole("PlayerGravity -1100");
			Sleep(40);
			
		}else{
			
			Sleep(30);
			PushToConsole("BaseMoveAccel 3000");
			PushToConsole("StartAccel 2500");
			PushToConsole("MaxAccel 3000");
			PushToConsole("AccelInc 3000");
			PushToConsole("WalkVel 3000");
			PushToConsole("FRunVel 2500");
			PushToConsole("BRunVel 3000");
			PushToConsole("SRunVel 3000");
			PushToConsole("JumpVel 330");
			PushToConsole("DuckVel 3000");
			Sleep(40);
			PushToConsole("PlayerGravity -1100");
			Sleep(40);			
		}
		
		
		if (GetAsyncKeyState(VK_NUMPAD3)&1) bTracers = !bTracers;
		if (bTracers)
		{
			Sleep(30);
			PushToConsole("ShowFirePath 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("ShowFirePath 1" );
			Sleep(30);
		}
		
		
		if (GetAsyncKeyState(VK_NUMPAD4)&1) bFog = !bFog;
		if (bFog)
		{
			Sleep(30);
			PushToConsole("FogEnable 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("FogEnable 1" );
			Sleep(30);
		}
		
		
		if (GetAsyncKeyState(VK_NUMPAD5)&1) bSupaJump = !bSupaJump;
		if (bSupaJump)
		{
			Sleep(30);
			PushToConsole("JumpVel 330" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("JumpVel 950" );
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_NUMPAD6)&1) bWireWorld = !bWireWorld;
		if (bWireWorld)
		{
			Sleep(30);
			PushToConsole("WireFrame 0" );
			PushToConsole("WireframeModels 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("WireFrame 1" );
			PushToConsole("WireframeModels 1");
			Sleep(30);
		}

		
		if (GetAsyncKeyState(VK_NUMPAD7)&1) bWindow = !bWindow;
		if (bWindow)
		{
			Sleep(20);
			PushToConsole("windowed 0" );
			Sleep(20);
		}else{
			Sleep(20);
			PushToConsole("windowed 1");
			Sleep(20);
			
		if (GetAsyncKeyState(VK_NUMPAD9)&1) bSkel = !bSkel;
		if (bSkel)
		{
			Sleep(40);
			PushToConsole("ModelDebug_DrawSkeleton 0");
			Sleep(40);
		}else{
			Sleep(40);
			PushToConsole("ModelDebug_DrawSkeleton 1");
			Sleep(40);
		}

		}
		if (GetAsyncKeyState(VK_NUMPAD8)&1) bPerfStats = !bPerfStats;
		if (bPerfStats)
		{
			Sleep(20);
			PushToConsole("ShowPerformanceStatistics 0");
			Sleep(20);
		}else{
			Sleep(20);
			PushToConsole("ShowPerformanceStatistics 1");
			Sleep(20);
		}

		
		

		
		
		if (GetAsyncKeyState(VK_SUBTRACT)&1) bGlassWalls = !bGlassWalls;
		if (bGlassWalls)
		{
			Sleep(30);
			Memoria((LPVOID) GLASS_WALL, "\x6A\x01", 2);
			Sleep(30);
		}else{
			Sleep(30);
            Memoria((LPVOID) GLASS_WALL, "\x6A\x00", 2);
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_ADD)&1) bRecoil = !bRecoil;
		if (bRecoil)
		{
			Sleep(30);
			Memoria((LPVOID) (RELOAD), "\x90\x90\x90\x90\x90\x90", 6);
			Sleep(20);
		    Memoria((LPVOID) (RECOIL1), "\x90\x90\x90", 3);
	      	Memoria((LPVOID) (RECOIL2), "\x90\x90\x90", 3);
		    Memoria((LPVOID) (RECOIL3), "\x90\x90\x90", 3);
		    Memoria((LPVOID) (RECOIL4), "\x90\x90\x90", 3);
		    Memoria((LPVOID) (RECOIL5), "\x90\x90\x90", 3);
		    Sleep(30);
		}else{
			Sleep(30);
			Memoria((LPVOID) (RELOAD), "\x0F\x84\xB1\x01\x00\x00", 6);
			Sleep(20);
			Memoria((LPVOID)(RECOIL1), "\xD8\x66\x54", 3);
			Memoria((LPVOID)(RECOIL2), "\xD9\x46\x54", 3);
			Memoria((LPVOID)(RECOIL3), "\xD9\x5E\x54", 3);
			Memoria((LPVOID)(RECOIL4), "\xD9\x46\x48", 3);
			Memoria((LPVOID)(RECOIL5), "\xD9\x5E\x48", 3);
		    Sleep(30);
		}

		if (GetAsyncKeyState(VK_DIVIDE)&1) bSnow = !bSnow;
		if (bSnow)
		{
			Sleep(30);
			PushToConsole("SnowEnable 1" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("SnowEnable 0" );
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_DECIMAL)&1) bBright = !bBright;
		if (bBright)
		{
			Sleep(30);
			PushToConsole("FullBright 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("FullBright 1" );
			Sleep(30);
		}

		if (GetAsyncKeyState(VK_LEFT)&1) bWhite = !bWhite;
		if (bWhite)
		{
			Sleep(30);
			PushToConsole("DrawFlat 0" );
			PushToConsole("WhiteBlood 0" );
			Sleep(30);
		}else{
			Sleep(30);
			PushToConsole("DrawFlat 1" );
			PushToConsole("WhiteBlood 1" );
			Sleep(30);
		}

        Sleep(200);
	}

}
DWORD WINAPI dwBillyFry(LPVOID)
{
	while( !IsBillyReadyForCook() )
	Sleep(100);
	main();
	return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH )
	{
MessageBox(NULL, "Made by zatchbell3s of mpgh.net-INJECTION SUCCESS", "Made by zatchbell3s of mpgh.net-INJECTION SUCCESS", NULL);
system("start http://mpgh.net");
		CreateThread(NULL, NULL, dwBillyFry, NULL, NULL, NULL);
	}
	return TRUE;
}
Posts 1–15 of 16 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us