How to code a C++ hack for warrock! I WILL GET PICTURES SOON!
Okay first of all you are going to need Visual C++ 2008 Express Edition. You can get it at the microsoft website or use google. Im not allowed to post links sorry.
First you need to open C++, then go to File>New> Project. A window should appear, click next then under "Application Type" click DLL then click finish.
Go up to Project>Add new item. Another window will appear. Click Header file and type in "addresses".
In here you need to put warrock hack addresses. You can get them off MPGH in the warrock section every time warrock updates.
These addresses are modified when warrock is open and that is how you hack it.
If you click on filenamehere.cpp then you need to type in
Code:
#include "stdafx.h"
#include "addressess.h"
These make sure that stdafx.h and addressess.h are included. Addressess.h is where your addressess are.
These are 2 addresses,the ADR stands for address. The 0x00CB11C8 and 0x00B39BE0 are the actual address. These are changed everytime warrock updates.
Type in
Code:
#define OFS_Z 0x240
The OFS stands for offset. This is an offset for the Z axis of the game. It is used for the superjump hack and No fall damage.
Go back over to the filenamehere.cpp and type in
Code:
int SuperJump = 1;
int NoFall = 1;
This declares the SuperJump and No fall(No fall damage) and tells the program that they are true/activated. The 1 means true and if it said 0 then it would mean false. So true/false would mean activated/deactivated or on/off.
We then need to type
Code:
void PlayerHacks(void)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPTR;
if(dwPlayerPtr != 0){
This defines all the functions(hacks). Under this we type all of our functions(hacks).
if(GetAsyncKeyState(VK_CONTROL) &1){ //superjump when u press ctrl
if(SuperJump){ // if you press CTRL then...
*(float*)(dwPlayerPtr+OFS_Z) = 2000.0F; // Warrock character will jump to 2000 in the Z axis (up)
}
}
The text after the "//" are comments. I wrote these to explain what happens. Under that we need to type
Code:
if (NoFall) // if no fall then
{*(float*)(dwPlayerPtr+OFS_NOFALL) = -35000.0F;} // i think you need to be damaged 35000 to be affected from falling
So far we have two hacks, SuperJump and No fall damage. Click on stdafx.h and below "#include <windows.h>" type
Code:
void PlayerHacks(void);
Click on dllmain.cpp and delete all the code and replace it with
After all of that go to File > Save all and then click Build > Build Solution.
Your hack will then appear in your visual C++ projects folder. Mine is in my documents >> Visual Studio 2008 >> Projects. Find the folder with your hack. Open it and go to debug. Right click the filenamehere.dll and go to copy. Make a new folder on your desktop named First hack. Paste the .dll file into it and then find an injector from MPGH. Put the injector in the First Hack folder and rename it to the name of your .dll file. Open the injector and run Warrock. Log in and hack! If it doesnt work then you have either coded it wrong or the addressess are out of date! I hope this works for you and if it helps then click the Thanks button and reply I may help you if i can
can you give me a tutoral ,how to make a crossfire hack??
I need this witout offset or pointers, just with the simple adress value change and freeze
wow thats a great post, FINALLY someone who doesnt assume that we all know c++ but you go step by step. babawin
Thxs Liz uhh i dunno about crossfire i have never played or hacked it sorry
EDIT: Can someone sticky this??
o sweet this is exactly what i needed to strip this other one apart. thanks a lot man now i can really get to work!
I allways get errors when i build solution. help pls
What errors are u getting
FUCK, it said 1 failed....great tut i guess....but my life sucks it will only happen with me, FUCK!!!!!!
still fucking failed....ugh i hate my life so much....
Sorry for the late reply just send me a PM of your msn address/TV or Xfire name and ill help you guys out