About D3D ESP/Distance

Posts 1–15 of 40 · Page 1 of 3
About D3D ESP/Distance
We ae together get it work!....
I had read your Thread: ESP CrossFire Info
But i cant get it work...
In current NA CF version I have:

- (NO CLAN)
Code:
101D31BD   68 B0E72D10      PUSH CShell.102DE7B0                     ; ASCII "- (NO CLAN)"
101D31C2   8B0D B02FA310    MOV ECX,DWORD PTR DS:[10A32FB0]
101D31C8   E8 B3FB0100      CALL CShell.101F2D80
101D31CD   8B96 EC010000    MOV EDX,DWORD PTR DS:[ESI+1EC]
Code:
10007700   56               PUSH ESI
10007701   8BF1             MOV ESI,ECX
10007703   0FB686 3CFD0000  MOVZX EAX,BYTE PTR DS:[ESI+FD3C]
1000770A   50               PUSH EAX
1000770B   E8 B0851000      CALL CShell.1010FCC0
10007710   83C4 04          ADD ESP,4
10007713   84C0             TEST AL,AL
10007715   75 04            JNZ SHORT CShell.1000771B
10007717   0C FF            OR AL,0FF
10007719   5E               POP ESI
1000771A   C3               RETN
1000771B   0FB68E 3CFD0000  MOVZX ECX,BYTE PTR DS:[ESI+FD3C]
10007722   69C9 C0010000    IMUL ECX,ECX,1C0
10007728   8A8431 44FD0000  MOV AL,BYTE PTR DS:[ECX+ESI+FD44]
1000772F   5E               POP ESI
Code:
10004EEA   8B0D D04B3210    MOV ECX,DWORD PTR DS:[10324BD0]          ; CShell.1032D0C8
10004EF0   69C0 C0010000    IMUL EAX,EAX,1C0
10004EF6   52               PUSH EDX
10004EF7   8D9408 46FD0000  LEA EDX,DWORD PTR DS:[EAX+ECX+FD46]
10004EFE   52               PUSH EDX
10004EFF   8D4424 2C        LEA EAX,DWORD PTR SS:[ESP+2C]
10004F03   68 08E12A10      PUSH CShell.102AE108                     ; ASCII "%s  HP : %d"
Then I Put it:
Code:
if (CShellBase!=0)
{
 unsigned long ulBase = *(unsigned long*)(CShellBase + 0xA32FB0);// ??? where ?

unsigned long ulCLTClientShell = *(unsigned long*)(CShellBase + 0x324BD0);

GetMeIdxInPlayerInfoList = (lpGetMeIdxInPlayerInfoList) (CShellBase + 0x7700 );

int me =  GetMeIdxInPlayerInfoList(ulCLTClientShell);

DrawEngineString= (lpDrawEngineString)(CShellBase + 0x1F2D80);
And:
Code:
	 _st3rdPlayerInfo * pPlayerInfo = (_st3rdPlayerInfo*)((ulCLTClientShell + 0xFD40)+ (i * 0x1C0));
Basic Code it's worked in Viet CF but Crash. [ I'm Leeched ]
Code:
#include "d3d9.h"
#include "d3dx9.h"
#include <stdio.h>
#include <windows.h>
#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "D3DX9.LIB")
//struct _Object;
//struct CPlayer;

struct _Object
{
byte pad0[0x4];
float x;
float y;
float z;
};
struct CPlayer
{
__int32 Get;
_Object*Object;
byte ClientID;
__int8 Team;
char Name[12];
__int16 check;
__int8 Alive;
__int8 check2;
__int32 PlayerSlotTeam;
__int32 Tester;
bool Has_C4;
__int32 State;
__int32 Rank;
__int32 Tester2;
__int32 CheckAgain1;
__int8 iHealth;
__int8 iHealth2;
};

