How To Make Warrock Hacks
|
|
| DO NOT TRY THIS AT HOME : Our text files and message bases are for INFORMATIONAL PURPOSES ONLY. DO NOT undertake any project based upon any information obtained from this or any other web site.We are not responsible for, nor do we assume any liability for, damages resulting from the use of any information on this site. |
|
|
|
(69 votes) Published: Jun 21, 2007 1:01 p.m. In 2 Favorites Lists Viewed 2468 times |
Well hi, basically im going to teach you how to make warrock hacks (online FPS) and dont flame, just because you hate the game..
Requirements
Visual Basic 5/6 - Click here to download
Open VB, choose standard EXE and press "open".
On the Forms window press right click and choose "Add" -> "Module" then press "Open".
Now copy this long code into the module window:
Quote: Public Const PROCESS_ALL_ACCESS = &H1F0FFF
Dim f1holder As Integer
Dim timer_pos As Long
’API Declaration
Public Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hwnd As Long, lpdwProcessId As Long) As Long
Public Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Public Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Public Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long
Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal Classname As String, ByVal WindowName As String) As Long
Public Declare Function GetKeyPress Lib "user32" Alias "GetAsyncKeyState" (ByVal key As Long) As Integer
Public Declare Function ReadProcessMem Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, ByRef lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Public Function WriteAByte(gamewindowtext As String, address As Long, value As Byte)
Dim hwnd As Long
Dim pid As Long
Dim phandle As Long
hwnd = FindWindow(vbNullString, gamewindowtext)
If (hwnd = 0) Then
MsgBox "The Game Is Not Working", vbCritical, "Error"
End
Exit Function
End If
GetWindowThreadProcessId hwnd, pid
phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can’t get ProcessId", vbCritical, "Error"
Exit Function
End If
WriteProcessMemory phandle, address, value, 1, 0&
CloseHandle hProcess
End Function
Public Function WriteAnInt(gamewindowtext As String, address As Long, value As Integer)
Dim hwnd As Long
Dim pid As Long
Dim phandle As Long
hwnd = FindWindow(vbNullString, gamewindowtext)
If (hwnd = 0) Then
MsgBox "The Game Is Not Working", vbCritical, "Error"
End
End If
GetWindowThreadProcessId hwnd, pid
phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can’t get ProcessId", vbCritical, "Error"
Exit Function
End If
WriteProcessMemory phandle, address, value, 2, 0&
CloseHandle hProcess
End Function
Public Function WriteALong(gamewindowtext As String, address As Long, value As Long)
Dim hwnd As Long
Dim pid As Long
Dim phandle As Long
hwnd = FindWindow(vbNullString, gamewindowtext)
If (hwnd = 0) Then
MsgBox "The Game Is Not Working", vbCritical, "Error"
End
Exit Function
End If
GetWindowThreadProcessId hwnd, pid
phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can’t get ProcessId", vbCritical, "Error"
Exit Function
End If
WriteProcessMemory phandle, address, value, 4, 0&
CloseHandle hProcess
End Function
Public Function ReadAByte(gamewindowtext As String, address As Long, valbuffer As Byte)
Dim hwnd As Long
Dim pid As Long
Dim phandle As Long
hwnd = FindWindow(vbNullString, gamewindowtext)
If (hwnd = 0) Then
MsgBox "The Game Is Not Working", vbCritical, "Error"
End
Exit Function
End If
GetWindowThreadProcessId hwnd, pid
phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can’t get ProcessId", vbCritical, "Error"
Exit Function
End If
ReadProcessMem phandle, address, valbuffer, 1, 0&
CloseHandle hProcess
End Function
Public Function ReadAnInt(gamewindowtext As String, address As Long, valbuffer As Integer)
Dim hwnd As Long
Dim pid As Long
Dim phandle As Long
hwnd = FindWindow(vbNullString, gamewindowtext)
If (hwnd = 0) Then
MsgBox "The Game Is Not Working", vbCritical, "Error"
End
Exit Function
End If
GetWindowThreadProcessId hwnd, pid
phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can’t get ProcessId", vbCritical, "Error"
Exit Function
End If
ReadProcessMem phandle, address, valbuffer, 2, 0&
CloseHandle hProcess
End Function
Public Function ReadALong(gamewindowtext As String, address As Long, valbuffer As Long)
Dim hwnd As Long
Dim pid As Long
Dim phandle As Long
hwnd = FindWindow(vbNullString, gamewindowtext)
If (hwnd = 0) Then
MsgBox "The Game Is Not Working", vbCritical, "Error"
End
Exit Function
End If
GetWindowThreadProcessId hwnd, pid
phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can’t get ProcessId", vbCritical, "Error"
Exit Function
End If
ReadProcessMem phandle, address, valbuffer, 4, 0&
CloseHandle hProcess
End Function
(This code is an API statement that allowing the VB to edit memory addresses)
After you copied it close the Module window.
Writing new value
Now take the control "CommandButton" from the General tab.
Make a button in the middle of the form it will called Command1.
Double click on it and write this code:
Quote: Call WriteALong("WarRock", &H926134, 1)
Close the window.
Now you can run the software with the "Start" button that look like "Play" that placed above. You will see your form with the button and when you will press on the button, GPS will be active until u will get detected. (Try it with noob account)
If you want turn off button make new button and the value to 0 in stand of 1.
Reading address value
Now if we want to see what value some address contain you need to read it and then decide how to use the value.
For exmple we will take the Stamina address 007D9120.
Make another button the name will be "Command2".
From General tab take "TextBox" and make a textbox on your form next to the Command2 button, it will be "Text1".
Double click on Command2 and write:
Quote: Dim Value1 As Long
Call ReadALong("WarRock", &H7D9120, Value1)
Text1.Text = Value1
This code will take the 007D9120 value and will put it into "Value1" that we state him with "Dim" and then "Text1" will get the "Value1" value, so we will see it on screen.
Run the program and you will see that when your stamina is full the value is 1120403456, so we will need to freeze this value in order to get Unlimited Stamina.
Part Two – freeze an address.
In this part we will learn how to freeze the Stamina address.
First we will need a timer that will freeze the address.
Get the "Timer" control from the General tab and add it to your form it will call "Timer1".
Now make 2 other buttons in one of them double click and write:
Quote: Timer1.Interval = 1
Double click on Timer1 and write:
Quote: Call WriteALong("WarRock", &H7D9120, 1120403456)
Now run the program and when you will press on the first button the Stamina will freeze and when you will press on the second button the stamina will back to normal. |
|
|

 | Jun 21, 2007 1:15 pm - No Rating What the fuck does this do? |

 | un 21, 2007 1:19 pm - umm, yeah, what DOES this DO? |

 | Jun 21, 2007 1:43 pm - It clearly gives you full stamina. Z0mgz0rs...ness.
Good egg... I’m not going to vote because I hate people who use "hacks" in games. |

 | Jun 21, 2007 3:42 pm - 0*’s. The game is good but the hackers ruin it. Dont play if you need to cheat. |

 | Jun 21, 2007 4:39 pm - Hacking online games are for basement dwellers. 0* |

 | Jun 22, 2007 7:38 am - wow some of you guys are so stupid, and i dont hack to ruin the game, i hack because i know how to.. i said dont vote down if you dont like the game, or if you dont hack, your meant to vote weather the egg is informative or not, fucking jew.. | |
|
|
|