Help for ESP
I Found these code [LINK]:
I updated the offsets
My problem is to find "ClientShell"
What does he mean with it?
And does this CShell
mean this ?
Code:
DWORD PlayerClient = *(DWORD*)(ClientShell+0x54);
if(PlayerClient!=NULL)
{
if(GetMeIdxInPlayerInfoList==NULL)
{
GetMeIdxInPlayerInfoList = (lpGetMeIdxInPlayerInfoList) (CShell + (0x1FD70));//this function return my player index
}
int drawcount=0;
CPlayer *me = (CPlayer*)((ClientShell + (0x743C+4))+ (GetMeIdxInPlayerInfoList(ClientShell) * 0x4c8));//this is my player
char szFormat[256];
for(int i=0;i<16;i++)//array of players
{
CPlayer * pPlayerInfo = (CPlayer*)((ClientShell + (0x743C+4))+ (i * 0x4c8));
if(strlen(pPlayerInfo->Name)>2 && pPlayerInfo->Team!=me->Team)//if player have name and his Enemy
{
drawcount++;
if(pPlayerInfo->Health>0)//If Enemy Alive
{
sprintf(szFormat,"%s",pPlayerInfo->Name);
D3DXVECTOR3 pos;
if(WorldToScreen(pDevice,pPlayerInfo->Object->Head,&pos))//If visible in My Screen
{
if(hack1>=1)//first type ESP
{
WriteText(szFormat,pos.x,pos.y,Red);//Draw Enemy Name
if(pPlayerInfo->Has_C4)
{
sprintf(szFormat,"%s","C4");
WriteText(szFormat,pos.x,pos.y+15+15,Red);//Draw what Enemy have C4
}
}
if(hack1>=2)//second ESP type
{
if(pPlayerInfo->Health>=90)//enemy health is very good
{
DrawHealthBar(pos.x,pos.y+15,30,5,Green,Black,pPlayerInfo->Health,100,pDevice);
}
else if(pPlayerInfo->Health>=40)//enemy health is not good
{
DrawHealthBar(pos.x,pos.y+15,30,5,Yellow,Black,pPlayerInfo->Health,100,pDevice);
}
else //enemy health - very bad, you can kill him very easy :)
{
DrawHealthBar(pos.x,pos.y+15,30,5,Red,Black,pPlayerInfo->Health,100,pDevice);
}
}
int ScreenCenterX = GetSystemMetrics(0) / 2;
int ScreenCenterY = GetSystemMetrics(1) / 2;
if(hack1>=3)// DrawLines from center screen to Enemy
{
DrawLine(ScreenCenterX,ScreenCenterY,pos.x,pos.y,1,Blue,pDevice);
}
}
}
}
}
}
My problem is to find "ClientShell"
What does he mean with it?
And does this CShell
Code:
(CShell + (0x1FD70));
Code:
CShell = (DWORD)GetModuleHandleA("CShell.dll");

![=]](/forum/images/emotions/=].gif)

