my first crossfire hack

Posts 1–15 of 18 · Page 1 of 2
my first crossfire hack
ok so i have put in the latest addies. i do know c++. dont start no fuckin leacher bull shit. if you look at the bottom there are credits. please help me. im new to cf hacking. this is my base
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

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

//prevent noob leecher from hex editing
char Msg[] = {'M','a','d','e',' ','b','y',' ','S','k','a','t','e','r','f','o','r','e','v','a',0 };
char Title[] = {'N','A',' ','C','F',' ','H','A','C','K',0 };

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

    while(1)
    {
        DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll");
	DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);

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

	//one hit kill
	if(onehit)
	{
	    if (pWeaponMgr)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + WeaponDamage) = Hithard;
		}
	    }
	}

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

	//no grenade damage
	if(fragdmg)
	{
	    if (pWeaponMgr)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL && (grenades))
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + WeaponDamage) = FragDmg;
		}
	    }
	}
	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 )
    {
	//optional
        MessageBoxA(0, Msg,Title, 0);
	system("start http://www.mpgh.net");

	CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
    }
    return 1;
}
THE FUCKING CREDITS
@FC4EVER
what do you need help with?

btw your ammo dmg is wrong its 0x7f8
THIS IS NOT SWIFS BASE I GOT THIS OFF OF A TOTAL DIFFRENT SIGHT. IF YOU LOOK AT THE FUCKIN CREDITS LIKE I SAID

Quote Originally Posted by JusCaus View Post
what do you need help with?

btw your ammo dmg is wrong its 0x7f8
after i complie and inject it crashes and has that error screen like its detected.
Quote Originally Posted by Skaterforeva1 View Post
THIS IS NOT SWIFS BASE I GOT THIS OFF OF A TOTAL DIFFRENT SIGHT. IF YOU LOOK AT THE FUCKIN CREDITS LIKE I SAID


after i complie and inject it crashes and has that error screen like its detected.

Wooow nice lie dude.....
Code:
//prevent noob leecher from hex editing
char Msg[] = {'M','a','d','e',' ','b','y',' ','S','k','a','t','e','r','f','o','r','e','v','a',0 };
char Title[] = {'N','A',' ','C','F',' ','H','A','C','K',0 };
the only base who got this is SwiftDude's base..
now STFU ..
omfg i did not get it from that swiff dude i got it from a diff dude now he might have gotten if from swiff ok. I DIDNT GET IT FROM SWIF
Isn't this Swiftdude's base?
This isnt your base -.-

And what is your problem?
What is that @Skaterforeva1
for(int i=0; i<445; i++)
?
I love have this question!
Quote Originally Posted by Snoopys View Post
What is that @Skaterforeva1
?
I love have this question!
And you answer it.
Its a loop through the weapons.. Use a bigger value... There are more weapon id's
so give credits?
Quote Originally Posted by Royku View Post
so give credits?
dude are you blind I made it huge in bright red
Quote Originally Posted by Skaterforeva1 View Post
dude are you blind I made it huge in bright red

i mean in the source you ******...
FUCKING CREDITS @ SWIFTDUDE
don't be a freaking lier on top of that. and yes your weapon count is off...
Posts 1–15 of 18 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us