bool WorldToScreen(LPDIRECT3DDEVICE9 pDev, CPlayer* pPlayer, D3DXVECTOR3* Pos)
{
D3DXVECTOR3 vWorld(pPlayer->Object->x ,pPlayer->Object->y, pPlayer->Object->z);
D3DVIEWPORT9 viewPort = {0};
D3DXMATRIX projection, view, world;
pDev->GetTransform(D3DTS_VIEW, &view);
pDev->GetTransform(D3DTS_PROJECTION, &projection);
pDev->GetTransform(D3DTS_WORLD, &world);
pDev->GetViewport(&viewPort);

D3DXVec3Project(Pos, &vWorld, &viewPort, &projection, &view, &world);
if(Pos->z < 1)
{
return true;
}
return false;
}
void ESP(LPDIRECT3DDEVICE9 pDevice)
{
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
unsigned long Base = *(DWORD*)(CShellBase + 0x30FB7C);
char *szFormat = new char[ 256 ];
if(Base != 0)
{
for(int i = 0; i < 16; i++)
{
DWORD dwStruct = (Base + (i * 0x1C0) + 0xEA6C);
if(dwStruct=!0)
{
CPlayer *pPlayer = (CPlayer*)dwStruct;

if((pPlayer) && (strlen(pPlayer->Name) > 2) && (pPlayer->iHealth > 0)) //check if player is alive and valid
{
D3DXVECTOR3 Position;
if(WorldToScreen(pDevice, pPlayer, &Position))
{
sprintf(szFormat,"%s",pPlayer->Name);

sprintf(szFormat,"%s",pPlayer->iHealth);


}
}
}
}
}
}

BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)ESP, NULL, NULL, NULL); //create the new Thread

}
return TRUE;
}
yes but the thing is, im new to this and i dont know where to put it :L
Nice Thanks
i gues he is asking for help..
he isnt releasing this
Quote Originally Posted by Royku View Post
i gues he is asking for help..
he isnt releasing this
and?
he have me help and i say thanks is this a problem?
Why does everybody say thanks? He is asking for help, lol.

Off topic:
Wtf is Xforce? Name stealers or something?
Quote Originally Posted by Skulhead = hacked. View Post
Why does everybody say thanks? He is asking for help, lol.

Off topic:
Wtf is Xforce? Name stealers or something?
Wanna be Coders
Quote Originally Posted by Skulhead = hacked. View Post
Why does everybody say thanks? He is asking for help, lol.

Off topic:
Wtf is Xforce? Name stealers or something?

I do not think you want to go through this 300 page? or? so it is easier to predict thanks because he has again posted

and i dont have make the group
we want you to complain you go to @Dark Side
Quote Originally Posted by [G]a[M]e[R] View Post
I do not think you want to go through this 300 page? or? so it is easier to predict thanks because he has again posted

and i dont have make the group
we want you to complain you go to @Dark Side
I think you are like allesandro.
It's doesn't work! We are get It work!..together...!!!
No Spam in Discussion 2Pic plz!!
Again: Tell me your skype or icq name please. I can help you with that esp. Its easy ...
Get somebody from gforce in here. I doubt anybody other then them can help you.
copy pasted code is bad and its not even good code wtf man...disappointed in you... offsets need updating, pointers, functions etc and don't use that dumb engine text

its really not hard and you found alot of the required stuff by the looks of it.. just keep on reversing lul
Quote Originally Posted by ~FALLEN~ View Post
copy pasted code is bad and its not even good code wtf man...disappointed in you... offsets need updating, pointers, functions etc and don't use that dumb engine text

its really not hard and you found alot of the required stuff by the looks of it.. just keep on reversing lul
if you know so much, why don't you help,.. and so easy for you???!?
1. its not easy for someone who can code like a pro in C++ and Never worked before with gamehacks
2. i know, aimbot is easyer to code becouse its simble to make mousehook for CF (allready made) , and only need the Player pointer / Base Pointer / hp Pointer to get the player coordinates (allready done to, but its hard to find addys there.
3. Talk about D3D Health bar, ok, g-Force have very good coder and yeah, i tryed to start coding for this D3D Health Bars > my brain said to me > "take the healthbar base, Code with health pointer + player pointer ,.. and make it work,.. so and now Tell me, where is this easy?
Posts 1–15 of 40 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us