Can Fixed Pls???

Posts 111 of 11 · Page 1 of 1
Can Fixed Pls???
Code:
#include<windows.h> //<<<HERE IS A EROR


#define WeaponMgr       0xA0F338
#define NoReload        0x2420
#define AmmoDamage      0x7F8
#define STW             0x22C4
#define Range           0x7EC

float HitHard = 999.0f;
float WpRange = 999.0f;






DWORD WINAPI Hacks(LPVOID);
{  //<<<HERE IS A EROR
    //in case u need it, dont forget use "else"
    bool reload = false;
	bool onehitkill = false;
	bool ShootsTroughWalls = false;
	bool WeaponRange = false;
         
	
	{
    while(1);
	}
        DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll");
	DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);

	//hotkeys toggle + beep sounds
	if(GetAsyncKeyState(VK_F5)&1) { reload = true; 
	}
	if(GetAsyncKeyState(VK_F6)&1) { onehitkill = true; 
	}
	if(GetAsyncKeyState(VK_F7)&1) { ShootsTroughWalls = true; 
	}
	if(GetAsyncKeyState(VK_F8)&1) { WeaponRange = true; 
	}


	//no reload
	if(reload)
	{
	    if (NoReload)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + NoReload) = 100;
		}
	    }
	}
	//OneHitKill
	if(onehitkill)
	{
	    if (AmmoDamage)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + AmmoDamage) = 100;
		}
	    }
	}
	{
	if(ShootsTroughWalls)
	{
	    if (STW)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + STW) = 100;
		}
	    }
	}
	if(WeaponRange)
	{
	    if (Range)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + Range) = 100;
		}
	    }
	}

	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, "...","... ", 0);
	

	CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
    }
    return 1;
}
remove the ; after the while(1) O.o

Acctually there more to be done, 1 sec il fix it qouted.

Code:
#include<windows.h>


#define WeaponMgr       0xA0F338
#define NoReload        0x2420
#define AmmoDamage      0x7F8
#define STW             0x22C4
#define Range           0x7EC

float HitHard = 999.0f;
float WpRange = 999.0f;






DWORD WINAPI Hacks(LPVOID)
{
    //in case u need it, dont forget use "else"
    bool reload = false;
	bool onehitkill = false;
	bool ShootsTroughWalls = false;
	bool WeaponRange = false;
         
	
    while(1)
	{
        DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll");
	DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);

	//hotkeys toggle + beep sounds
	if(GetAsyncKeyState(VK_F5)&1) { reload = true; Beep(512, 100); }
	if(GetAsyncKeyState(VK_F6)&1) { onehitkill = true; Beep(512, 100); }
	if(GetAsyncKeyState(VK_F7)&1) { ShootsTroughWalls = true; Beep(512, 100); }
	if(GetAsyncKeyState(VK_F8)&1) { WeaponRange = true; Beep(512, 100); }


	//no reload
	if(reload)
	{
	    if (NoReload)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + NoReload) = 100;
		}
	    }
	}
	//OneHitKill
	if(onehitkill)
	{
	    if (AmmoDamage)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + AmmoDamage) = 100;
		}
	    }
	}
	if(ShootsTroughWalls)
	{
	    if (STW)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + STW) = 100;
		}
	    }
	}
	if(WeaponRange)
	{
	    if (Range)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + Range) = 100;
		}
	    }
	}

	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, "...","... ", 0);
	

	CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
    }
    return 1;
}
ok wait i test


sry i have more error's
hey put bool "name" = true or flase,
"name" = true or false;
then romve the while(1) and put it before the bool... then open {


Code:
DWORD WINAPI Hacks(LPVOID)
while(1)
{
    //in case u need it, dont forget use "else"
    bool reload = false,
	     onehitkill = false,
              ShootsTroughWalls = false,
	      WeaponRange = false;
Quote Originally Posted by SteamAss View Post
hey put bool "name" = true or flase,
"name" = true or false;
then romve the while(1) and put it before the bool... then open {


Code:
DWORD WINAPI Hacks(LPVOID)
while(1)
{
    //in case u need it, dont forget use "else"
    bool reload = false,
	     onehitkill = false,
              ShootsTroughWalls = false,
	      WeaponRange = false;
sry moer erors
Quote Originally Posted by SteamAss View Post
hey put bool "name" = true or flase,
"name" = true or false;
then romve the while(1) and put it before the bool... then open {


Code:
DWORD WINAPI Hacks(LPVOID)
while(1)
{
    //in case u need it, dont forget use "else"
    bool reload = false,
	     onehitkill = false,
              ShootsTroughWalls = false,
	      WeaponRange = false;
Are u kidding me?
u sure u can code?

anyway it compiled so i think problem solved?
I Think it Leached Base
@SteamAss Solved Your Problem
Quote Originally Posted by Ryuesi View Post
I Think it Leached Base
@SteamAss Solved Your Problem
LOLOL!!!
ofc its leeched, and Doctor only made it worse, plus there were many more stuff to fix then the 1-3 lines Doctor mentioned...
yes I know... there are some erros and its leeched from Swift... si deteceted...
Posts 111 of 11 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?