hellow sir baket ang code na detected narin batkaya paano nyo pong mapapagana ang code na
detected please ano bang iniiba nyo sa code kase my code ako gumawa ako sa visual c++ 2010 tapos poste ko
tapos pag tapos kong mag dibug tapos testing ko sa crossfire na detected agad please pa help nmn sa code oh?
Crossfire PH Philippines
Code:
Code:
#include "stdafx.h"
#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 || i == 599)
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)
{
memcpy((VOID*)0x0D000C, "\x00\x00\x00\x00\x00\x00\x00", 6);
}
if(seeghost==1)
{
if(pBasicPlayerInfo){
*(float*)(pBasicPlayerInfo+ 0x88) = 200.0f;
*(float*)(pBasicPlayerInfo+ 0x8C) = 200.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))) + 0x00A0) = 200; // 200 is the value for no reload
}
}
}
}
}
void Hook ( HINSTANCE hDLL )
{
DWORD CShell = HookShell;
if (CShell==1)
{
IfLuX();
}
}
BOOL WINAPI DllMain ( HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved )
{
if (dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(0, "Alvin-vince CFPH Chams" ,"Injected", 0);
DisableThreadLibraryCalls(hDll);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hook, hDll, NULL, NULL);
}
return TRUE;
}