QuestionHack Code Problem

Posts 1–14 of 14 · Page 1 of 1
Hack Code Problem
Can some one help me ??
PLS DONT COPY THIS

Code:
#include <windows.h>
#include "exports.h"
#define WeaponMgr  0xAAC3D0
#define FallDamage  0xAAC3B4

#define NoRecoil1  0x1934
#define NoRecoil2  0x1938
#define NoRecoil3  0x193C


bool noreloadd= false;

#define FastKnife1  0xA28 
#define FastKnife2  0xA70
#define FastKnife3  0xA4C

#define NoReload 0x26A4

#define NoSpread  0x26AC

#define WeaponRange 0x7EC


BOOL WINAPI Main (LPVOID)
{

DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);



//No reload code starts here
if(noreloadd)
{
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+ (NoReload + (4*y))) = 10.0f;
     }
    }
   }
  }  
 }
}
// no reload code ends here :D

//fast knife :P code starts here
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+ (FastKnife1 + (4*y))) = 2;
	  *(float*)(Noreload+ (FastKnife2 + (4*y))) = 2;
	  *(float*)(Noreload+ (FastKnife3 + (4*y))) = 2;
     }
    }
   }
  }  
 }
//fast knife code ends here :D


// + (NoRecoil6 + (4*y))) = 0.0f;
	  *(float*)(pNoRecoil + (NoRecoil7 + (4*y))) = 0.0f;	 
      *(float*)(pNoRecoil + (NoRecoil8 + (4*y))) = 0.0f;
      *(float*)(pNoRecoil + (NoRecoil9 + (4*y))) = 0.0f;
      *(float*)(pNoRecoil + (NoRecoil10 + (4*y))) = 0.0f;
      *(float*)(pNoRecoil + (NoRecoil11 + (4*y))) = 0.0f;
      *(float*)(pNoRecoil + (NoRecoil12 + (4*y))) = 0.0f;
	  *(float*)(pNoRecoil + (NoRecoil3 + (4*y))) = 0.0f;	 
      *(float*)(pNoRecoil + (NoRecoil4 + (4*y))) = 0.0f;
     }
    }
   }
  }  
 }
 //No recoil endsNo Recoil :
 if (pWeaponMgr){
	 
  for(int i=0; i<577; i++){
   if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
    DWORD pNoRecoil = *(DWORD*)(pWeaponMgr + (4*i));
    for(int y=0; y<11; y++){
     if(pNoRecoil){
	  *(float*)(pNoRecoil + (NoRecoil1 + (4*y))) = 0.0f;	 
      *(float*)(pNoRecoil + (NoRecoil2 + (4*y))) = 0.0f;
      *(float*)(pNoRecoil + (NoRecoil3 + (4*y))) = 0.0f;
      *(float*)(pNoRecoil + (NoRecoil4 + (4*y))) = 0.0f;
      *(float*)(pNoRecoil + (NoRecoil5 + (4*y))) = 0.0f;
      *(float*)(pNoRecoil

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)hotkys, 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; //wath i press=
}
 commin
me erro's:

Code:
1>------ Build started: Project: SndDrv, Configuration: Debug Win32 ------
1>  main.cpp
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(71): error C2065: 'pNoRecoil' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(71): error C2065: 'NoRecoil7' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(71): error C2065: 'y' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(72): error C2065: 'pNoRecoil' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(72): error C2065: 'NoRecoil8' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(72): error C2065: 'y' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(73): error C2065: 'pNoRecoil' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(73): error C2065: 'NoRecoil9' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(73): error C2065: 'y' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(74): error C2065: 'pNoRecoil' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(74): error C2065: 'NoRecoil10' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(74): error C2065: 'y' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(75): error C2065: 'pNoRecoil' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(75): error C2065: 'NoRecoil11' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(75): error C2065: 'y' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(76): error C2065: 'pNoRecoil' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(76): error C2065: 'NoRecoil12' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(76): error C2065: 'y' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(77): error C2065: 'pNoRecoil' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(77): error C2065: 'y' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(78): error C2065: 'pNoRecoil' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(78): error C2065: 'NoRecoil4' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(78): error C2065: 'y' : undeclared identifier
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(80): error C2059: syntax error : '}'
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(80): error C2143: syntax error : missing ';' before '}'
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(80): error C2059: syntax error : '}'
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(81): error C2143: syntax error : missing ';' before '}'
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(81): error C2059: syntax error : '}'
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(82): error C2143: syntax error : missing ';' before '}'
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(82): error C2059: syntax error : '}'
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(83): error C2143: syntax error : missing ';' before '}'
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(83): error C2059: syntax error : '}'
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(85): error C2143: syntax error : missing ';' before '{'
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(85): error C2447: '{' : missing function header (old-style formal list?)
1>c:\users\gebruiker\documents\visual studio 2010\projects\snddrv\snddrv\main.cpp(128): fatal error C1004: unexpected end-of-file found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

and pls add a hotkey to noreload .... (just help me out :P)
try this if that work i have fix it for you when it work give credits!!
Code:
#include <windows.h>
#include <string.h>

#define WeaponMgr	 0xAA6B80
#define NoReload     0x26A4

BOOL WINAPI Main (LPVOID)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);

	if (pWeaponMgr)
	{
		for(int i=0; i<650; i++)
		{
			if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
			{
				*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100.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)hotkys, NULL, NULL, NULL);
   return 0;
}

extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved){
  if(fdwReason==DLL_PROCESS_ATTACH){
    CreateThread(NULL,0,Wait,NULL,0,NULL);
  }
  return TRUE; //wath i press=
}
Quote Originally Posted by Fabii View Post
try this if that work i have fix it for you when it work give credits!!
Code:
#include <windows.h>
#include <string.h>

#define WeaponMgr	 0xAA6B80
#define NoReload     0x26A4

BOOL WINAPI Main (LPVOID)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);

	if (pWeaponMgr)
	{
		for(int i=0; i<650; i++)
		{
			if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
			{
				*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100.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)hotkys, NULL, NULL, NULL);
   return 0;
}

extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved){
  if(fdwReason==DLL_PROCESS_ATTACH){
    CreateThread(NULL,0,Wait,NULL,0,NULL);
  }
  return TRUE; //wath i press=
}
C++ the codes the build fails.. check it clear it..
Quote Originally Posted by Fabii View Post
try this if that work i have fix it for you when it work give credits!!
Code:
#include <windows.h>
#include <string.h>

#define WeaponMgr	 0xAA6B80
#define NoReload     0x26A4

BOOL WINAPI Main (LPVOID)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);

	if (pWeaponMgr)
	{
		for(int i=0; i<650; i++)
		{
			if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
			{
				*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100.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)hotkys, NULL, NULL, NULL);
   return 0;
}

extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved){
  if(fdwReason==DLL_PROCESS_ATTACH){
    CreateThread(NULL,0,Wait,NULL,0,NULL);
  }
  return TRUE; //wath i press=
}
ty but it's deteched
Quote Originally Posted by janko21 View Post
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)hotkys, 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; //wath i press=
}
This Part is Detected

---------- Post added at 12:53 AM ---------- Previous post was at 12:52 AM ----------

And u Didnt Define All The No Recoil offsets ??
Quote Originally Posted by -iFaDy..* View Post
This Part is Detected

---------- Post added at 12:53 AM ---------- Previous post was at 12:52 AM ----------

And u Didnt Define All The No Recoil offsets ??
yes you must define all no recoil addys my no recoil is perfect but i only have fix it thst he can try if it work!!
i know u just C+P this please learn the basics of C++ before starting to code
coz the error i see is from basic C++
xtrap detect if you use CreateThread then this is SuperDetected.
Quote Originally Posted by darlwis View Post
xtrap detect if you use CreateThread then this is SuperDetected.
so what must I do to work the hack delete "CreateThread" ?
Quote Originally Posted by janko21 View Post
so what must I do to work the hack delete "CreateThread" ?
Start a team with me and make haks... simple crdits+rep..
Quote Originally Posted by Yatgari382010 View Post


Start a team with me and make haks... simple crdits+rep..
lol can you hack ? :P
Quote Originally Posted by janko21 View Post
lol can you hack ? :P
got all new codes and Coder[V10] taught me
you just need define the no recoil
Mine is Detected to,
I am seeing what is wrong on it.
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?