Some D3D Features

Posts 1–14 of 14 · Page 1 of 1
Some D3D Features
Hey guys,
Here are some D3D codes (use them in DIP)
Enjoy!

Strides:
Code:
36 = Weapon
24 = Map
28 = Sky - walls
44 = Body
40 = Head
In Globals:
Code:
LPDIRECT3DTEXTURE9 Red,Yellow,Green,Blue,Purple,Pink,Orange,White,Black;
(myDIP = name of my hook)
Code:
void myDIP(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount)
{
IDirect3DVertexBuffer9* pStreamData = NULL;
UINT iOffsetInBytes,iStride;
pDevice->GetStreamSource(0,&pStreamData,&iOffsetInBytes,&iStride);
Wallhack:
Code:
if ((iStride==36)||(iStride==40)||(iStride==44)) {
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE );
pDevice->SetRenderState(D3DRS_ZFUNC,   D3DCMP_NEVER);
}
No Fog:
Code:
pDevice->SetRenderState(D3DRS_FOGENABLE, false);
Fullbright:
Code:
if ((iStride==36)||(iStride==40)||(iStride==44)) {
pDevice->SetRenderState(D3DRS_LIGHTING, false); //fullbright  
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255));
}
Crosshair:
Code:
int size = 8, strong = 1;
			D3DVIEWPORT9 viewP; 
			pDevice->GetViewport( &viewP );
			int iCenterX = (viewP.Width / 2) -0;
			int iCenterY = (viewP.Height / 2)-0;
			if( iCenterX < 20 && iCenterY < 20 )
			{
				iCenterX = ( GetSystemMetrics( 0 ) / 2 );
				iCenterY = ( GetSystemMetrics( 1 ) / 2 );
			}
			D3DRECT rec2 = { iCenterX- size, iCenterY, iCenterX+ size, iCenterY+ strong};
			D3DRECT rec3 = { iCenterX, iCenterY- size, iCenterX+ strong,iCenterY+ size};
			pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,255,0,0), 0,  0);
			pDevice->Clear(1, &rec3, D3DCLEAR_TARGET, D3DCOLOR_ARGB(225,255,0,0), 0,  0);
		}
Player Wireframe:
Code:
if ((iStride==36)||(iStride==40)||(iStride==44)) {
pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );
}
World Wireframe:
Code:
if ((iStride==24)||(iStride==28)) {
pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );
}
C4 Wallhack: (Thanks to @Brimir)
Code:
if(iStride==32 && NumVertices == 448 ) {
}
Asus Wallhack:
Code:
if )(iStride==28)) {
pDevice->SetRenderState( D3DRS_SRCBLEND, 3 );
pDevice->SetRenderState( D3DRS_DESTBLEND, 4 );
pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
}
X-ray:
Code:
if ((iStride==28)) {
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
}
pls remove the source or got the patched faster and many leecher post and dont give crediz
Quote Originally Posted by [G]a[M]e[R] View Post
pls remove the source or got the patched faster and many leecher post and dont give crediz
They need a hook..
i know but the hook can all google it and -.- patched ...
what is the c4 wallhack?
Quote Originally Posted by heshmesh View Post
what is the c4 wallhack?
you can see the C4 trough walls
Quote Originally Posted by [G]a[M]e[R] View Post
you can see the C4 trough walls
lol that is kinda wierd and new!

---------- Post added at 06:12 PM ---------- Previous post was at 06:10 PM ----------

Quote Originally Posted by [G]a[M]e[R] View Post
you can see the C4 trough walls
why there isnt put c4 in walls LOL
search the Thread and look the pic
Wallhack working too so:

Code:
 if (  iStride == 44 &&Waller==1)
  {
		pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
  }
Quote Originally Posted by CFhackerfree View Post
Wallhack working too so:

Code:
 if (  iStride == 44 &&Waller==1)
  {
		pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
  }
Ok, thanks for info
Nice...thx @Swag....so what kind of hook do i need?? midfunction?

---------- Post added at 06:36 PM ---------- Previous post was at 06:35 PM ----------

Quote Originally Posted by heshmesh View Post
what is the c4 wallhack?
when some 1 plants C4 in S&D...U dont have to search for it...u just look at walls and u find it./..
Quote Originally Posted by Assassin's Creed View Post
Nice...thx @Swag....so what kind of hook do i need?? midfunction?

---------- Post added at 06:36 PM ---------- Previous post was at 06:35 PM ----------


when some 1 plants C4 in S&D...U dont have to search for it...u just look at walls and u find it./..
You need a midfunction hook for dip

---------- Post added at 07:33 AM ---------- Previous post was at 07:32 AM ----------

Quote Originally Posted by rlenskens View Post
Soryy als ik 'off-topic' ben ofzo, maar heb jij op het moment een werkende hack, @Swag ?

(yes, that is dutch)
Yes, but u don't release because i'm busy
Soryy als ik 'off-topic' ben ofzo, maar heb jij op het moment een werkende hack, @Swag ?

(yes, that is dutch)
you need a pointer for DIP
and Hook
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us