TalkingMy second try to make CF hack

Posts 1–15 of 17 · Page 1 of 2
My second try to make CF hack
hi dudes where i am wrong :

#include<windows.h>

#define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==12 6)||(i==135)||(i==209)||(i==210)||(i==240)||(i==26 3)||(i==272)||(i==338)||(i==382)||(i==383)||(i==38 4))


#define WeaponMgr 0xA2A7E8
#define NoReload 0x2424
#define WeaponDamage 0x0754
#define NochangeDelay 0x2428

float Hithard = 999.0f;
float FragDmg = 0.0f;

char Msg[] = {'M','a','d','e',' ','B','y',' ','k','m','a','n','e','v','0','7','3',0 };
char Title[] = {'I','n','j','e','c','t','e','d',' ','!',0 };

DWORD WINAPI Hacks(LPVOID)
{
bool reload = false,
fragdmg = false,
change = false;

while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD p0xA2A7E8 = *(DWORD*)(CShell + 0xA2A7E8);

//hotkeys toggle + beep sounds
if(GetAsyncKeyState(VK_F9) || GetAsyncKeyState(VK_F9) &1) { reload = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_F10) &1) { fragdmg = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_F11) &1) { change = true; Beep(512, 100); }

if(reload)
{
if (p0xA2A7E8)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + NoReload) = 100;
}
}
}

if(fragdmg)
{
if (p0xA2A7E8)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL && (grenades))
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + 0x0754) = 0;
}
}
}

if(change)
{
if (p0xA2A7E8)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + 0x2428) = 9999;
}
}
}
Sleep(100);
}
}

bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}

DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

if ( dwReason == DLL_PROCESS_ATTACH )
{

MessageBoxA(0, "Made by kmanev073","Injected !", 0);
system("start http://www.mpgh.net");

CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;

the error this time is only one :e:\my documents\visual studio 2010\projects\ko4ex hack\ko4ex hack\dllmain.cpp(100): fatal error C1075: end of file found before the left brace '{' at 'e:\my documents\visual studio 2010\projects\ko4ex hack\ko4ex hack\dllmain.cpp(88)' was matched


HELP PLS

yea i have leached a little bit ...
Please stop Leetch SwifDude Base
Code:
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
   }
        return 1;
   } // <~~ add below
I dont have C++, but may add it. If still error add double }}
Problem Is You Are Leecher
Yes ! He leech. But you know what ? He can do it. Are you able to do it ?
At at the end of the file a }

omg xD

Code:
#include<windows.h>

#define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==126)||(i==135)||(i==209)||(i==210)||(i==240)||(i==263)||(i==272)||(i==338)||(i==382)||(i==383)||(i==384))


#define WeaponMgr       0xA2A7E8
#define NoReload        0x2424
#define WeaponDamage    0x0754
#define NochangeDelay   0x2428

float Hithard = 999.0f;
float FragDmg = 0.0f;

char Msg[] = {'M','a','d','e',' ','B','y',' ','k','m','a','n','e','v','0','7','3',0 };
char Title[] = {'I','n','j','e','c','t','e','d',' ','!',0 };

DWORD WINAPI Hacks(LPVOID)
{
	bool reload = false,
		fragdmg = false,
		change = false;

	while(1)
	{
		DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll");
		DWORD p0xA2A7E8 = *(DWORD*)(CShell + 0xA2A7E8);

		//hotkeys toggle + beep sounds
		if(GetAsyncKeyState(VK_F9)  || GetAsyncKeyState(VK_F9) &1) { reload = true; Beep(512, 100); }
		if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_F10) &1) { fragdmg = true; Beep(512, 100); }
		if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_F11) &1) { change = true; Beep(512, 100); }

		if(reload)
		{
			if (p0xA2A7E8)
			{
				for(int i=0; i<445; i++)
				{
					if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
						*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + NoReload) = 100;
				}
			}
		}

		if(fragdmg)
		{
			if (p0xA2A7E8)
			{
				for(int i=0; i<445; i++)
				{
					if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL && (grenades))
						*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + 0x0754) = 0;
				}
			}
		}

		if(change)
		{
			if (p0xA2A7E8)
			{
				for(int i=0; i<445; i++)
				{
					if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
						*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + 0x2428) = 9999;
				}
			}
		}
		Sleep(100);
	}
}

bool Ready2Hook()
{
	if(GetModuleHandleA("CShell.dll")   != NULL
		&& GetModuleHandleA("ClientFx.fxd") != NULL)
		return 1;
	return 0;
}

DWORD WINAPI Wait(LPVOID)
{
	while(!Ready2Hook()) Sleep(200);
	CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
	return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);

	if ( dwReason == DLL_PROCESS_ATTACH )
	{

		MessageBoxA(0, "Made by kmanev073","Injected !", 0);
		system("start http://www.mpgh.net");

		CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
	}
	return 1;
}
I did't look at the rest, but you can compile it with out errors.
ty all i will press it

yessssssss yesssssssssss my second hack i havent made hack from Push to console laway toutorial
your ammodmg is still wrong. 0x07F8
ok
ty i will press it
Nice leeched from SwiftDude Dont help this guy lol
i have copiled it you can close the tread now it leached but i have added some things
Quote Originally Posted by kmanev073 View Post
i have copiled it you can close the tread now it leached but i have added some things

pleas tell me what you added?
i have added the addys i ahve found them but Ammo damage was there and i leve it thanks to JusCaus now my addys are correct

and also i have changed the hotkeys
lol 100% leech! Hope that MPGH make the Rule (Bann leecher 4 ever!)

hatte leechers!!!!!!!

ps. Look at your Full leech code on float and the *
xD yea its leeched from toutorial how i can know that the creator of toutorial is leecher becouse him now you call me leecher ok i agree you are mad becouse you cant leech like me :P
Posts 1–15 of 17 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us