D3D logger

Posts 1–5 of 5 · Page 1 of 1
D3D logger
Can someone pass me the D3D logger to create a wallhack for PB?
If you can't find any at Coding section, then there's no "logger" available here.
create wallhack with stride number
Stride PB = 44

WallHack :
Code:
IDirect3DVertexBuffer9* pStreamData;
UINT OffsetInBytes, Stride;

HRESULT WINAPI hkDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE PrimType,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount)
{
	__asm nop

	HRESULT hRet = oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);

	pDevice->GetStreamSource(0, &pStreamData, &OffsetInBytes, &Stride);

	if(iStride == 44)
	 {
		if(iWallhack)
		{
			pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
		}	
	}

	return hRet;
}
Quote Originally Posted by Fix2 View Post
Stride PB = 44

WallHack :
Code:
IDirect3DVertexBuffer9* pStreamData;
UINT OffsetInBytes, Stride;

HRESULT WINAPI hkDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE PrimType,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount)
{
	__asm nop

	HRESULT hRet = oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);

	pDevice->GetStreamSource(0, &pStreamData, &OffsetInBytes, &Stride);

	if(iStride == 44)
	 {
		if(iWallhack)
		{
			pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
		}	
	}

	return hRet;
}
wireframe : if(m_Stride == 36 || 32)
chams head : if((m_Stride == 0x24))
no smoke : if(( m_Stride == 24 && nNumVertices == 256 ||(m_Stride == 24 && nNumVertices == 192)))
traces : if((m_Stride == 24))
wall hack asus : if((m_Stride == 40))
wall hack player : if((m_Stride == 52 || m_Stride == 44))
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us