![]() |
| |||||||
| Home | GzP Upload | GzP Arcade | Register | vbBux / vbPlaza | All Albums | FAQ | Donate | Members List | Calendar | Mark Forums Read |
| WarRock Discuss anything about WarRock. |
![]() |
| | Thread Tools | Display Modes |
| | #1 |
| Registered User | How to make a Wall hack Ok . So first The Things We Need : Microsoft Visual C+ Expres 7 [Only registered and activated users can see links. ] DirectX 9c SDK [Only registered and activated users can see links. ] AZorbix's d3d starter kit [Only registered and activated users can see links. ] Suer now that you have all these we can go start . First install DirectX SDK this will enable us to see decrypted code of DirectX and edit it . Ok now Extract AZorbix d3d9 starter kit and run program Microsoft Visual C++ and select New Project and in name type : WallHack In side bar : Headers map add all headers that are included in d3d9 starter pack and do same for source files . Now open d3d9dev.cpp and lets make a wall hack . Now first we which to declare an function var() Interval so go on top of the file and copy in : CODE int m_stride= #//#= 0 this will tell DirectX to shut Down InDepth DirectX Drawing . Now when we made our textures Transparent we need to Recude InDepth of 3D Models as well so we need to make an If statement to run a Stream Line So just bellow the previous code insert the code for wall hack . CODE if (StreamNumber==0) { m_Stride = Stride; } return m_pD3Ddev->SetStreamSource(StreamNumber, pStreamData,OffsetInBytes, Stride); } We have just declared the state of action we wish to inject . But to make that code active and functional we need to insert guide lines : So bellow the previous Code Insert This : 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); Now we need to process the Injection In which file do we wish to inject the Code So : CODE if (#inject) = sequence // PTM { Library.dll = d3d9.dll // #inject portion Dev = AMP = WarRock.exe state declare #injection = 1 } Now Go on tools press Build Solution . Wait till its built and then go Tools and Compile . When the d3d9.dll is compiled you can go test it . C://Windows/System32/d3d9.dll ( delete old one and back it up somewhere and paste new one ) Run WarRock and the Hack will be allways on . But we need to fix that . Put the old d3d9.dll back in and lets go make a program for Injection . Start Microsoft Visual C++ and go New Project name it Injector . In side bar press ADD > d3d9.dl (the one we made) and press Open Now you will see a Form a Window That you can resize make it bit smaller than it allrdy . Edit its Properties the wish name it from Form1 to WallHack or something chose and icon itd background text and so on . Now Open ToolBox and press ADD button and click once on Form to add it . Now rename the text in button to Inject and chose button type as Dynamic and under section type ON and OFF . Now double click the button you just made and copy in this code : CODE void XQZwh(IDirect3DDevice9* device, LPDIRECT3DTEXTURE9 tex1, LPDIRECT3DTEXTURE9 tex2, D3DPRIMITIVETYPE Type,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount) { DWORD dwOldZEnable; device->SetTexture(0,NULL); device->SetTexture(0,tex1); device->GetRenderState(D3DRS_ZENABLE,&dwOldZEnable); device->SetRenderState(D3DRS_ZENABLE,D3DZB_FALSE); device->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER); device->DrawIndexedPrimitive(Type,BaseVertexIndex,MinVert exIndex,NumVertices,startIndex,primCount); device->SetRenderState(D3DRS_ZENABLE,dwOldZEnable); device->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL); device->SetTexture(0,tex2); } and now when you press The button its gonna inject the dll and say hack is ON and when you click it again its gonna reject the hack and say hack is OFF . Now we need to add another source file so in Side Bar press add > New Item and chose .cpp form and when you open it first declare this : CODE ///WarRock Wall Hack if (NumVertices == number){ XQZwh(m_pD3Ddev, texOrange, texTur, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount); return m_pD3Ddev->DrawIndexedPrimitive(Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount); } Now go Tools > Build Solution : and now go Tools Again and chose Compile . Congrats you just made your own wall hack for wr . Now go MyDocuments/Microsoft Visual Studio/Project/ how u named you project folder/compiled/and in there will be a read me and a working .exe file if you done everything right . Now all you need is to make a by pass for PB and use you wall hack all you want i guess it would work whit out bypass two but u wouldn't be that secure . This is my last tutorial for now >.> peace |
| |
| The Following 6 Users Say Thank You to Icefalcon2 For This Useful Post: | footballstarter06 (11-20-2007), homidafoice (03-03-2007), hot7816 (01-01-2008), jaap (02-28-2007), jordonkk (02-27-2007), tanandthun (10-03-2007) |
| Sponsored Links |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |