#include <windows.h>
// Define the addies | UP2Date //
#define PlayerPtr 0x00ABD750
#define ServerPtr 0x00943D98
#define Glasswalls 0x00943D90
#define OFS_Z 0x000102E4
#define OFS_Y 0x000102EC
#define OFS_X 0x000102DC
#define ADR_BANDAGE 0x0093DF42
#define ADR_SNIPEPX 0x0093DF3E
#define slotfive 0x001021A4
#define slotsix 0x001021A5
#define slotseven 0x001021A6
#define sloteight 0x001021A7
// Addies found by TheCamels8
// Enable or Disable the hacks // 1= on 0= off
int CH_slot5 = 1;
int CH_slot6 = 1;
int CH_slot7 = 1;
int CH_slot8 = 1;
int CH_Bandage = 1;
int CH_Superjump = 1;
int CH_GlassWall = 1;
int CH_Sniper = 1;
// ALL SLOTS
void Slots(){
DWORD dwPlayerPtr = *(DWORD*)PlayerPtr;
DWORD dwServerPtr = *(DWORD*)ServerPtr;
if(CH_slot5 == 1){*(long*)(dwPlayerPtr+slotfive) = 1;}
if(CH_slot6 == 1){*(long*)(dwPlayerPtr+slotsix) = 1;}
if(CH_slot7 == 1){*(long*)(dwPlayerPtr+slotseven) = 1;}
if(CH_slot8 == 1){*(long*)(dwPlayerPtr+sloteight) = 1;}
}
void Superjump(){
if(CH_Superjump == 1){
if(GetAsyncKeyState(VK_CONTROL) &1){
DWORD dwPlayerPtr = *(DWORD*)PlayerPtr;
if(dwPlayerPtr != 0){
*(float*)(dwPlayerPtr+OFS_Z) = 1500;}}}}
void Bandage(){
if(CH_Bandage == 1){
*(int*)(ADR_BANDAGE) = 1;}}
void Glass(){
if(CH_GlassWall == 0){*(int*)Glasswalls = 0;}
if(CH_GlassWall == 1){*(int*)Glasswalls = 1;}}
void SnipePX(){
if(CH_Sniper == 1){
*(int*)(ADR_SNIPEPX ) = 1;}}
void hDllMain(void)
{
while(true){
Slots();
Glass();
SnipePX();
Bandage();
Sleep(100);
}
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
//Once the dll is attached we create a thread:
if(fdwReason == DLL_PROCESS_ATTACH){
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hDllMain, NULL, NULL, NULL);
}
//return statement is not needed but its good coding
return true;
}