bigfoot
02-07-2008, 10:08 PM
aight this is my first hack in VB6, and well....I haven't used VB6 since....like a year, and I was wondering why this doesn't work =/
Private Sub Command1_Click()
End Sub
Private Sub NFDOFF_Click()
timerNFD.Enabled = False
End Sub
Private Sub NFDON_Click()
timerNFD.Enabled = True
End Sub
Private Sub SJoff_Click()
timerSJ.Enabled = True
End Sub
Private Sub SJon_Click()
timerSJ.Enabled = True
End Sub
Private Sub Timer3_Timer()
If GetKeyPress(vbKeySpace) Then
If SJon.Interval = 0 Then SJon.Interval = 1
Else: SJon.Interval = 0
End If
End Sub
Private Sub timerSJ_Timer()
Dim NFD As Long
Dim NFD1 As Long
Call ReadALong("Warrock", &H1332A20, NFD)
NFD1 = NFD + &H260
Call WriteAFloat("Warrock", NFD1, -2000)
End Sub
Private Sub Timer2_Timer()
End Sub
Private Sub SJon_Timer()
Dim SuperJump As Long
Dim SuperJump1 As Long
Call ReadALong("Warrock", &H1332A20, SuperJump)
SuperJump1 = SuperJump + &H178
Call WriteAFloat("Warrock", SuperJump1, 500)
End Sub
bigfoot
02-07-2008, 10:17 PM
lmao, no really? I've already tested it and know it doesn't.
virus7799
02-08-2008, 11:00 AM
aight this is my first hack in VB6, and well....I haven't used VB6 since....like a year, and I was wondering why this doesn't work =/
Private Sub Command1_Click()
End Sub
Private Sub NFDOFF_Click()
timerNFD.Enabled = False
End Sub
Private Sub NFDON_Click()
timerNFD.Enabled = True
End Sub
Private Sub SJoff_Click()
timerSJ.Enabled = True
End Sub
Private Sub SJon_Click()
timerSJ.Enabled = True
End Sub
Private Sub Timer3_Timer()
If GetKeyPress(vbKeySpace) Then
If SJon.Interval = 0 Then SJon.Interval = 1
Else: SJon.Interval = 0
End If
End Sub
Private Sub Timer2_Timer()Private Sub timerSJ_Timer()
Dim NFD As Long
Dim NFD1 As Long
Call ReadALong("Warrock", &H1332A20, NFD)
NFD1 = NFD + &H260
Call WriteAFloat("Warrock", NFD1, -2000)
End Sub
End Sub
Private Sub SJon_Timer()
Dim SuperJump As Long
Dim SuperJump1 As Long
Call ReadALong("Warrock", &H1332A20, SuperJump)
SuperJump1 = SuperJump + &H178
Call WriteAFloat("Warrock", SuperJump1, 500)
End Sub
For superjump try this hotkey: (Update the addresses)
Private Sub Timer1_Timer()
If GetASyncKey(vbKeyZ) Then
Dim SuperJump As Long
Dim SuperJump1 As Long
Dim SuperJump2 As Single
Call ReadAlong("WarRock", &H1306A70, SuperJump)
SuperJump= SuperJump + &H178
SuperJump2 = Text1.Text
Call WriteAFloat("WarRock", SuperJump1, SuperJump2)
End If
End Sub
For No Fall Damage make sure you match the buttons with the timers. So if your NFD is in Timer2, then in your button you would enable Timer2.
So this is how it would look for NFD: (Remember to update the adresses)
Private Sub Timer2_Timer()
Dim NFD As Long
Dim NFD1 As Long
Call ReadALong("Warrock", &H1332A20, NFD)
NFD1 = NFD + &H260
Call WriteAFloat("Warrock", NFD1, -2000)
End Sub
Private Sub Command1_Click()
Timer2.Enabled = True
End Sub
Private Sub Command2_Click()
Timer2.Enabled = False
End Sub
Make sure you right click on Timer2, then hit properties and set Interval to 1.
Any problems, post em here.
Hammer
02-08-2008, 11:04 AM
Yeah man, its probably the outdated adresses.
bigfoot
02-08-2008, 06:02 PM
Yeah man, its probably the outdated adresses.
that could have been it >.>
yea, I keep getting "The Game is Not Working" error....any help? Here's my code (no one steal it -.-)
Note: I've added some other hacks.
The hacks included are SJ, NFD, and Weapons.
Private Sub Command1_Click()
Timer1.Enabled = True
End Sub
Private Sub Command2_Click()
Timer1.Enabled = False
End Sub
Private Sub Command3_Click()
Timer1.Enabled = True
End Sub
Private Sub Command4_Click()
Timer1.Enabled = False
End Sub
Private Sub Command5_Click()
If Text1.Text > 72 Then
Text1.Text = "42"
End If
Dim Shotgun1 As Long
Dim Shotgun2 As Long
Call ReadALong("WarRock", &H1332A20, Shotgun1)
Shotgun2 = Shotgun1 + &H4C
Call WriteAFloat("WarRock", Shotgun1, Text1.Text)
End Sub
Private Sub Timer1_Timer()
If GetASyncKey(vbKeyZ) Then
Dim SuperJump As Long
Dim SuperJump1 As Long
Dim SuperJump2 As Single
Call ReadALong("WarRock", &H1332A20, SuperJump)
SuperJump = SuperJump + &H178
SuperJump2 = Text2.Text
Call WriteAFloat("WarRock", SuperJump1, SuperJump2)
End If
End Sub
Private Sub Timer2_Timer()
Dim NFD As Long
Dim NFD1 As Long
Call ReadALong("WarRock", &H1332A20, NFD)
NFD1 = NFD + &H260
Call WriteAFloat("WarRock", NFD1, -2000)
End Sub
virus7799
02-08-2008, 10:35 PM
yea, I keep getting "The Game is Not Working" error....any help? Here's my code (no one steal it -.-)
Note: I've added some other hacks.
The hacks included are SJ, NFD, and Weapons.
Private Sub Command1_Click()
Timer1.Enabled = True
End Sub
Private Sub Command2_Click()
Timer1.Enabled = False
End Sub
Private Sub Command3_Click()
Timer1.Enabled = True
End Sub
Private Sub Command4_Click()
Timer1.Enabled = False
End Sub
Private Sub Command5_Click()
If Text1.Text > 72 Then
Text1.Text = "42"
End If
Dim Shotgun1 As Long
Dim Shotgun2 As Long
Call ReadALong("WarRock", &H1332A20, Shotgun1)
Shotgun2 = Shotgun1 + &H4C
Call WriteAFloat("WarRock", Shotgun1, Text1.Text)
End Sub
Private Sub Timer1_Timer()
If GetASyncKey(vbKeyZ) Then
Dim SuperJump As Long
Dim SuperJump1 As Long
Dim SuperJump2 As Single
Call ReadALong("WarRock", &H1332A20, SuperJump)
SuperJump = SuperJump + &H178
SuperJump2 = Text2.Text
Call WriteAFloat("WarRock", SuperJump1, SuperJump2)
End If
End Sub
Private Sub Timer2_Timer()
Dim NFD As Long
Dim NFD1 As Long
Call ReadALong("WarRock", &H1332A20, NFD)
NFD1 = NFD + &H260
Call WriteAFloat("WarRock", NFD1, -2000)
End Sub
Post me your Module, I'll take a look into it tommorow.
bigfoot
02-08-2008, 10:38 PM
I hope I edited the module right, I just looked at the tut, and thought this would work, idk for sure tho =/
Public Const PROCESS_ALL_ACCESS = &H1F0FFF
Dim f1holder As Integer
Dim timer_pos As Long
'API Declaration
Public Declare Function PenWad Lib "user32" Alias "GetWindowThreadProcessId" (ByVal hWnd As Long, lpdwProcessId As Long) As Long
Public Declare Function MyGod Lib "kernel32" Alias "OpenProcess" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Public Declare Function OhEmGee Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Public Declare Function DubyaTeeEff Lib "kernel32" Alias "CloseHandle" (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
PenWad hWnd, pid
phandle = MyGod(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can't get ProcessId", vbCritical, "Error"
Exit Function
End If
OhEmGee phandle, address, value, 1, 0&
DubyaTeeEff 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
PenWad hWnd, pid
phandle = MyGod(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can't get ProcessId", vbCritical, "Error"
Exit Function
End If
OhEmGee phandle, address, value, 2, 0&
DubyaTeeEff 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
PenWad hWnd, pid
phandle = MyGod(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can't get ProcessId", vbCritical, "Error"
Exit Function
End If
OhEmGee phandle, address, value, 4, 0&
DubyaTeeEff 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
PenWad hWnd, pid
phandle = MyGod(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&
DubyaTeeEff 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
PenWad hWnd, pid
phandle = MyGod(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&
DubyaTeeEff 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
PenWad hWnd, pid
phandle = MyGod(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&
DubyaTeeEff hProcess
End Function
Public Function ReadAFloat(gamewindowtext As String, address As Long, valbuffer As Single)
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
PenWad hWnd, pid
phandle = MyGod(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&
DubyaTeeEff hProcess
End Function
Public Function WriteAFloat(gamewindowtext As String, address As Long, value As Single)
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
PenWad hWnd, pid
phandle = MyGod(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can't get ProcessId", vbCritical, "Error"
Exit Function
End If
OhEmGee phandle, address, value, 4, 0&
DubyaTeeEff hProcess
End Function
bigfoot
02-09-2008, 02:31 PM
yea dude u need hella new addreses
I used the new addresses
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.