Code:
#include "windows.h"
#include "process.h"
#define WeaponMgr 0x1421D74
#define wallclass 0xA6910C
#define NoReload 0xECC
void MatheusGtx(){
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
DWORD pWallClass = *(DWORD*)(CShell + wallclass);
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if (pWallClass) {
for (int i = 0; i<64; i++) {
*(float*)(pWallClass + (i * 0x04F4) + 0x4E8) = true;
*(float*)(pWallClass + (i * 0x04F4) + 0x4EC) = true;
*(float*)(pWallClass + (i * 0x04F4) + 0x4F0) = true;
}
}
if (pWeaponMgr){
for (int i = 0; i<577; i++){
if ((*(DWORD*)((*(DWORD*)(CShell + WeaponMgr)) + (4 * i))) != NULL){
*(float*)((*(DWORD*)((*(DWORD*)(CShell + WeaponMgr)) + (4 * i))) + NoReload) = 100.0f;
}
}
}
}
void HackEngine(){
DWORD CShell = NULL;
do{ CShell = (DWORD)GetModuleHandleA("CShell.dll"); Sleep(100); } while (CShell == NULL);
while (1){ MatheusGtx(); Sleep(100); }
}
extern "C" __declspec(dllexport) BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved){
if (fdwReason == DLL_PROCESS_ATTACH){
DisableThreadLibraryCalls(hinstDLL);
MessageBoxA(0, "Made by S4MM", "", 0);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)HackEngine, NULL, NULL, NULL);
return true;
}
return false;
}
There's pretty much a, Norecoil and WallHack..
But i get Xtrap for CrossFire Europe.
And The wallhack doesn't work propely in CrossFire Europe..
~~~~~
If someone could help me as, @-[I]fLuX , @mamo007 or someone else..
Please add me on skype, if you want to private chat, or info you dont want other people to know.
Skype Name: prolife200