[Help]Wallhack sourcecode
Hello im new in these thing of c++ and i want to learn how to make some stuff like a wall hack i would like if someone teach me a bit of d3d and bypass (u will get a thanks for that xD)
i find a code
if (StreamNumber==0)#) //u need to find the Stream Number
{
m_Stride = Stride;
}
return m_pD3Ddev->SetStreamSource(StreamNumber, pStreamData,OffsetInBytes, Stride);
if(m_Stride == #) //#=u need to find the stride number
{
DWORD dwOldZEnable = D3DZB_TRUE;
m_pD3Ddev->GetRenderState(D3DRS_ZENABLE, &dwOldZEnable);
m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
m_pD3Ddev->DrawIndexedPrimitive(PrimitiveType, minIndex, NumVertices, startIndex, primCount);
m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, dwOldZEnable);
return m_pD3Ddev->DrawIndexedPrimitive(PrimitiveType, minIndex, NumVertices, startIndex, primCount);
but it says need the stream and stride number if someone know help me plz
obs (i found these in a wolfteam hack so idk if works)