HelpCoding External BHOP

Posts 1–12 of 12 · Page 1 of 1
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.
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.
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?
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?
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");
Do you have a skype? I might be able to help understand the problem if I compare my code to yours.
No, I don't use Skype, sorry.
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.
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.
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
Solved thanks to KappaMang!
/Solved & closed.
Posts 1–12 of 12 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us