Hallo kann mir pls jemand beibringen wie man D3D hack erstellen kann pls wird auch natürlich in Credits geschrieben!
add mich in skype:kilgut
oder PN me PLS
add mich in skype:kilgut
oder PN me PLS
Du musst die D3D hooken, und somit die draw Funktion freischalten..Quote:
also ich kann den hack in warrock starten und auch ausführe :D
aber ich check das mit den D3D funktionen nicht !!
z.B Chams habe cih eig den richtigen code geschrieben und wenn cihs anmachen will passiert ncihts
die hab cih von der KarakaBaseQuote:
HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount)
{
if(pDevice->GetStreamSource(0,&StreamData,&OffsetInBytes,&m_S tride) == D3D_OK)
{
StreamData->Release();
}
DWORD dwOldZEnable = D3DZB_TRUE;
if(cHacks.cD3D.Chams)
{
if( (m_Stride == 36) || (m_Stride == 32) || (m_Stride == 44))
{
pDevice->SetRenderState(D3DRS_ZENABLE, 0);
if(cCheat.cD3D.ColorC1==0) pDevice->SetTexture(0, White);
if(cCheat.cD3D.ColorC1==1) pDevice->SetTexture(0, Red);
if(cCheat.cD3D.ColorC1==2) pDevice->SetTexture(0, Green);
if(cCheat.cD3D.ColorC1==3) pDevice->SetTexture(0, Blue);
if(cCheat.cD3D.ColorC1==4) pDevice->SetTexture(0, Black);
if(cCheat.cD3D.ColorC1==5) pDevice->SetTexture(0, Purple);
if(cCheat.cD3D.ColorC1==6) pDevice->SetTexture(0, Grey);
if(cCheat.cD3D.ColorC1==7) pDevice->SetTexture(0, Yellow);
if(cCheat.cD3D.ColorC1==8) pDevice->SetTexture(0, Orange);
pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, 1);
if(cCheat.cD3D.ColorC2==0) pDevice->SetTexture(0, White);
if(cCheat.cD3D.ColorC2==1) pDevice->SetTexture(0, Red);
if(cCheat.cD3D.ColorC2==2) pDevice->SetTexture(0, Green);
if(cCheat.cD3D.ColorC2==3) pDevice->SetTexture(0, Blue);
if(cCheat.cD3D.ColorC2==4) pDevice->SetTexture(0, Black);
if(cCheat.cD3D.ColorC2==5) pDevice->SetTexture(0, Purple);
if(cCheat.cD3D.ColorC2==6) pDevice->SetTexture(0, Grey);
if(cCheat.cD3D.ColorC2==7) pDevice->SetTexture(0, Yellow);
if(cCheat.cD3D.ColorC2==8) pDevice->SetTexture(0, Orange);
}
}
if(cHacks.cD3D.CH_Wallhack)
{
if( (m_Stride == 36) || (m_Stride == 32) || (m_Stride == 44) )
{
pDevice->SetRenderState(D3DRS_ZENABLE, 0);
pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, 1);
}
}
if(cHacks.cD3D.ColorWand)
{
if( (m_Stride == 40) )
{
if(cCheat.cD3D.ColorWand==1) pDevice->SetTexture(0, White);
if(cCheat.cD3D.ColorWand==2) pDevice->SetTexture(0, Red);
if(cCheat.cD3D.ColorWand==3) pDevice->SetTexture(0, Green);
if(cCheat.cD3D.ColorWand==4) pDevice->SetTexture(0, Blue);
if(cCheat.cD3D.ColorWand==5) pDevice->SetTexture(0, Black);
if(cCheat.cD3D.ColorWand==6) pDevice->SetTexture(0, Purple);
if(cCheat.cD3D.ColorWand==7) pDevice->SetTexture(0, Grey);
if(cCheat.cD3D.ColorWand==8) pDevice->SetTexture(0, Yellow);
if(cCheat.cD3D.ColorWand==9) pDevice->SetTexture(0, Orange);
}
}
return pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
}
sind es menü source vom ganzen hack?Quote:
naja du meinst so;
Zitat:
HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount)
{
if(pDevice->GetStreamSource(0,&StreamData,&OffsetInBytes,&m _S tride) == D3D_OK)
{
StreamData->Release();
}
DWORD dwOldZEnable = D3DZB_TRUE;
if(cHacks.cD3D.Chams)
{
if( (m_Stride == 36) || (m_Stride == 32) || (m_Stride == 44))
{
pDevice->SetRenderState(D3DRS_ZENABLE, 0);
if(cCheat.cD3D.ColorC1==0) pDevice->SetTexture(0, White);
if(cCheat.cD3D.ColorC1==1) pDevice->SetTexture(0, Red);
if(cCheat.cD3D.ColorC1==2) pDevice->SetTexture(0, Green);
if(cCheat.cD3D.ColorC1==3) pDevice->SetTexture(0, Blue);
if(cCheat.cD3D.ColorC1==4) pDevice->SetTexture(0, Black);
if(cCheat.cD3D.ColorC1==5) pDevice->SetTexture(0, Purple);
if(cCheat.cD3D.ColorC1==6) pDevice->SetTexture(0, Grey);
if(cCheat.cD3D.ColorC1==7) pDevice->SetTexture(0, Yellow);
if(cCheat.cD3D.ColorC1==8) pDevice->SetTexture(0, Orange);
pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, 1);
if(cCheat.cD3D.ColorC2==0) pDevice->SetTexture(0, White);
if(cCheat.cD3D.ColorC2==1) pDevice->SetTexture(0, Red);
if(cCheat.cD3D.ColorC2==2) pDevice->SetTexture(0, Green);
if(cCheat.cD3D.ColorC2==3) pDevice->SetTexture(0, Blue);
if(cCheat.cD3D.ColorC2==4) pDevice->SetTexture(0, Black);
if(cCheat.cD3D.ColorC2==5) pDevice->SetTexture(0, Purple);
if(cCheat.cD3D.ColorC2==6) pDevice->SetTexture(0, Grey);
if(cCheat.cD3D.ColorC2==7) pDevice->SetTexture(0, Yellow);
if(cCheat.cD3D.ColorC2==8) pDevice->SetTexture(0, Orange);
}
}
if(cHacks.cD3D.CH_Wallhack)
{
if( (m_Stride == 36) || (m_Stride == 32) || (m_Stride == 44) )
{
pDevice->SetRenderState(D3DRS_ZENABLE, 0);
pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, 1);
}
}
if(cHacks.cD3D.ColorWand)
{
if( (m_Stride == 40) )
{
if(cCheat.cD3D.ColorWand==1) pDevice->SetTexture(0, White);
if(cCheat.cD3D.ColorWand==2) pDevice->SetTexture(0, Red);
if(cCheat.cD3D.ColorWand==3) pDevice->SetTexture(0, Green);
if(cCheat.cD3D.ColorWand==4) pDevice->SetTexture(0, Blue);
if(cCheat.cD3D.ColorWand==5) pDevice->SetTexture(0, Black);
if(cCheat.cD3D.ColorWand==6) pDevice->SetTexture(0, Purple);
if(cCheat.cD3D.ColorWand==7) pDevice->SetTexture(0, Grey);
if(cCheat.cD3D.ColorWand==8) pDevice->SetTexture(0, Yellow);
if(cCheat.cD3D.ColorWand==9) pDevice->SetTexture(0, Orange);
}
}
return pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
}
die hab cih von der KarakaBase