Hello, I was following Fleep's video on how to make a bunny hop hack for CS:GO. I have no errors but when I launch the .exe file its blank :/
Any chance someone help me? Also, I am using his HackProcess.h and its not modified but some people were commenting down saying something related to CS:GO it will work if you modify..
Code:
#include <Windows.h>
#include <iostream>
#include "HackProcess.h"
CHackProcess fProcess;
using namespace std;
const DWORD Player_Base = 0xA6C90C;
const DWORD healthOffset = 0xFC;
const DWORD dw_JumpOffsets = 0x100;
#define FL_ONGROUND 257
#define SPACE_BAR 0x20
#define F6_Key 0x75
bool b_true = true;
bool b_false = false;
bool bunnyHopStatus = false;
struct MyPlayer_t
{
DWORD ClocalPlayer;
int m_fFlags;
void ReadInformation()
{
ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(fProcess.__dwordClient + Player_Base), &ClocalPlayer, sizeof(DWORD), 0);
ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(ClocalPlayer+ dw_JumpOffsets), &m_fFlags, sizeof(int), 0);
}
}MyPlayer;
void BunnyHop()
{
if (GetAsyncKeyState(SPACE_BAR))
{
bunnyHopStatus = !bunnyHopStatus;
Sleep(250);
}
if (!bunnyHopStatus)
return;
if (MyPlayer.m_fFlags == FL_ONGROUND) {
WriteProcessMemory(fProcess.__HandleProcess, (PBYTE*)(fProcess.__dwordClient + dw_JumpOffsets), &b_true, sizeof(bool), NULL);
}
else if (MyPlayer.m_fFlags == FL_ONGROUND) {
WriteProcessMemory(fProcess.__HandleProcess, (PBYTE*)(fProcess.__dwordClient + dw_JumpOffsets), &b_false, sizeof(bool), NULL);
}
}
int main() {
fProcess.RunProcess();
cout << "Proccess Found, Running Bunny Hop Client!" << endl;
while (!GetAsyncKeyState(F6_Key)) {
MyPlayer.ReadInformation();
BunnyHop();
}
}
That's how the console looks like :/
UPDATED ----------------------------------------------------------------------
Now the console is showing that its found. However, its not working, when I press space it only jumps once... :/