Thread: CSGO Bunnyhop

Results 1 to 7 of 7
  1. #1
    signal101's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    #SWAG #TYBG
    Posts
    28
    Reputation
    10
    Thanks
    74
    My Mood
    Tired

    CSGO Bunnyhop

    I am working on a vb.net bhop. I am new to vb, this is the code that I already have. It does nothing when I run it.

    I think that the error is in my rpm, but I do not know how to correct it.
    Code:
     
    Function wop()
            Dim localplayer As Integer
            Dim m_fFlags As Integer
            Dim FL_ONGROUND As Integer = 257
    
            While (Not exit_thread)
                ReadProcessMemory(gucci(0).Handle, client_dll_base + localBase_offset, localplayer, 4, 0)
                ReadProcessMemory(gucci(0).Handle, localplayer + m_fFlags_offset, m_fFlags, 4, 0)
                If GetAsyncKeyState(VK_SPACE) And m_fFlags = FL_ONGROUND Then
                    keybd_event(&H20, &H39, 0, 0)
                    System.Threading.Thread.Sleep(1)
                    keybd_event(&H20, &H39, &H2, 0)
                End If
                System.Threading.Thread.Sleep(1)
            End While
            Return False
        End Function
    Last edited by signal101; 06-03-2015 at 05:27 PM.
    Code:
    /"if you see bees you no your not to far away from water" - Lil B

  2. #2
    xGalaxy97x's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    40
    Reputation
    10
    Thanks
    3
    Why this? If GetAsyncKeyState(VK_SPACE) And m_fFlags = FL_ONGROUND Then

  3. #3
    signal101's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    #SWAG #TYBG
    Posts
    28
    Reputation
    10
    Thanks
    74
    My Mood
    Tired
    If space is held and m_flags(Should be 257 when player is on ground) is equal to 257(what m_flags should be when player is on ground)
    Jump.

  4. #4
    illusionisten's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    28
    Reputation
    10
    Thanks
    2
    My Mood
    Tired
    Quote Originally Posted by signal101 View Post
    If space is held and m_flags(Should be 257 when player is on ground) is equal to 257(what m_flags should be when player is on ground)
    Jump.
    Wrong, FL_ONGROUND is a bitflag (Const FL_ONGROUND As Byte = 1<<0), "And" should be changed to "AndAlso" but your real problem is your sleep which should be at least 15ms, why are you not just writing to memory instead? (WPM(Client.dll + ForceJump, 1 or 0))

    EDIT:
    Also you should clean up your code.
    Code:
    'If you're not gonna make a offset class, at least have them in a region
    
    #Region "Offsets"
    
    Const LocalPlayer As Integer = &H4321321 'cant remember
    Const m_fFlags As Integer = &H100
    Const ForceJump As Integer = &H2C342C 'cant remember
    
    End Region
    
    #Region "Funcs and Subs"
    
    Function GetLocalBase()
    dim Value as integer
    RPM(gucci(0), Client.dll + LocalPlayer, Value, 4 , 0)
    Return Value
    End Function
    
    Function GetFlags()
    dim Value as byte
    RPM(gucci(0), GetLocalBase() + m_fFlags, Value, 4, 0)
    Return Value
    End Function
    
    Sub WriteJump(value As Integer)
    WPM(gucci(0), Client.dll + ForceJump, value, 4, 0)
    End Sub
    
    End Region
    
    Sub Bhopper()
    While(True)
    If GetAsyncKeyState(Bhop_Key) AndAlso GetFlags() = FL_ONGROUND Then
    WriteJump(1)
    Threading.Thread.Sleep(15)
    WriteJump(0)
    End If
    Threading.Thread.Sleep(1)
    End While
    End Sub
    Last edited by illusionisten; 03-22-2016 at 09:36 AM.

  5. #5
    signal101's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Location
    #SWAG #TYBG
    Posts
    28
    Reputation
    10
    Thanks
    74
    My Mood
    Tired
    I already moved on to pasting internal cheats, this is old news mane but thanks anyways
    Code:
    /"if you see bees you no your not to far away from water" - Lil B

  6. #6
    illusionisten's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    28
    Reputation
    10
    Thanks
    2
    My Mood
    Tired
    Quote Originally Posted by signal101 View Post
    I already moved on to pasting internal cheats, this is old news mane but thanks anyways
    Shame, if you can't even do it right externally, I don't feel like you should go internal just because calling functions are somewhat easier.

    And yes, the paste is strong with this one. You probably switched to C++ as well unknowingly of that you could go internal with VB.net also but, you probably don't feel a sense of familiarity towards one language as you're obviously new to programming and falling to copy-paste, ez hakes.
    Last edited by illusionisten; 03-23-2016 at 02:29 PM.

  7. #7
    ree0z's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    30
    Reputation
    10
    Thanks
    17
    the thing is, kb event never works on up-to-date directx games check out sendinput (i can controle everthing i want on mouse, but keyboard... i don't get it)
    million project is coming up soon.. see if it draws

Similar Threads

  1. [Preview] awesome bunnyhopping
    By twitl in forum CrossFire Hacks & Cheats
    Replies: 14
    Last Post: 02-27-2010, 05:02 PM
  2. [Preview] BunnyHop *Tut*
    By pigone in forum CrossFire Hacks & Cheats
    Replies: 13
    Last Post: 10-15-2009, 12:39 PM
  3. bunnyhop anyone?
    By Remorse in forum Combat Arms Hacks & Cheats
    Replies: 4
    Last Post: 01-02-2009, 09:24 AM
  4. [Request] Undetected bunnyhop hack
    By Spoking in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 5
    Last Post: 12-18-2008, 11:05 AM
  5. CSS-Bunnyhop + DoD multihack
    By fr33z3r in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 1
    Last Post: 06-17-2008, 03:59 PM