Enemy Player Pointer
oooor you stop thinking there is a enemyptr and use the Client_info class instead...
old adress: 3715D980
(going to replace with a new one)
old adress: 3715D980
(going to replace with a new one)
Its last patch old...
here is the new one:
3715D9A0 8B41 04 MOV EAX,DWORD PTR DS:[ECX+4]
(0x3715D9A0)
here is the new one:
3715D9A0 8B41 04 MOV EAX,DWORD PTR DS:[ECX+4]
(0x3715D9A0)
this could be optimized by only getting the viewport once unless screen resolution change or you alt tab
If you want the camera coords
Code:
D3DXVECTOR3 W2S(LPDIRECT3DDEVICE9 pDevice,_Object * p)
{
pDevice->GetViewport(&vp);
pDevice->GetTransform(D3DTS_VIEW, &view);
pDevice->GetTransform(D3DTS_PROJECTION, &projection);
D3DXMatrixMultiply(&ViewProjecti********, &view, &projection);
D3DXVec4Transform(&temp,&D3DXVECTOR4(p->Origin.x,
p->Origin.y,
p->Origin.z,1),
&ViewProjecti********);
float tempInvW2 = 1.0f/temp.w;
out.x = (1.0f + (temp.x*tempInvW2)) * vp.Width /2;
out.y = (1.0f - (temp.y*tempInvW2)) * vp.Height /2;
out.z = temp.z;
return out;
}
Code:
pDevice->GetTransform(D3DTS_VIEW, &view);
::D3DXMatrixInverse(&iView,0,&view);//so you know this is kinda slow alot of math/loops in this function
//iView._41,iView._42,iView._43
Just make one... or rip one from another game... it works fine tho i preferred a W2S made for the game Hunter by someone on UC forum
What is Engine drawing? I've always wonderd
finding how the game draws and using it. I havent found it in CA(i may have but crashes)I rarely work on this game only when im super bored.I havent even updated yet. For CF and CA i hook engine drawing for my hooks but atm im using my own text for ca for cf i use engine everything reallly "Client Hook" post in the thread on uc where you can hook at.
start3d,end3d,flipscreen ,clearscreen etc..
This thread is closed for replies.
Similar Threads
Combat Arms Hack Coding / Programming / Source CodeThe Enemy Player Pointer Address 39 Combat Arms EU Hack Coding/Source CodeEnemy Player Pointer Adress
4 C++/C ProgrammingBase player pointer?!?!?
2 C++/C Programming[Cube2] player pointers
9 Combat Arms Hack Coding / Programming / Source CodeCA Player pointer
33



