Results 1 to 6 of 6
  1. #1
    ltkort213's Avatar
    Join Date
    May 2007
    Gender
    male
    Location
    I live in my own pc and, I hack in my pc!
    Posts
    203
    Reputation
    11
    Thanks
    16
    My Mood
    Stressed

    Question Superjump VB6 code?

    Yo guys,

    please help me, I am making a hack, but I have adresses and that kind of things. And all hacks work, but when I use super jump, I come under the level! What did I do wrong Please help me! This is my superjump VB6 code:

    Code:
    Private Sub timer2_timer()
    Dim Superjump As Long
    Dim Superjump1 As Long
    Call ReadALong("Warrock", &H896E28, Superjump)
    Superjump1 = Superjump + &H180
    Call WriteALong("Warrock", Superjump1, 2500)
    End Sub
    Greetings LTKort213.
    Srry for Bad English, I am Dutch!




    Help me raise my Habamon!

  2. #2
    dikkind's Avatar
    Join Date
    Jun 2007
    Posts
    22
    Reputation
    10
    Thanks
    0
    Ive got the same problem it works only in emblem.. :S

  3. #3
    kingkicker8's Avatar
    Join Date
    Jun 2007
    Posts
    88
    Reputation
    10
    Thanks
    1
    this should work:

    Dim jump As Long
    Dim jump1 As Long
    Dim jump3 As Single
    Call ReadALong("WarRock", &H896E28, jump)
    jump1 = jump + &H180
    jump3 = Text2.Text
    Call WriteAFloat("WarRock", jump1, jump3)

  4. #4
    ZeaS's Avatar
    Join Date
    Feb 2007
    Posts
    738
    Reputation
    15
    Thanks
    265
    i made it with hotkey ^^ and with text... so you can switch the high....

    Private Sub Timer4_Timer()
    If GetKeyPress(vbKeyControl) And GetKeyPress(vbKeySpace) Then
    Dim Superjump As Long
    Dim Superjump1 As Long
    Dim Superjump2 As Single
    Call ReadALong("WarRock", &H896E28, Superjump)
    Superjump1 = Superjump + &H180
    Superjump2 = Text1.Text
    Call WriteAFloat("WarRock", Superjump1, Superjump2)

    End If
    End Sub

  5. #5
    dezer's Avatar
    Join Date
    Nov 2006
    Gender
    male
    Posts
    285
    Reputation
    12
    Thanks
    4
    My Mood
    Aggressive
    without including readafloat and writeafloat functions in module those codes wont work
    so add this to ur module:
    Code:
    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
        
        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
    
    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
    
        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
    Quote Originally Posted by killerofsake987 View Post
    wuts search button
    owned

  6. #6
    ltkort213's Avatar
    Join Date
    May 2007
    Gender
    male
    Location
    I live in my own pc and, I hack in my pc!
    Posts
    203
    Reputation
    11
    Thanks
    16
    My Mood
    Stressed
    OK guys thats cool thnx
    Srry for Bad English, I am Dutch!




    Help me raise my Habamon!

Similar Threads

  1. Superjump Macro Codes
    By ExodusPKER in forum CrossFire Hacks & Cheats
    Replies: 43
    Last Post: 10-29-2009, 04:09 AM
  2. [ Help ] VB6 Coding not working
    By ilovepie21 in forum Visual Basic Programming
    Replies: 17
    Last Post: 03-28-2008, 10:22 PM
  3. Awsome VB6 code includes invis
    By llvengancell in forum WarRock - International Hacks
    Replies: 2
    Last Post: 09-24-2007, 09:54 AM
  4. Something is wrong! :S -- Problem with VB6 code
    By Darky in forum WarRock - International Hacks
    Replies: 13
    Last Post: 07-25-2007, 11:52 PM
  5. need help plz vb6 codeing fast registration
    By cjg333 in forum WarRock - International Hacks
    Replies: 3
    Last Post: 07-05-2007, 06:38 AM