Questionhelp

Posts 1–9 of 9 · Page 1 of 1
help
hey here are the codes .....
but what must i do witch the codes i dont get it
with sleeping ect.

No grenade damage:
Code:
#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))
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL && (grenades))

no reload:
Code:
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x2424) = 100.0f; //String is "ReloadAnimRatio"
No weapon weight:
Code:
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x21DC) = 0.0f; //String is "MoveSpeedPenalty"
Shoot throgh wall:

Code:
if (*(DWORD*)((CShellBase)+WallMgr) != NULL)
{
*(bool*)((*(DWORD*)((CShellBase)+WallMgr))+(i*0x47 4)+0x468) = true; //String is "EdgeShotEnabled"
*(bool*)((*(DWORD*)((CShellBase)+WallMgr))+(i*0x47 4)+0x46C) = true; //String is "WallShotEnabled"
*(bool*)((*(DWORD*)((CShellBase)+WallMgr))+(i*0x47 4)+0x470) = true; //String is "PerfectWallShotEnabled"
No weapon change delay::
Code:
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x2428) = 100.0f; //String is "ChangeWeaponAnimRatio"
Knife tele kill (causes client error if used 5 times
Code:
#define knives ((i==5) || (i==74) || (i==269) || (i==270) || (i==271) || (i== 372))
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL && (knives))
{
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x7EC) = 20000.0f; //Visual , String is "Range"
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xA20) = 20000.0f; //Not visual , String is "KnifeNormalRange"

*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xA24) = 20000.0f; //same as above "KnifeNormalRange" has two addys

*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xA2C) = 20000.0f //Not visual , String is "KnifeBigshotRange". this one should affect knife right click but i didn't test this one.
Max weapon range::

Code:
#define knives ((i==5) || (i==74) || (i==269) || (i==270) || (i==271) || (i== 372))
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL && (!knives))
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x7EC) = 20000.0f; //String is "Range"



SO WHAT MUST I DO ? *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x7F8) = 0.0f; //String is "AmmoDamage"
... wath about trying first only with no reload ?

then test if it works
is that your full project?
Quote Originally Posted by Coder[Vb10e] View Post
... wath about trying first only with no reload ?

then test if it works
is that your full project?
So I open c++ a new project (DLL)
i paste the code from no reload and it works?
Quote Originally Posted by janko21 View Post
So I open c++ a new project (DLL)
i paste the code from no reload and it works?
not exactly, you need to make a thread then a little trick code:

Code:
#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; 
}


---------- Post added at 08:45 AM ---------- Previous post was at 08:44 AM ----------

this is only no reload !!!
ok thanks i'm gonna try it

---------- Post added at 02:48 AM ---------- Previous post was at 02:46 AM ----------

Quote Originally Posted by Coder[Vb10e] View Post


not exactly, you need to make a thread then a little trick code:

Code:
#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; 
}


---------- Post added at 08:45 AM ---------- Previous post was at 08:44 AM ----------

this is only no reload !!!
but I understand why it is still not 100%
# define FastKnife1 0xA28 / / fast knife 1: value 3
# define FastKnife2 0xA70 / / fast knife 2: value 3
# define FastKnife3 0xA94 / / fast knife 3: value 3

and how do I actually remember all of that for a (pretty) simple hack?
Quote Originally Posted by janko21 View Post
ok thanks i'm gonna try it
Code:
#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; 
}
this is only no reload


---------- Post added at 08:50 AM ---------- Previous post was at 08:49 AM ----------

Quote Originally Posted by janko21 View Post
ok thanks i'm gonna try it

---------- Post added at 02:48 AM ---------- Previous post was at 02:46 AM ----------



but I understand why it is still not 100%
# define FastKnife1 0xA28 / / fast knife 1: value 3
# define FastKnife2 0xA70 / / fast knife 2: value 3
# define FastKnife3 0xA94 / / fast knife 3: value 3

and how do I actually remember all of that for a (pretty) simple hack?
just remember
so you remider it to or you have place it in a file and your open it for me?

---------- Post added at 02:55 AM ---------- Previous post was at 02:54 AM ----------

how must i make other feathures witch this BIG codes ....
lol i dont got any text file in my computer taking the game 's info scripts etc lloll
but if u wanna add anothere freature just add it down like this:

where this code is just add this:

Code:
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
     }
    }
   }
  }  
 }
Quote Originally Posted by Coder[Vb10e] View Post
lol i dont got any text file in my computer taking the game 's info scripts etc lloll
but if u wanna add anothere freature just add it down like this:

where this code is just add this:

Code:
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
     }
    }
   }
  }  
 }
so your are a smart boy
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?