Need Help.
struct CPlayer
{
char xUnknown1[66304];
float posx;
char xUnknown2[4];
float posz;
char xUnknown3[4];
float posy;
struct CBase
{
CPlayer* plocal;
char* unknown0[11371996];
CPlayer** player;
};
CBase* pBase = (CBase*)0xAD85D8;
void OPKThread()
{
DWORD Playerx = *(DWORD*)ADR_Playerpointer;
if(GetAsyncKeyState(VK_NUMPAD5)){//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 = 25;
pPlayerA->pos2 = 25;
pPlayerA->pos3 = 25;
// 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;
}
}
}
}
i did not put Full. Because Abusive.
1>------ Build started: Project: OPKHack.dll, Configuration: Release Win32 ------
1>Compiling...
1>main.cpp
1>.\main.cpp(94) : error C2864: 'CPlayer:

Base' : only static const integral data members can be initialized within a class
1>.\main.cpp(217) : fatal error C1075: end of file found before the left brace '{' at '.\main.cpp(80)' was matched
1>Build log was saved at "file://c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\OPKHack.dll\OPKHack.dll\Release\Buil dLog.htm"
1>OPKHack.dll - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
PM me
