❓ HelP Expert Coder

Posts 1–15 of 17 · Page 1 of 2
❓ HelP Expert Coder
Why My Cbase and CPlayer Are Not Working



#include <windows.h>
#include <stdio.h>

#define ADR_Playerpointer 0x009DA730
#define ADR_Serverpointer 0x009D96D8
#define ADR_Glasswall 0x009D8884
#define OFS_NoRecoil1 0x000C444
#define OFS_NoRecoil2 0x000C448
#define OFS_NoRecoil3 0x000C450
#define OFS_X 0x0010300
#define OFS_Z 0x0010308
#define OFS_Y 0x0010310
#define OFS_Nfd 0x00102E8

struct CPlayer
{
char BMPHx1[50244];//0x00
float NoRecoil1;//0xC444
float NoRecoil2;//0xC448
float NoRecoil3;//0xC44C
char BMPHx2[155];//0x1024D
float NoFallDamage;//0x102E8
char BMPHx3[25];//0x102EC
float PosX;//0x10300
char BMPHx4[4];//0x10304
float PosY;//0x10310
char BMPHx5[4];//0x10314
float PosZ;//0x10308
};

struct CBase
{
CPlayer* pLocal;
char* Mervin1[1113074];
CPlayer** pGlobal;
};
CBase* pBase = (CBase*)(0x09DA730);

float PosY;
float PosX;
float PosZ;
DWORD nPlayerOPK = 0;
DWORD *ingame= (DWORD*)ADR_Playerpointer;
DWORD *outgame= (DWORD*)ADR_Serverpointer;

void glasswall()
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_Glasswall = 1;
else
{
*(int*)ADR_Glasswall = 0;
}
}
void All()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
if(dwPlayerPtr != 0)
*(float*)(dwPlayerPtr+OFS_NoRecoil1) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil2) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil3) = 0;
*(float*)(dwPlayerPtr+OFS_Nfd) = -2000;
}
void OPK()
{
DWORD Playerx = *(DWORD*)ADR_Playerpointer;
if(Playerx != 0)
{
if (pBase->pGlobal && nPlayerOPK == 1)
{
if (nPlayerOPK) /*Player OPK*/
{
for(int i = 0; i < 32; i++)
{
CPlayer* pPlayer = pBase->pGlobal[i];
pPlayer->PosX= 0;
pPlayer->PosY= 0;
pPlayer->PosZ= 0;
}
}
}
}
}
void opkon()
{
if (GetAsyncKeyState(VK_NUMPAD4))
{
nPlayerOPK = nPlayerOPK = 1;
MessageBeep(MB_ICONINFORMATION);
}
}
void opkoff()
{
if (GetAsyncKeyState(VK_NUMPAD5))
{
nPlayerOPK = nPlayerOPK = 0;
MessageBeep(MB_ICONINFORMATION);
}
}
void ProJectBMPH()
{
for(;; )
{
if(*ingame)
{
glasswall();
All();
OPK();
opkon();
opkoff();
}
if(*outgame)
{
glasswall();
}
Sleep(400);
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL,"BMPH,Mervin Coderz","Created",MB_OK);
MessageBoxA(NULL,"MPGH Coderz,Mark Tusoy","Credits",MB_OK);
MessageBoxA(NULL,"[InoZent],Mark David Mancio Coderz","Credits",MB_OK);
MessageBoxA(NULL,"Kenshi Coder,Tyler Andrew Coderz","Credits",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ProJectBMPH, 0, 0, 0);
}
return TRUE;
}


Help Expert

Thanks For Helping Coders


OPK Expert Coders List:
@AeroMan (AeroMan)
@Public3nemy (Yuri Vargas)
@[W]eb[C]ombat (Jesus Ceballos)
@d3ath (MJCreado)
@EarlDakz (Earl Dakay)
@donatello 07 (Warrock07)
@joker..,, (3rdVision)
@MPG H Coderz (Mark Tusoy)


Can You Help Me?
im pretty sure this line is not needeed;
Code:
CBase* pBase = (CBase*)(0x09DA730);
you can replace it with just this;
Code:
CBase * pBase;
If you want to use the code above like you wrote it you need to make sure the adress is correct.
Your Cbase won't work because you didn't calculate it yourself. It's just a copy/paste from your last post I believe.
Quote Originally Posted by TrAdEMaRc View Post
Your Cbase won't work because you didn't calculate it yourself. It's just a copy/paste from your last post I believe.
I agree the cbase struct is incorrect, that's why it will not work... It will get disconnect, when you activate your hack or it will do nothing.... I used only five addresses or 1 addy when I create OPK...
Quote Originally Posted by emiedumalasa View Post
I agree the cbase struct is incorrect, that's why it will not work... It will get disconnect, when you activate your hack or it will do nothing.... I used only five addresses or 1 addy when I create OPK...
In total I just use 6 addys
its nOt Copy Paste The Cbase But The Cbase Im not Caculate
Quote Originally Posted by alvzcute12 View Post
its nOt Copy Paste The Cbase But The Cbase Im not Caculate
so calculate it.

