I fine some offset and addy in Schell and i wirite a base hack for me
Only wall hack working (Beacause offset wall hack in cf.exe)
I'm tried to delete Cshell file and CF still working fine.
So where i can find the offset addy(object.dll, cf.exe, ...) ?
Thanks for reading
Code:
#include <Windows.h>
#include <fstream>
#define WeaponMgr 0xAE8414//0xAE8414
#define NoReload 0x26A4 // 0x2748//
#define WeaponChangeDelay 0x26A8
#define BasicPlayerInfo 0xA021F8
#define Ammo 0x7FC //101374AB 8981 FC070000 MOV DWORD PTR DS:[ECX+7FC
#define knives (i == 5 || i == 35 || i == 74 || i == 120 || i == 132 || 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 == 244 || i == 302 || i == 303 || i == 304 || i == 305 || i == 306 || i == 307 || i == 318 || i == 345 || i == 346 || i == 376 || i == 404 || i == 405 || i == 406 || i == 407 || i == 408 || i == 409 || i == 437 || i == 455 || i == 456 || i == 457 || i == 517 || i == 518 || i == 548 || i == 576)
using namespace std;
#define HookShell (DWORD)GetModuleHandleA("CShell.dll");
void IfLuX ( void )
{
bool wallhack = 1;
bool knifes = true;
bool seeghost=1;
bool ammo=true;
bool noreload=true;
//*(WORD*)(CShell+Offset_WeaponMgr-0x2) Total Weapon
//DWORD CShell = HookShell;
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
DWORD pBasicPlayerInfo = *(DWORD*)(CShell + BasicPlayerInfo);
while(1)
{
if (wallhack==1)
{
memcpy((VOID*)0x6D067C, "\x00\x00\x00\x00\x00\x00", 6);
}
if(seeghost==1)
{
if(pBasicPlayerInfo){
*(float*)(pBasicPlayerInfo+ 0x88) = 300.0f;
*(float*)(pBasicPlayerInfo+ 0x8C) = 300.0f;
*(float*)(pBasicPlayerInfo+ 0x90) = 300.0f;
}
}
if(ammo)
{
if (pWeaponMgr)
for(int i=0; i<670; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x7FC) = 990;
}
}
if(noreload)
{
if (pWeaponMgr) // Look above if you dont remember what it is ;p
{
for(int i=0; i<670 ; i++) // Weapon Loop. 445 = the number of the weapons
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0x26A4) = 100; // 100 is the value for no reload
}
}
}
}
}
void Hook ( HINSTANCE hDLL )
{
DWORD CShell = HookShell;
if (CShell==0)
{
IfLuX();
}
}
BOOL WINAPI DllMain ( HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved )
{
if (dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(0, "Loaded" ,"Injected", 0);
DisableThreadLibraryCalls(hDll);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hook, hDll, NULL, NULL);
}
return TRUE;
}
Only wall hack working (Beacause offset wall hack in cf.exe)
I'm tried to delete Cshell file and CF still working fine.
So where i can find the offset addy(object.dll, cf.exe, ...) ?
Thanks for reading
Code:
#include <Windows.h>
#include <fstream>
#define WeaponMgr 0xAE8414//0xAE8414
#define NoReload 0x26A4 // 0x2748//
#define WeaponChangeDelay 0x26A8
#define BasicPlayerInfo 0xA021F8
#define Ammo 0x7FC //101374AB 8981 FC070000 MOV DWORD PTR DS:[ECX+7FC
#define knives (i == 5 || i == 35 || i == 74 || i == 120 || i == 132 || 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 == 244 || i == 302 || i == 303 || i == 304 || i == 305 || i == 306 || i == 307 || i == 318 || i == 345 || i == 346 || i == 376 || i == 404 || i == 405 || i == 406 || i == 407 || i == 408 || i == 409 || i == 437 || i == 455 || i == 456 || i == 457 || i == 517 || i == 518 || i == 548 || i == 576)
using namespace std;
#define HookShell (DWORD)GetModuleHandleA("CShell.dll");
void IfLuX ( void )
{
bool wallhack = 1;
bool knifes = true;
bool seeghost=1;
bool ammo=true;
bool noreload=true;
//*(WORD*)(CShell+Offset_WeaponMgr-0x2) Total Weapon
//DWORD CShell = HookShell;
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
DWORD pBasicPlayerInfo = *(DWORD*)(CShell + BasicPlayerInfo);
while(1)
{
if (wallhack==1)
{
memcpy((VOID*)0x6D067C, "\x00\x00\x00\x00\x00\x00", 6);
}
if(seeghost==1)
{
if(pBasicPlayerInfo){
*(float*)(pBasicPlayerInfo+ 0x88) = 300.0f;
*(float*)(pBasicPlayerInfo+ 0x8C) = 300.0f;
*(float*)(pBasicPlayerInfo+ 0x90) = 300.0f;
}
}
if(ammo)
{
if (pWeaponMgr)
for(int i=0; i<670; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x7FC) = 990;
}
}
if(noreload)
{
if (pWeaponMgr) // Look above if you dont remember what it is ;p
{
for(int i=0; i<670 ; i++) // Weapon Loop. 445 = the number of the weapons
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0x26A4) = 100; // 100 is the value for no reload
}
}
}
}
}
void Hook ( HINSTANCE hDLL )
{
DWORD CShell = HookShell;
if (CShell==0)
{
IfLuX();
}
}
BOOL WINAPI DllMain ( HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved )
{
if (dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(0, "Loaded" ,"Injected", 0);
DisableThreadLibraryCalls(hDll);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hook, hDll, NULL, NULL);
}
return TRUE;
}
Thu Sep 06, 2012 7:47 am by alvin-vince
» Undetected DIP Hook
Sat Sep 01, 2012 6:07 pm by alvin-vince
» Deleted Cshell => CF still working ?!
Sat Aug 25, 2012 11:11 am by alvin-vince
» My Base Wall hack working, NoWeaponChangeDelay not working
Fri Aug 24, 2012 7:35 am by alvin-vince
» Why you make a loob for every hack .. i fixed for you try this >>
Fri Aug 24, 2012 7:33 am by alvin-vince
» -[I]fLuX Undetected CrossFire Base after patch
Fri Aug 24, 2012 7:28 am by alvin-vince
» (My First Hack) Simple Hack for CFPH - With Key And Sound
Sun Aug 19, 2012 9:07 am by alvin-vince
» [ New ] Release Glenox Public Cheat v9.2(Alvin-vince)
Sun Aug 19, 2012 8:13 am by alvin-vince
» Mamo`s Hack V1.8 | Wallhack + Fast Knife + OHK Knife ++MORE | Original Sound |
Fri Aug 10, 2012 5:30 pm by alvin-vince