Results 1 to 12 of 12
  1. #1
    Smite2120's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Behind you.
    Posts
    20
    Reputation
    10
    Thanks
    5

    Coding External BHOP

    Hello, I'm working on an external bhop script for CS:GO, and so far the rest of my cheat is working great, although I'm having troubles with my bhop script itself. I've already tested the jump function and I know for sure that it works, so I know that the jump function isn't what is causing the issue. I compile everything and it is completely fine, but once I'm in game I press space and I don't bhop. Here's some snippets of my code so hopefully someone can help me with this issue. I'd like to point at that the Triggerbot and Box ESP I coded is working fine, so I know it's not my memory library.


    main
    Code:
    int main()
    {
    while(true){
    	if (GetAsyncKeyState(trigkey){
    		TriggerTheFeminists();
    	}
    	if ((GetAsyncKeyState(VK_SPACE) & 0x8000) && m_fFlags == 257) {
    		Jump();
    	}
    	if (Box){
    		InhumanReactions();
    	}
    }
    
    }
    Code:
    const DWORD flagOffset = 0x100;
    const DWORD playerBase = 0xA804CC;
    int m_fFlags = Mem.Read<DWORD>(playerBase + flagOffset);
    If you know what I did wrong, please let me know. Thank you in advance.

  2. #2
    KappaMang's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    242
    Reputation
    10
    Thanks
    16
    My Mood
    Asleep
    First, you are using the Read function with type DWORD but storing it into an integer. It should be:
    Code:
     int m_fFlags = Mem.Read<int>();
    Second, playerBase is the distance from the client to the Base Player's pointer. You would need a DWORD for your player's pointer:
    Code:
     DWORD localPlayer = Mem.Read<DWORD>(Client + playerBase);
    Also, I'm interested in your box esp if it's really working.

  3. #3
    Smite2120's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Behind you.
    Posts
    20
    Reputation
    10
    Thanks
    5
    Quote Originally Posted by KappaMang View Post
    First, you are using the Read function with type DWORD but storing it into an integer. It should be:
    Code:
     int m_fFlags = Mem.Read<int>();
    Second, playerBase is the distance from the client to the Base Player's pointer. You would need a DWORD for your player's pointer:
    Code:
     DWORD localPlayer = Mem.Read<DWORD>(Client + playerBase);
    Also, I'm interested in your box esp if it's really working.
    Code:
    DWORD localP = Mem.Read<DWORD>(clientdll + playerBase);
    int m_fFlags = Mem.Read<int>(localP + flagOffset);
    Now I have this, although the autobhop is still NOT working, do you know why?

  4. #4
    KappaMang's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    242
    Reputation
    10
    Thanks
    16
    My Mood
    Asleep
    Quote Originally Posted by Smite2120 View Post
    Code:
    DWORD localP = Mem.Read<DWORD>(clientdll + playerBase);
    int m_fFlags = Mem.Read<int>(localP + flagOffset);
    Now I have this, although the autobhop is still NOT working, do you know why?
    When does your code read the information?

  5. #5
    Smite2120's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Behind you.
    Posts
    20
    Reputation
    10
    Thanks
    5
    At the top of my main now, but earlier it wasn't. I'm using my friend's memory library so it's named a bit strange.

    Code:
    Mem.Proc("csgo.exe");
    clientdll = Mem.CheckDatAss("client.dll");

  6. #6
    KappaMang's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    242
    Reputation
    10
    Thanks
    16
    My Mood
    Asleep
    Do you have a skype? I might be able to help understand the problem if I compare my code to yours.

  7. #7
    Smite2120's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Behind you.
    Posts
    20
    Reputation
    10
    Thanks
    5
    No, I don't use Skype, sorry.

  8. #8
    KappaMang's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    242
    Reputation
    10
    Thanks
    16
    My Mood
    Asleep
    Quote Originally Posted by Smite2120 View Post
    No, I don't use Skype, sorry.
    Hmm... Then, what is the definition of your Jump() function? I know you said it works I just wanna see.

  9. #9
    Smite2120's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Behind you.
    Posts
    20
    Reputation
    10
    Thanks
    5
    Code:
    void Jump() {
    	keybd_event(key9, key9_sc, 0, 0);  
    	keybd_event(key9, key9_sc, KEYEVENTF_KEYUP, 0);
    }
    I also have a skype now if you think that is still necessary.
    Last edited by Smite2120; 04-01-2016 at 12:58 PM.

  10. #10
    KappaMang's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    242
    Reputation
    10
    Thanks
    16
    My Mood
    Asleep
    Quote Originally Posted by Smite2120 View Post
    Code:
    void Jump() {
    	keybd_event(key9, key9_sc, 0, 0);  
    	keybd_event(key9, key9_sc, KEYEVENTF_KEYUP, 0);
    }
    I also have a skype now if you think that is still necessary.
    It might make it easy.
    How did you test this function in the first place? And what is key9? If you want, add my skype: sighmaniac

  11. #11
    Smite2120's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Behind you.
    Posts
    20
    Reputation
    10
    Thanks
    5
    Solved thanks to KappaMang!

  12. #12
    Hunter's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Depths Of My Mind.
    Posts
    17,468
    Reputation
    3771
    Thanks
    6,159
    My Mood
    Cheerful
    /Solved & closed.

Similar Threads

  1. [Source Code] External bhop with comments! [C++]
    By Yemiez in forum Counter-Strike 2 Coding & Resources
    Replies: 16
    Last Post: 06-02-2017, 07:00 AM
  2. [Detected] External Bhop v0.4
    By ZectixV1 in forum Counter-Strike 2 Hacks
    Replies: 10
    Last Post: 03-08-2015, 04:59 AM
  3. [Detected] External Bhop v0.3
    By ZectixV1 in forum Counter-Strike 2 Hacks
    Replies: 24
    Last Post: 03-03-2015, 08:02 PM
  4. [Release] External Bhop v0.2
    By ZectixV1 in forum Counter-Strike 2 Hacks
    Replies: 6
    Last Post: 02-26-2015, 07:12 PM
  5. [Discussion] External Bhop - Should I release? :D
    By deltacc in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 0
    Last Post: 05-18-2012, 10:39 AM