here are the codes .....![=]](/forum/images/emotions/=].gif)
#include "windows.h"
#include <windows.h>
#include "stdafx.h"
DWORD* DIP_detour = NULL;
DWORD DIP_return = NULL;
#define WeaponMgr 0xA974A0
#define wallclass 0xA9748C // 8C
#define BasicPlayerInfo 0xA30718 //
#define FallDamage 0xA97484
#include <d3dx9.h>
#include <d3d9.h>
#define SeeGhosts1 0x88
#define SeeGhosts2 0x8C
#define SeeGhosts3 0x90
#define SeeGhosts4 0x98
#define SeeGhosts5 0x9C
#define SeeGhosts6 0xA0
#define SeeGhosts7 0xA4
#define NoRecoil1 0x1928
#define NoRecoil2 0x20FC
#define NoRecoil3 0x258C
#define NoRecoil4 0x1B00
#define NoRecoil5 0x211C
#define NoRecoil6 0x1F94
#define FastKnife1 0xA28 // fast knife 1 : value 3
#define FastKnife2 0xA70 // fast knife 2 : value 3
#define FastKnife3 0xA94 // fast knife 3 : value 3
#define NoReload 0x269C // NoReload : Value 35
#define NoSpread 0x245C // Nospread
#define NoWeight 0x2454
#define NoChange 0x26A0
#define WeaponRange 0x7EC
#define pistols ((i==1)|| (i==4) || (i==18) || (i==19) || (i==20) || (i==26) || (i==33) || (i==37) || (i==44) || (i==60) || (i==75) || (i==78) || (i==92) || (i==105) || (i==115) || (i==116) || (i==153) || (i==155) || (i==156) || (i==217) || (i==235) || (i==241) || (i==247) || (i==350) || (i==370) || (i==371) || (i==439) || (i==470) || (i==497) || (i==515) || (i==516))
#define snipers ((i==14) || (i==15) || (i==16) || (i==23) || (i==43) || (i==46) || (i==91) || (i==110) || (i==111) || (i==122) || (i==136) || (i==150) || (i==152) || (i==163) || (i==186) || (i==194) || (i==232) || (i==249) || (i==268) || (i==279) || (i==294) || (i==368) || (i==378) || (i==513) || (i==525))
#define gatlingGuns ((i==166)|| (i==188) || (i==257) || (i==556))
#define grenades ((i==6) || (i==7) || (i==8) || (i==64) || (i==100) || (i==126) || (i==135) || (i==209) || (i==210) || (i==240) || (i==262) || (i==263) || (i==313) || (i==272)|| (i==288) || (i==338) || (i==357) || (i==382) || (i==383) || (i==384) || (i==416) || (i==423) || (i==424) || (i==425) || (i==473) || (i==481) || (i==518) || (i==519) || (i==520) || (i==521))
#define knives ((i==5) || (i==120)|| (i==540)|| (i==541) || (i==132)|| (i==457 )|| (i==456 )|| (i==455 ) || (i==176) || (i==177) || (i==178) || (i==182) || (i==189) || (i==195) || (i==196) || (i==197) || (i==198) || (i==199) || (i==223) || (i==224) || (i==225) || (i==226) || (i==227) || (i==228) || (i==239) || (i==224) || (i==261) || (i==269) || (i==270) || (i==271) || (i==305) || (i==306) || (i==307) || (i==372) || (i==404) || (i==405) || (i==406) || (i==407) || (i==408) || (i==409) || (i==437) || (i==455) || (i==456) || (i==457) || (i==517) || (i==518))
#define bomb ((i==9))
#define m_stride ((i==14) || (i==14))
int SingleFire = 1;
int RepeatFire = 2;
int ShrapnelFire = 4;
int DelayFire = 8;
int AlternateFire = 16;
#include <windows.h>
BOOL WINAPI Main (LPVOID)
{
bool worldframe = true;
bool worldframe1 = true;
bool worldframe2 = true;
bool worldframe3 = true;
bool worldframe4 = true;
bool worldframe5 = true;
bool worldframe6 = true;
bool wallhack = true;
bool reload = false;
DWORD OBJ = (DWORD)GetModuleHandleA("Object.dll");
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pBasicPlayerInfo = *(DWORD*)(CShell + BasicPlayerInfo);
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
DWORD pWallClass = *(DWORD*)(CShell + wallclass);
DWORD pFallDamageMgr = *(DWORD*)(CShell + FallDamage);
if (pWeaponMgr){
for(int i=0; i<577; i++){
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
DWORD Noreload = *(DWORD*)(pWeaponMgr + (4*i));
for(int y=0; y<10; y++){
if(Noreload){
*(float*)(Noreload+ (0x269C + (4*y))) = 10.0f;
}
}
}
}
}
Sleep(100);
return 1;
}
bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}
DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(300);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
//CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)initD3D, NULL, NULL, NULL);
return 0;
}
extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved){
if(fdwReason==DLL_PROCESS_ATTACH){
Beep(1000,1000);
CreateThread(NULL,0,Wait,NULL,0,NULL);
}
return TRUE;
}
i'm gonna try it#include <windows.h>
BOOL WINAPI Main (LPVOID)
{
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
if (pWeaponMgr){
for(int i=0; i<577; i++){
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
DWORD Noreload = *(DWORD*)(pWeaponMgr + (4*i));
for(int y=0; y<10; y++){
if(Noreload){
*(float*)(Noreload+ (0x269C + (4*y))) = 10.0f;
}
}
}
}
}
Sleep(100);
return 1;
}
bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}
DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(300);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
//CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)initD3D, NULL, NULL, NULL);
return 0;
}
extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved){
if(fdwReason==DLL_PROCESS_ATTACH){
Beep(1000,1000);
CreateThread(NULL,0,Wait,NULL,0,NULL);
}
return TRUE;
}


if (pWeaponMgr){
for(int i=0; i<577; i++){
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
DWORD Noreload = *(DWORD*)(pWeaponMgr + (4*i));
for(int y=0; y<10; y++){
if(Noreload){
*(float*)(Noreload+ (0x269C + (4*y))) = 10.0f;
*(float*)(Noreload2+ (0x269C + (4*y))) = 10.0f;
*(float*)(Noreload3+ (0x269C + (4*y))) = 10.0f;
*(float*)(Noreload4+ (0x269C + (4*y))) = 10.0f;
*(float*)(Noreload5+ (0x269C + (4*y))) = 10.0f;
*(float*)(Noreload6+ (0x269C + (4*y))) = 10.0f;
//ETC
}
}
}
}
}