D3D Hack erstellen Hilfe

01/01/2011 22:03 kilgut12#1
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
01/01/2011 22:11 xxfabbelxx#2
Bau dir erstma selbst ne Base auf...
01/01/2011 22:11 .Minecraft™#3
also ehen
1. kauf dir ein gutes Buch über C++ zB C++ von A bis Z
2.Versuch die Sprache zu verstehen
3.bau ne base
4. fang an zu coden ;D
ps reported
01/02/2011 00:04 kilgut12#4
was ist ein base?
01/02/2011 00:06 _HouseMusicx3#5
Quote:
Originally Posted by kilgut12 View Post
was ist ein base?
Wenn du das schon nicht weisst dann solltest du mit no menue anfangen.

oder garnicht weiter drüber nachdenken
01/02/2011 00:49 joki4444#6
Ich habe eine base aber ich schaffe es nciht D3D funktionen einzubauen *-_-
also sie crashen nicht etc sie funktionieren einfach nur nciht
01/02/2011 00:52 _Marcel_#7
Quote:
Originally Posted by joki4444 View Post
Ich habe eine base aber ich schaffe es nciht D3D funktionen einzubauen *-_-
also sie crashen nicht etc sie funktionieren einfach nur nciht
Schon ne D3D Hook gemacht?
Btw, welche VC++ Version haste? haste Dx SDK?
01/02/2011 00:58 joki4444#8
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
01/02/2011 01:02 _Marcel_#9
Quote:
Originally Posted by joki4444 View Post
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
Du musst die D3D hooken, und somit die draw Funktion freischalten..
01/02/2011 01:06 joki4444#10
naja du meinst so;

Quote:
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
01/02/2011 01:15 _Marcel_#11
Quote:
Originally Posted by joki4444 View Post
naja du meinst so;



die hab cih von der KarakaBase
Das ist wie der Name sagt, auch "nur" eine Base...
Man kann das nicht einfach c&p'n. Eigeninitiative ist angesagt!
01/02/2011 01:17 joki4444#12
:D
die base ansich ist nciht von karakas
hab ne eigene mit der von church gemacht aber in der war ja nix von D3D-hooks vorhanden und in karakas schon
01/02/2011 01:21 _Marcel_#13
Quote:
Originally Posted by joki4444 View Post
:D
die base ansich ist nciht von karakas
hab ne eigene mit der von church gemacht aber in der war ja nix von D3D-hooks vorhanden und in karakas schon
Achso, sag das doch gleich ;>.

Wie gesagt, D3D EndScene ist angesagt ;D
01/02/2011 01:23 joki4444#14
mir wurde gesag das enscene nicht mehr geht aber mit rehook sollte es tgehen
01/02/2011 01:39 kilgut12#15
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
sind es menü source vom ganzen hack?