Some useful patterns

Posts 16–20 of 20 · Page 2 of 2
Quote Originally Posted by mamo007 View Post


Code:
VOID SetMouseCursor(DWORD pClient, D3DXVECTOR3 *Position)
{
	D3DXMATRIX View, iView;
	D3DXVECTOR3 Distance;

	pDevice->GetTransform(D3DTS_VIEW, &View);

	D3DXMatrixInverse(&iView, NULL, &View);
	D3DXVec3Subtract(&Distance, Position, &D3DXVECTOR3(iView._41, iView._42, iView._43));


	*(FLOAT *)(pClient + Offset_Yaw) = (FLOAT)atan2(-Distance.y, sqrt(Distance.x * Distance.x + Distance.z * Distance.z));
	*(FLOAT *)(pClient + Offset_Pitch) = (FLOAT)atan2(Distance.x, Distance.z);
}
Good Luck!
esp ok but aimbot still not work.
same for me
Aimbot didn't work
Thanks TS for such a great share but do you mind sharing the BagMgr offset? The latest one.
Posts 16–20 of 20 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us