#include <windows.h>
#include <stdio.h>
#define ADR_Playerpointer 0x00AC0534
#define ADR_Serverpointer 0x009BA3C8
#define ADR_GlassWall 0x00947C84
#define ADR_SNS 0x007E85D0
#define OFS_NoRecoil1 0x00C444
#define OFS_NoRecoil2 0x00C448
#define OFS_NoRecoil3 0x00C44C
#define ADR_NearFog 0x00947D50
#define ADR_FarFog 0x00947D5
DWORD *ingame= (DWORD*)ADR_PlayerPointer;
DWORD *outgame= (DWORD*)ADR_ServerPointer;
void PlayerHacks()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
if(dwPlayerPtr) = 0){
void SuperNoSpread()
{
*(double*)ADR_SNS = 0;
}
void NoRecoil()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
if(dwPlayerPtr != 00AC0534)
{
*(float*)(dwPlayerPtr + OFS_NoRecoil1) = 0;
*(float*)(dwPlayerPtr + OFS_NoRecoil2) = 0;
*(float*)(dwPlayerPtr + OFS_NoRecoil3) = 0;
}
}
void glasswall()
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_Glasswall = 1;
else
{
*(int**)ADR_Glasswall = 0;
}
}
void NoFog()
{
*(float*)ADR_FarFog = 00947D5;
*(float*)ADR_NearFog = 0;
}
}}
void ServerHacks()
{
DWORD dwSrvrPtr=*(DWORD*)ADR_Serverpointer;
if(dwSrvrPtr=0){
}
}
void Module_Thread()
{
for(;

{
if(*ingame)
{
PlayerHacks();
glasswall();
SuperNoSpread();
NoRecoil();
NoFog();
}
if(*outgame)
{
ServerHacks();
}
Sleep(200);
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
}
return TRUE;
}
---------------------------------------------------------------------------------------
1>------ Rebuild All started: Project: rebuild, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'rebuild', configuration 'Debug|Win32'
1>Compiling...
1>main.cpp
1>d:\rebuild\rebuild\main.cpp(14) : error C2065: 'ADR_PlayerPointer' : undeclared identifier
1>d:\rebuild\rebuild\main.cpp(15) : error C2065: 'ADR_ServerPointer' : undeclared identifier
1>d:\rebuild\rebuild\main.cpp(20) : error C2143: syntax error : missing ';' before '='
1>d:\rebuild\rebuild\main.cpp(20) : warning C4390: ';' : empty controlled statement found; is this the intent?
1>d:\rebuild\rebuild\main.cpp(20) : error C2059: syntax error : ')'
1>d:\rebuild\rebuild\main.cpp(20) : error C2143: syntax error : missing ';' before '{'
1>d:\rebuild\rebuild\main.cpp(23) : error C2601: 'SuperNoSpread' : local function definitions are illegal
1> d:\rebuild\rebuild\main.cpp(20): this line contains a '{' which has not yet been matched
1>d:\rebuild\rebuild\main.cpp(28) : error C2601: 'NoRecoil' : local function definitions are illegal
1> d:\rebuild\rebuild\main.cpp(20): this line contains a '{' which has not yet been matched
1>d:\rebuild\rebuild\main.cpp(30) : error C2059: syntax error : 'bad suffix on number'
1>d:\rebuild\rebuild\main.cpp(39) : error C2601: 'glasswall' : local function definitions are illegal
1> d:\rebuild\rebuild\main.cpp(20): this line contains a '{' which has not yet been matched
1>d:\rebuild\rebuild\main.cpp(50) : error C2601: 'NoFog' : local function definitions are illegal
1> d:\rebuild\rebuild\main.cpp(20): this line contains a '{' which has not yet been matched
1>d:\rebuild\rebuild\main.cpp(51) : error C2059: syntax error : 'bad suffix on number'
1>d:\rebuild\rebuild\main.cpp(51) : error C2041: illegal digit '9' for base '8'
1>d:\rebuild\rebuild\main.cpp(30) : error C2146: syntax error : missing ')' before identifier 'AC0534'
1>d:\rebuild\rebuild\main.cpp(30) : error C2059: syntax error : ')'
1>d:\rebuild\rebuild\main.cpp(31) : error C2065: 'AC0534' : undeclared identifier
1>d:\rebuild\rebuild\main.cpp(31) : error C2143: syntax error : missing ';' before '{'
1>d:\rebuild\rebuild\main.cpp(41) : error C2065: 'ADR_Glasswall' : undeclared identifier
1>d:\rebuild\rebuild\main.cpp(45) : error C2065: 'ADR_Glasswall' : undeclared identifier
1>d:\rebuild\rebuild\main.cpp(51) : error C2146: syntax error : missing ';' before identifier 'D5'
1>d:\rebuild\rebuild\main.cpp(51) : error C2065: 'D5' : undeclared identifier
1>d:\rebuild\rebuild\main.cpp(74) : error C3861: 'glasswall': identifier not found
1>d:\rebuild\rebuild\main.cpp(75) : error C3861: 'SuperNoSpread': identifier not found
1>d:\rebuild\rebuild\main.cpp(76) : error C3861: 'NoRecoil': identifier not found
1>d:\rebuild\rebuild\main.cpp(77) : error C3861: 'NoFog': identifier not found
1>d:\rebuild\rebuild\main.cpp(91) : error C2065: 'HackThread' : undeclared identifier
1>Build log was saved at "file://d:\rebuild\rebuild\Debug\BuildLog.htm"
1>rebuild - 25 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Respect haxcoder etc...