CodeBlack
Posts : 75 Post/Message Points : 175 Thanks : 26 Join date : 2012-12-01
| Subject: How to make the standard D3D wallhack Tue Dec 18, 2012 9:50 am | |
| How to make the standard D3D wallhack 1:First u need to download a compliler 2:Download the newest directx sdk from microsoft 3:Setup your compiler link all the apropriate stuff 4:Download AZorbix's d3d starter kit 5:Start a new project , win32 dll,select empty dll 6:Open up your work spce click on file view and open up the tree 7:Add all the source files and header files from azorbix base 8:Open up d3d9dev.cpp 9:Declare int m_stride= # //#=u need to find the stride number 10:Scroll to setstreamsource put this - Code:
-
if (StreamNumber==0)
{
m_Stride = Stride;
}
return m_pD3Ddev->SetStreamSource(StreamNumber, pStreamData,OffsetInBytes, Stride);
} 9) search for drawindexprimitive and put - Code:
-
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); 10) Compile your project it will be in the specified folder you declared 11) Y ou created your first d3d wall hack its a simple as that Finding the stride number Download attached files Inject a proper DLL depending on what directx version game is using log stride numbers - for DirectX8Logger.rar - for D3D9_Model_Logger.rar - 27% detect result because of AutoInject.exe, you can use your own injector Download DirectX8Logger : UPDATING # Download D3D9_logger : Updating # |
|