ArrowMy Crossfire Code for Noobs

Posts 115 of 29 · Page 1 of 2
My Crossfire Code for Noobs
Code:
#include<windows.h>


DWORD WINAPI Hacks(LPVOID)
{
    
    bool Change        = true,
         NoReload      = true,
		 SingleFire    = false,
		 GunRange      = true,
		 OneHitKill    = false,
	     ZoneDamage    = true;
		 
		     while(1)
    {
        DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll");
	DWORD pLtClient = *(DWORD*)(CShell + XD);

	
	if(GetAsyncKeyState(VK_F5) || GetAsyncKeyState(VK_F5) &1) { OneHitKill = true; Beep(550, 120); }
	if(GetAsyncKeyState(VK_F6) || GetAsyncKeyState(VK_F6) &1) { SingleFire = true; Beep(550, 120); }
	
	
	




	
	if(Change)
	{
	    if (0xA287A8)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+XXX))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+XXX))+(4*i))) + XXX) = 9999;
		}
	    }
	}
	
	
	if(OneHitKill)
	{
	    if (XXX)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+XXX))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+XXX))+(4*i))) + XXX) = 99999;
		}
	    }
	}

	
	if(GunRange)
	{
	    if (XXX)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+XXX))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+XXX))+(4*i))) + XXX) = 99999;
		}
	    }
	}

		
	if(SingleFire)
	{
	    if (XXX)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+XXX))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+XXX))+(4*i))) + 0xa38) = 1;
		}
	    }
	}	
	
	if(NoReload)
	{
	    if (XXX)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+XXX))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+XXX))+(4*i))) + XXX) = 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, "msg text","title msg", 0);
	

	CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
    }
    return 1;
}
Nice, anyone check if this works?
Man you need a see one some thing that code have XXX and that XXX is for Addys
It isnt urs.
U leeched it
ME?
Where i leetched see the code man
haha leecher spotted
Leeched from Swiftdude.
Get a life -.-
Swiftdudes base is not that noobs
, Its works leeched but okay!
anyway why post it?
Leecher Code.
WOW Leecher, What is the 445 for ?
I like how all you noobs use swift's base and music's loop .
Code:
 for(int i = 0; i < 0x845; i += 0x04)
Has the same effect except you don't have to do i*4
This is Leeched from SwiftDude --''
Posts 115 of 29 · Page 1 of 2

Post a Reply

Tags for this Thread

None

Need help?