Nothing's wrong, just look up the latest addies, it should work
TO ALL CODER ! I NEED HELP ! PLS PASTE CORRECT OR MESSAGE ME THIS IS WARROCK PH CODE TNX TO HELP
#include <windows.h>
#include <stdio.h>
#define ADR_Playerpointer 0x00AD85D8
#define ADR_Serverpointer 0x009D2078
#define ADR_GlassWalls 0x0095C024
#define OFS_Nfd 0x00102E8
DWORD nPlayerOPK = 0;
DWORD *ingame= (DWORD*)ADR_Playerpointer;
DWORD *outgame= (DWORD*)ADR_Serverpointer;
void glasswall()
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_GlassWalls = 1;
else
{
*(int*)ADR_GlassWalls = 0;
}
}
struct CPlayer
{
char unknown0[66124];
float pos1; //0x01024C
char Unknown1[4];
float pos2; //0x010250
char Unknown2[4];
float pos3; //0x010254
}; //size = 0x010254 (201124)
struct CBase
{
CPlayer* plocal;
char* unknown0[11371996];
CPlayer** player;
};
CBase* pBase = (CBase*)0xAD85D8;
void OPKThread()
{
DWORD Playerx = *(DWORD*)ADR_Playerpointer;
if(GetAsynKeyState(VK_INSERT)){//sets insert as hotkey for opk
nPlayerOPK =1;
}
if(Playerx != 0)
{
if(nPlayerOPK == 1)
/*you check if it's 1 and than do your hack stuff,but do you set it to 1 somewhere?*/
{
for(int i = 0; i<32; i++) // Looping trough all 32 players. ( from 0 to 31 )
{
// Setting positions of all players to 0,0,0
CPlayer* pPlayerA = pBase->player[i];
pPlayerA->pos1 = 0;
pPlayerA->pos2 = 0;
pPlayerA->pos3 = 0;
// On some maps 0,0,0 is under water.
// *Addresses.waterheight = 0;
// On some maps you get killed cuz of falldamage
*(float*)(ADR_Playerpointer+OFS_Nfd) = -10000;
}
}
}
}
void HackThread()
{
for(;; )
{
if(*ingame)
{
OPKThread();
glasswall();
}
//if(*outgame)
{
}
Sleep(50);
}
}
//--------------------------End HackThread--------------------------//
//--------------------------End--------------------------//
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL,"ALIHPOT","Created by",MB_OK);//
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
}
return TRUE;
}
Nothing's wrong, just look up the latest addies, it should work
wOw... anothEr One!
---------- Post added at 09:54 AM ---------- Previous post was at 09:51 AM ----------
MaN, LearN to IndICAtE WheRe thaT cAMe FrOm..,,
CrEditS to Gongks!!!!
@Alex_Agnew
@TheCamels8
Copy Paste Faster...
When Im gone dont forget me cause I will come back someday.
Youtube Channel
epic fail
# Outdated -_-
ahha ?Copy Paste Faster... parin