I came here because the users seem more helpful and less rude than those at another website which name can be abbreviated to UC.
I coded my first cheat today(C++). It's an external bunnyhop script for CSGO and it works! But I have one problem, I don't quite know how to use the pointer I got from CE. I pointer scanned for the jumping address (idk if thats what its called or whatever), the one that's 257 when you're on the ground, 256 in the air, and 263 when crouched. I found the pointer, "client.dll"+00AAFD7C, however I don't know how to implement it into my code.
Code:
int main()
{
DWORD jump = 0x00AAFD7C;
DWORD processID;
HWND window = FindWindow(NULL, "Counter-Strike: Global Offensive");
GetWindowThreadProcessId(window, &processID);
HANDLE Handle = OpenProcess(PROCESS_VM_READ, 0, processID);
for (;;)
{
bhop(Handle, jump);
}
return 0;
}
I know code is probably shit or whatever but at the top of main() DWORD jump is where i think i need to implement my pointer i just dont know how to and cant find any good examples anywhere. Thanks
- - - Updated - - -
I've been trying things out in cheat engine and in my code and shit. I have been using the playerBase 0x00AAFD7C and adding the jump offset 0x100 and that feels right but it doesnt work?