Get Player XYZ

Posts 1–9 of 9 · Page 1 of 1
Get Player XYZ
Full credits to Crash, I only altered little.

Original thread by Crash:
Combat Arms Hack Coding/Source Code - MPGH - MultiPlayer Game Hacking

Code:
struct LTObject{

    char offset[0xC8];
    D3DXVECTOR3 Pos;

};

typedef LTObject *HOBJECT;

class cILTClient{

public:
    char offset[520];
    int ( *RunConsoleCommand ) ( char *szCommand );
    HOBJECT ( *GetClientObj ) ( void );

};
Thread open for 5 hours..Yet no post..
Everyone must already have it from when crash posted
I know... Kind of weird...
lol
11 hours only 1 post saying no postes :P
Noone knows what to do with the class itself, thats why
Code:
cILTClient *pILTClient = *(cILTClient**)0x377F4930;
HOBJECT hMyObj = pILTClient->GetClientObj();
char buffer[256];
sprintf(buffer, "( %f, %f, %f )", hMyObj->Pos.x, hMyObj-Pos.y, hMyObj-Pos.z);
possibly cuz if its not the camera its worthless.No point in calling it when you want the camera for an accurate aimbot.Works for any game where you get a view matrix.


ez way to get the camera
Code:
         D3DXMATRIX iView;	
	 pDevice->GetTransform(D3DTS_VIEW, &view);
	 ::D3DXMatrixInverse(&iView,0,&view);


//iView._41,iView._42,iView._43
Quote Originally Posted by SNal2F View Post
possibly cuz if its not the camera its worthless.No point in calling it when you want the camera for an accurate aimbot.Works for any game where you get a rowmajor view matrix.


ez way to get the camera
Code:
         D3DXMATRIX iView;	
	 pDevice->GetTransform(D3DTS_VIEW, &view);
	 ::D3DXMatrixInverse(&iView,0,&view);


//iView._41,iView._42,iView._43
IDK why you'd want to get your XYZ cuz apparently the XYZ is at your stomach...

I use the pointer in Playermgr to the Playercam class I think it is. It has your cam XYZ which I'm pretty sure is eye level.
Quote Originally Posted by Crash View Post
IDK why you'd want to get your XYZ cuz apparently the XYZ is at your stomach...

I use the pointer in Playermgr to the Playercam class I think it is. It has your cam XYZ which I'm pretty sure is eye level.
thats what im saying, what i posted grabs the camera(eye)...but your way would be better due to the fact D3DMatrixInverse is complex function.Where just grabbing it from game memory would be faster.
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us