My old OPK Base
This is my old base since Warrock was in AMPED. Ill show you soon how to update it and how to search for the all private(duhhh) Remote Pointer...
anyway, theres a clue there incase your wondering who am i...
this source base is what they call Save point OPK. this is for all the PASIKAT na mga nagrerelease
anyway, theres a clue there incase your wondering who am i...
this source base is what they call Save point OPK. this is for all the PASIKAT na mga nagrerelease
Code:
struct CPlayer
{
char bhph0[66280]; //0x0000
float nofalldamage; //0x102E8
char bhph1[20]; //0x102EC
float X; //0x10300
char bhph2[4]; //0x10304
float Z; //0x10308
char bhph3[4]; //0x1030C
float Y; //0x10310
};//Size=0x10310(201420)
struct CBase
{
CPlayer* m_pLocalPlayer;;//0x0000
CHAR GlobalPtr[8];//0x8
CPlayer** m_pGlobalPlayers;//0x0000
};//size = 0x8(10)
CBase* pBase = (CBase*)ADR_Playerpointer;
void opkon1()
{
if (GetAsyncKeyState(VK_NUMPAD3))
{
nsPlayerOPK1 = nsPlayerOPK1 = 1;
}
}
void opkoff1()
{
if (GetAsyncKeyState(VK_DECIMAL))
{
nsPlayerOPK1 = nsPlayerOPK1 = 0;
}
}
void OPKNORMAL()
{
for(;;)
{
DWORD pPlayerx = *(DWORD*)ADR_Playerpointer;
if(pPlayerx== 0)Sleep(100);
if(nsPlayerOPK1==0)Sleep(100);
if (pPlayerx != 0)
{
if (nsPlayerOPK1 == 1)
{
for(int i = 0; i < 32; i++)
if ( pBase->m_pGlobalPlayers[i] - pBase->m_pLocalPlayer )
{
pBase->m_pGlobalPlayers[i]->X = OPKSaveX;
pBase->m_pGlobalPlayers[i]->Y = OPKSaveY;
pBase->m_pGlobalPlayers[i]->Z = OPKSaveZ;
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
if(dwPlayerPtr != 0)
*(float*)(dwPlayerPtr+OFS_Nfd) = -999999;
*(float*)ADR_AutoHead = 1235;
{
}
}
}
}
}
}
void OPKSAVESPOT()
{
if (GetAsyncKeyState(VK_F5))
for(int i = 4; i < 32; i++)
{
OPKSaveX = pBase->m_pGlobalPlayers[i]->X;
OPKSaveY = pBase->m_pGlobalPlayers[i]->Y;
OPKSaveZ = pBase->m_pGlobalPlayers[i]->Z;
}
if (GetAsyncKeyState(VK_F6))
{
for(int i = 4; i < 32; i++)
{
CPlayer* pPlayer = pBase->m_pGlobalPlayers[i];
pPlayer->X = OPKSaveX;
pPlayer->Y = OPKSaveY;
pPlayer->Z = OPKSaveZ;
}
}
}



