Enemy Player Pointer

Posts 3145 of 50 · Page 3 of 4
Quote Originally Posted by HL-SDK View Post
A playerinfo linked list, oh my. This game must not have been designed by the brightest of fellows.
lol nexon is very good at not being bright

like why don't they scan for memory edits?
no one knows/
To correct you, the EPP starts with 0x377...
Quote Originally Posted by seeplusplus View Post
To correct you, the EPP starts with 0x1337...
Fixed it up buddy.
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)
Quote Originally Posted by Mr.Magicman View Post
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 ? how old is it ?
Quote Originally Posted by GodHack2 View Post
old adress ? how old is it ?
1year 1 month 1 week 1 day 1 min 1 sec 1 mil sec.
that's how old.
Its last patch old...

here is the new one:

3715D9A0 8B41 04 MOV EAX,DWORD PTR DS:[ECX+4]

(0x3715D9A0)

Quote Originally Posted by Mr.Magicman View Post
Its last patch old...

here is the new one:

3715D9A0 8B41 04 MOV EAX,DWORD PTR DS:[ECX+4]

(0x3715D9A0)

funny i got the same address when i tried to update it after you posted the old one
Quote Originally Posted by GodHack2 View Post
funny i got the same address when i tried to update it after you posted the old one
Fatboy needs alot of +rep in this... tho i was sooo close geting that one before he posted the old one
Quote Originally Posted by Mr.Magicman View Post


Fatboy needs alot of +rep in this... tho i was sooo close geting that one before he posted the old one
so now we have the class and the address
what are we waiting for ? lets go go go
get your w2s to work :P
Quote Originally Posted by GodHack2 View Post
so now we have the class and the address
what are we waiting for ? lets go go go
get your w2s to work :P
this could be optimized by only getting the viewport once unless screen resolution change or you alt tab


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;

	   }
If you want the camera coords

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
Quote Originally Posted by SNal2F View Post
this could be optimized by only getting the viewport once unless screen resolution change or you alt tab


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;

	   }
If you want the camera coords

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
FUCKING AWESOME +REP!
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
Quote Originally Posted by Mr.Magicman View Post
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..
Posts 3145 of 50 · Page 3 of 4
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?