don't say you not copy this base.

umpisa palang sinungaling kana badboy!
Use programer calculator.... ^^
Quote Originally Posted by alvzcute12 View Post
Why My Cbase and CPlayer Are Not Working



#include <windows.h>
#include <stdio.h>

#define ADR_Playerpointer 0x009DA730
#define ADR_Serverpointer 0x009D96D8
#define ADR_Glasswall 0x009D8884
#define OFS_NoRecoil1 0x000C444
#define OFS_NoRecoil2 0x000C448
#define OFS_NoRecoil3 0x000C450
#define OFS_X 0x0010300
#define OFS_Z 0x0010308
#define OFS_Y 0x0010310
#define OFS_Nfd 0x00102E8

struct CPlayer
{
char BMPHx1[50244];//0x00
float NoRecoil1;//0xC444
float NoRecoil2;//0xC448
float NoRecoil3;//0xC44C
char BMPHx2[155];//0x1024D
float NoFallDamage;//0x102E8
char BMPHx3[25];//0x102EC
float PosX;//0x10300
char BMPHx4[4];//0x10304
float PosY;//0x10310
char BMPHx5[4];//0x10314
float PosZ;//0x10308
};

struct CBase
{
CPlayer* pLocal;
char* Mervin1[1113074];
CPlayer** pGlobal;
};
CBase* pBase = (CBase*)(0x09DA730);

float PosY;
float PosX;
float PosZ;
DWORD nPlayerOPK = 0;
DWORD *ingame= (DWORD*)ADR_Playerpointer;
DWORD *outgame= (DWORD*)ADR_Serverpointer;

void glasswall()
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_Glasswall = 1;
else
{
*(int*)ADR_Glasswall = 0;
}
}
void All()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
if(dwPlayerPtr != 0)
*(float*)(dwPlayerPtr+OFS_NoRecoil1) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil2) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil3) = 0;
*(float*)(dwPlayerPtr+OFS_Nfd) = -2000;
}
void OPK()
{
DWORD Playerx = *(DWORD*)ADR_Playerpointer;
if(Playerx != 0)
{
if (pBase->pGlobal && nPlayerOPK == 1)
{
if (nPlayerOPK) /*Player OPK*/
{
for(int i = 0; i < 32; i++)
{
CPlayer* pPlayer = pBase->pGlobal[i];
pPlayer->PosX= 0;
pPlayer->PosY= 0;
pPlayer->PosZ= 0;
}
}
}
}
}
void opkon()
{
if (GetAsyncKeyState(VK_NUMPAD4))
{
nPlayerOPK = nPlayerOPK = 1;
MessageBeep(MB_ICONINFORMATION);
}
}
void opkoff()
{
if (GetAsyncKeyState(VK_NUMPAD5))
{
nPlayerOPK = nPlayerOPK = 0;
MessageBeep(MB_ICONINFORMATION);
}
}
void ProJectBMPH()
{
for(;; )
{
if(*ingame)
{
glasswall();
All();
OPK();
opkon();
opkoff();
}
if(*outgame)
{
glasswall();
}
Sleep(400);
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL,"BMPH,Mervin Coderz","Created",MB_OK);
MessageBoxA(NULL,"MPGH Coderz,Mark Tusoy","Credits",MB_OK);
MessageBoxA(NULL,"[InoZent],Mark David Mancio Coderz","Credits",MB_OK);
MessageBoxA(NULL,"Kenshi Coder,Tyler Andrew Coderz","Credits",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ProJectBMPH, 0, 0, 0);
}
return TRUE;
}


Help Expert

Thanks For Helping Coders


OPK Expert Coders List:
@AeroMan (AeroMan)
@Public3nemy (Yuri Vargas)
@[W]eb[C]ombat (Jesus Ceballos)
@d3ath (MJCreado)
@EarlDakz (Earl Dakay)
@donatello 07 (Warrock07)
@joker..,, (3rdVision)
@MPG H Coderz (Mark Tusoy)


Can You Help Me?
HAHAHAHA! yes, you just copy/paste it, that we use teamviewer i told you to erase your Cbase and you x the teamviewer HAHAHAHA!
Quote Originally Posted by SyncMaster (Hacker) View Post
HAHAHAHA! yes, you just copy/paste it, that we use teamviewer i told you to erase your Cbase and you x the teamviewer HAHAHAHA!
tsssssss, may pa english english pa
Quote Originally Posted by [W]eb[C]ombat View Post


tsssssss, may pa english english pa
HAHAHAHAHA ..
Quote Originally Posted by [W]eb[C]ombat View Post


tsssssss, may pa english english pa
Respeto lang po sa d maka intindi ng tagalog :P
may n rename ata e
Sino di maka intindi ng tagalog sa PH Section? Clearly ang kausap mo eh pinoy hehe
Quote Originally Posted by TrAdEMaRc View Post
Sino di maka intindi ng tagalog sa PH Section? Clearly ang kausap mo eh pinoy hehe
zz, bumibisita rin sila Alex d2 -,-
Posts 1–15 of 17 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us