GamerzPlanet - For All Your Online Gaming Needs!!

Go Back   GamerzPlanet - For All Your Online Gaming Needs!! > Online Gaming > WarRock

WarRock Discuss anything about WarRock.



How to make a Wall hack

WarRock


Closed Thread
 
Thread Tools Display Modes
Old 02-27-2007, 09:26 AM   #1
Registered User
 
Last Online: 07-12-2008 10:22 AM
Join Date: Feb 2007
Age: 14
Posts: 48
Thanks: 4
Thanked 15 Times in 4 Posts
Icefalcon2 is on a distinguished road
iTrader: 0 / 0%
Points: 1,935.00
Bank: 0.00
Total Points: 1,935.00
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
Icefalcon2 is offline  
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
Old 03-02-2007, 07:51 PM   #2
Registered User
 
Last Online: 08-13-2008 02:15 AM
Join Date: Feb 2007
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
NightGhost is on a distinguished road
iTrader: 0 / 0%
Points: 1,789.03
Bank: 0.00
Total Points: 1,789.03
Re: How to make a Wall hack

Nice tut :p but i think warrock is d3d8
NightGhost is offline  
Old 03-04-2007, 05:37 PM   #3
Lurker
 
Last Online: 04-06-2007 10:39 PM
Join Date: Mar 2007
Age: 20
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
thehammer is on a distinguished road
iTrader: 0 / 0%
Points: 0.00
Bank: 0.00
Total Points: 0
Re: How to make a Wall hack

cans someone upload one?
thehammer is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 05:54 PM.


Powered by: vBulletin
Copyright ©2008, GamerzPlanet.Net
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Network: GamerzPlanet | ForumzPlanet | GzPUpload | GzPArcade | GzP Host | Australian Poker | Watch Desperate Housewives | Visits: