Home Forum MultiPlayer Game Hacks & Cheats CrossFire Hacks & Cheats CrossFire Hack Coding / Programming / Source Code WHERE IS ERROR? Posts 1–9 of 9 · Page 1 of 1
Code:
#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 Knifes ((i==5)||(i==35)||(i==74)||(i==132)||(i==239)||(i= =372)||(i==381))
#define Mutant ((i==120)||(i==176)||(i==177)||(i==178)||(i==182)| |(i==195)||(i==196)||(i==197)||(i==198)||(i==199)| |(i==223)||(i==224)||(i==225)||(i==226)||(i==227)| |(i==228)||(i==270)||(i==271)||(i==302)||(i==303)| |(i==304)||(i==305)||(i==306)||(i==307))
#define WeaponMgr
//#define LTClient 0x?
#define NoDelay
#define ShotsPerAmmo
#define WeaponDamage
#define FallDmg
#define NoReload
#define ShotsPerAmmo
#define grenades
#define Mutant
#define Knifes
#define IsGameReadyForHook
#define hDll
#define dwReason
#define Wait
#define WINAPI
DWORD WINAPI Hacks(LPVOID)
{
bool Hacks = false;
while(1)
{
__asm pushad;
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
if(GetAsyncKeyState(VK_NUMPAD1)&1) Hacks = Hacks;
if(GetAsyncKeyState(VK_F5)&1)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if(*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
(float)(*(DWORD*)(CShell+WeaponMgr+(4*i))) + WeaponDamage 99999.0f;
;if(grenades*(DWORD*)(CShell +WeaponMgr+(4*i))) +WeaponDamage 0.0f;
(GetAsyncKeyState(VK_F6)&1)
;
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
Mutant Knifes
**(DWORD*)(CShell+WeaponMgr+( 4*i))) + ShotsPerAmmo 5;
;
(GetAsyncKeyState(VK_F7)&1)
;
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
**(DWORD*)((*(DWORD*)(CShell+WeaponMgr +(4*i))) + NoReload 100)
**(DWORD*)((*(DWORD*)(CShell+WeaponMgr +(4*i))) + NoDelay 100)
)
if(GetAsyncKeyState(VK_F8)&1)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if(*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
*(DWORD*)(CShell+FallDmg+0x04) = 0;
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
**(DWORD*)(CShell+0xA24454))+0x207C; 0;
*(int*)((*(DWORD*)(CShell+0xA24454))+0x2080) = 0;
*(int*)((*(DWORD*)(CShell+0xA24454))+0x2084) = 0;
}
}
}
}
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
*(*(DWORD*)(CShell+0xA24454))+0x207C) 0;
*(float*)((*(DWORD*)(CShell+0xA24454))+0x2080) = 0;
*(float*)((*(DWORD*)(CShell+0xA24454))+0x2084) = 0;
}
}
}
}
if(Hacks)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
// *(float*)((*(DWORD*)(CShell+FallDmg))+0x04) = 0;
//}
)__asm popad;
}
}
bool IsGameReadyForHook()
;
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return true;
return false;
}
DWORD WINAPI Wait(LPVOID)
;
while(!IsGameReadyForHook
(bool) Sleep);100;
(CreateThread);(NULL, NULL, (LPTHREAD_START_ROUTINE )Hacks);NULL, NULL, NULL;
return 0;
}
#define ATTACH
#define DLL
#define PROCESS
#define LPTHREAD_START_ROUTINE
#define MessageBox
#define MessageBoxw
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
;
bool DisableThreadLibraryCalls(hDll
dwReason DLL PROCESS ATTACH
MessageBox (0, "Hecho por SIR.PANO ", "HAPPY HACKING", 0))
;CreateThread;(0,0,(LPTHREAD_START_ROUTINE Wait 0,0, 0)
// system("start http://www.MPGH.NET");
)
;return true;}
}
I'M working in new hack , soon release.
please tell me points
Originally Posted by
overdrivers
Code:
#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 Knifes ((i==5)||(i==35)||(i==74)||(i==132)||(i==239)||(i= =372)||(i==381))
#define Mutant ((i==120)||(i==176)||(i==177)||(i==178)||(i==182)| |(i==195)||(i==196)||(i==197)||(i==198)||(i==199)| |(i==223)||(i==224)||(i==225)||(i==226)||(i==227)| |(i==228)||(i==270)||(i==271)||(i==302)||(i==303)| |(i==304)||(i==305)||(i==306)||(i==307))
#define WeaponMgr
//#define LTClient 0x?
#define NoDelay
#define ShotsPerAmmo
#define WeaponDamage
#define FallDmg
#define NoReload
#define ShotsPerAmmo
#define grenades
#define Mutant
#define Knifes
#define IsGameReadyForHook
#define hDll
#define dwReason
#define Wait
#define WINAPI
DWORD WINAPI Hacks(LPVOID)
{
bool Hacks = false;
while(1)
{
__asm pushad;
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
if(GetAsyncKeyState(VK_NUMPAD1)&1) Hacks = Hacks;
if(GetAsyncKeyState(VK_F5)&1)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if(*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
(float)(*(DWORD*)(CShell+WeaponMgr+(4*i))) + WeaponDamage 99999.0f;
;if(grenades*(DWORD*)(CShell +WeaponMgr+(4*i))) +WeaponDamage 0.0f;
(GetAsyncKeyState(VK_F6)&1)
;
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
Mutant Knifes
**(DWORD*)(CShell+WeaponMgr+( 4*i))) + ShotsPerAmmo 5;
;
(GetAsyncKeyState(VK_F7)&1)
;
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
**(DWORD*)((*(DWORD*)(CShell+WeaponMgr +(4*i))) + NoReload 100)
**(DWORD*)((*(DWORD*)(CShell+WeaponMgr +(4*i))) + NoDelay 100)
)
if(GetAsyncKeyState(VK_F8)&1)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if(*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
*(DWORD*)(CShell+FallDmg+0x04) = 0;
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
**(DWORD*)(CShell+0xA24454))+0x207C; 0;
*(int*)((*(DWORD*)(CShell+0xA24454))+0x2080) = 0;
*(int*)((*(DWORD*)(CShell+0xA24454))+0x2084) = 0;
}
}
}
}
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
*(*(DWORD*)(CShell+0xA24454))+0x207C) 0;
*(float*)((*(DWORD*)(CShell+0xA24454))+0x2080) = 0;
*(float*)((*(DWORD*)(CShell+0xA24454))+0x2084) = 0;
}
}
}
}
if(Hacks)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
// *(float*)((*(DWORD*)(CShell+FallDmg))+0x04) = 0;
//}
)__asm popad;
}
}
bool IsGameReadyForHook()
;
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return true;
return false;
}
DWORD WINAPI Wait(LPVOID)
;
while(!IsGameReadyForHook
(bool) Sleep);100;
(CreateThread);(NULL, NULL, (LPTHREAD_START_ROUTINE )Hacks);NULL, NULL, NULL;
return 0;
}
#define ATTACH
#define DLL
#define PROCESS
#define LPTHREAD_START_ROUTINE
#define MessageBox
#define MessageBoxw
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
;
bool DisableThreadLibraryCalls(hDll
dwReason DLL PROCESS ATTACH
MessageBox (0, "Hecho por SIR.PANO ", "HAPPY HACKING", 0))
;CreateThread;(0,0,(LPTHREAD_START_ROUTINE Wait 0,0, 0)
// system("start http://www.MPGH.NET");
)
;return true;}
}
I'M working in new hack , soon release.
please tell me points
LT POINTS and say me bugs here
lol this is a mess..
and you dont just define things because you get error..
for example "blabla WINAPI" you dont just
#define WINAPI and ur done..
Originally Posted by
overdrivers
Code:
#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 Knifes ((i==5)||(i==35)||(i==74)||(i==132)||(i==239)||(i= =372)||(i==381))
#define Mutant ((i==120)||(i==176)||(i==177)||(i==178)||(i==182)| |(i==195)||(i==196)||(i==197)||(i==198)||(i==199)| |(i==223)||(i==224)||(i==225)||(i==226)||(i==227)| |(i==228)||(i==270)||(i==271)||(i==302)||(i==303)| |(i==304)||(i==305)||(i==306)||(i==307))
#define WeaponMgr
//#define LTClient 0x?
#define NoDelay
#define ShotsPerAmmo
#define WeaponDamage
#define FallDmg
#define NoReload
#define ShotsPerAmmo
#define grenades
#define Mutant
#define Knifes
#define IsGameReadyForHook
#define hDll
#define dwReason
#define Wait
#define WINAPI
DWORD WINAPI Hacks(LPVOID)
{
bool Hacks = false;
while(1)
{
__asm pushad;
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
if(GetAsyncKeyState(VK_NUMPAD1)&1) Hacks = Hacks;
if(GetAsyncKeyState(VK_F5)&1)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if(*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
(float)(*(DWORD*)(CShell+WeaponMgr+(4*i))) + WeaponDamage 99999.0f;
;if(grenades*(DWORD*)(CShell +WeaponMgr+(4*i))) +WeaponDamage 0.0f;
(GetAsyncKeyState(VK_F6)&1)
;
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
Mutant Knifes
**(DWORD*)(CShell+WeaponMgr+( 4*i))) + ShotsPerAmmo 5;
;
(GetAsyncKeyState(VK_F7)&1)
;
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
**(DWORD*)((*(DWORD*)(CShell+WeaponMgr +(4*i))) + NoReload 100)
**(DWORD*)((*(DWORD*)(CShell+WeaponMgr +(4*i))) + NoDelay 100)
)
if(GetAsyncKeyState(VK_F8)&1)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if(*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
*(DWORD*)(CShell+FallDmg+0x04) = 0;
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
**(DWORD*)(CShell+0xA24454))+0x207C; 0;
*(int*)((*(DWORD*)(CShell+0xA24454))+0x2080) = 0;
*(int*)((*(DWORD*)(CShell+0xA24454))+0x2084) = 0;
}
}
}
}
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
*(*(DWORD*)(CShell+0xA24454))+0x207C) 0;
*(float*)((*(DWORD*)(CShell+0xA24454))+0x2080) = 0;
*(float*)((*(DWORD*)(CShell+0xA24454))+0x2084) = 0;
}
}
}
}
if(Hacks)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr
(pWeaponMgr)
)
;for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr+(4*i)) ) != NULL)
)
// *(float*)((*(DWORD*)(CShell+FallDmg))+0x04) = 0;
//}
)__asm popad;
}
}
bool IsGameReadyForHook()
;
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return true;
return false;
}
DWORD WINAPI Wait(LPVOID)
;
while(!IsGameReadyForHook
(bool) Sleep);100;
(CreateThread);(NULL, NULL, (LPTHREAD_START_ROUTINE )Hacks);NULL, NULL, NULL;
return 0;
}
#define ATTACH
#define DLL
#define PROCESS
#define LPTHREAD_START_ROUTINE
#define MessageBox
#define MessageBoxw
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
;
bool DisableThreadLibraryCalls(hDll
dwReason DLL PROCESS ATTACH
MessageBox (0, "Hecho por SIR.PANO ", "HAPPY HACKING", 0))
;CreateThread;(0,0,(LPTHREAD_START_ROUTINE Wait 0,0, 0)
// system("start http://www.MPGH.NET");
)
;return true;}
}
I'M working in new hack , soon release.
please tell me points
LT POINTS and say me bugs here
Ok, so i will edit your hack on the basis of swiftdudes base: "As u have done"
Code:
#include <windows.h>
#define WeaponMgr //Insert addy for Ltclient or WeaponMgr
#define NoDelay
#define ShotsPerAmmo
#define WeaponDamage
#define FallDmg
#define NoReload
DWORD WINAPI Hacks(LPVOID)
{
bool nodelay = false;
bool shots = false;
bool damage = false;
bool fall = false;
bool reload = false;
while(1)
{
DWORD CShell =(DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
//You wrote pWeaponMgr, yet you have not defined what it is, so it will give you error. Or instead of weaponmgr just insert the addy here.
//Hotkeys. If you want auto on. Make bool hack here = true;
if(GetAsyncKeyState(VK_F5)|| GetAsyncKeyState(VK_F5) &1) { shots = true;}
if(GetAsyncKeyState(VK_F6)|| GetAsyncKeyState(VK_F6) &1) {damage = true;}
if(GetAsyncKeyState(VK_F7)|| GetAsyncKeyState(VK_F7) &1) {fall = true;}
if(GetAsyncKeyState(VK_F8)|| GetAsyncKkeyState(VK_F8) &1) {reload = true;}
Code:
//Create hacks here.
if(Hack)
{
if(pWeaponMgr)
{
for(int=0; i<445; i++;) //This is old update it.
{
if((*(DWORD*)((*(DWORD*)(CShell+ WeaponMgr) +(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+ WeaponMgr +(4*i))) +Hack Addy) = <<hack value.
You also can do (CShell+ WeaponMgr Addy here) < ok.
Im not gonna show you everything.
So like insert your DLL main.
All credits to swift. I have just edited it.
Hope i have helped.
@
overdrivers
Originally Posted by
[[SeXergy]]
Ok, so i will edit your hack on the basis of swiftdudes base: "As u have done"
Code:
#include <windows.h>
#define WeaponMgr //Insert addy for Ltclient or WeaponMgr
#define NoDelay
#define ShotsPerAmmo
#define WeaponDamage
#define FallDmg
#define NoReload
DWORD WINAPI Hacks(LPVOID)
{
bool nodelay = false;
bool shots = false;
bool damage = false;
bool fall = false;
bool reload = false;
while(1)
{
DWORD CShell =(DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
//You wrote pWeaponMgr, yet you have not defined what it is, so it will give you error. Or instead of weaponmgr just insert the addy here.
//Hotkeys. If you want auto on. Make bool hack here = true;
if(GetAsyncKeyState(VK_F5)|| GetAsyncKeyState(VK_F5) &1) { shots = true;}
if(GetAsyncKeyState(VK_F6)|| GetAsyncKeyState(VK_F6) &1) {damage = true;}
if(GetAsyncKeyState(VK_F7)|| GetAsyncKeyState(VK_F7) &1) {fall = true;}
if(GetAsyncKeyState(VK_F8)|| GetAsyncKkeyState(VK_F8) &1) {reload = true;}[/COLOR]
//Create hacks here.
if(Hack)
{
if(pWeaponMgr)
{
for(int=0; i<445; i++;) //This is old update it.
{
if((*(DWORD*)((*(DWORD*)(CShell+ WeaponMgr) +(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+ WeaponMgr +(4*i))) +Hack Addy) = <<hack value.
You also can do (CShell+ WeaponMgr Addy here) < ok.
Im not gonna show you everything.
So like insert your DLL main.
All credits to swift. I have just edited it.
Hope i have helped.
@
overdrivers
ty brother
YOU DON'T DEFINE THESE THINGS!:
#define IsGameReadyForHook
#define hDll
#define dwReason
#define Wait
#define WINAPI
LEARN C++ FIRST MAN!!
LOOK AT MY SIGNATURE FOR THE COMPLETE, FULLY DETAILED GUIDE!!!!!
@
overdrivers lol man the defining is not the way to correct mistakes
that base is detected anyways.
No thing is correct
Posts 1–9 of 9 · Page 1 of 1