Solved C++ Bunnyhop help!

Hexui Undetected CSGO Cheats PUBG Accounts

TheChiken666

Newbie
Full Member
Jun 12, 2013
14
422
0
Hi guys, can anyone provide the code bunnyhop just a console application simulates pressing Space???pls pls pls!
 

c5

Kim Kong Trasher
Dank Tier VIP
Dank Tier Donator
Jul 19, 2012
1,183
19,938
76
C++:
INPUT ip;
ip.type = INPUT_KEYBOARD;
ip.ki.wVk = VK_SPACE;
ip.ki.dwFlags = 0; 
SendInput(1, &ip, sizeof(INPUT));
Here's enough to get you going
 

TheChiken666

Newbie
Full Member
Jun 12, 2013
14
422
0
C++:
INPUT ip;
ip.type = INPUT_KEYBOARD;
ip.ki.wVk = VK_SPACE;
ip.ki.dwFlags = 0; 
SendInput(1, &ip, sizeof(INPUT));
Here's enough to get you going
oh..
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(9) : error C2065: 'INPUT' : undeclared identifier
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(9) : error C2146: syntax error : missing ';' before identifier 'ip'
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(9) : error C2065: 'ip' : undeclared identifier
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(10) : error C2065: 'ip' : undeclared identifier
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(10) : error C2228: left of '.type' must have class/struct/union
1> type is ''unknown-type''
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(10) : error C2065: 'INPUT_KEYBOARD' : undeclared identifier
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(11) : error C2065: 'ip' : undeclared identifier
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(11) : error C2228: left of '.ki' must have class/struct/union
1> type is ''unknown-type''
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(11) : error C2228: left of '.wVk' must have class/struct/union
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(11) : error C2065: 'VK_SPACE' : undeclared identifier
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(12) : error C2065: 'ip' : undeclared identifier
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(12) : error C2228: left of '.ki' must have class/struct/union
1> type is ''unknown-type''
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(12) : error C2228: left of '.dwFlags' must have class/struct/union
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(13) : error C2065: 'ip' : undeclared identifier
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(13) : error C2065: 'INPUT' : undeclared identifier
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(13) : error C2070: ''unknown-type'': illegal sizeof operand
1>c:\users\molfies\documents\visual studio 2008\projects\bunnyhoptest\bunnyhoptest\bunnyhoptest.cpp(13) : error C3861: 'SendInput': identifier not found
 

cpprogrammer

Newbie
Jul 12, 2013
4
152
0
code:
#include <windows.h>
#include <time.h>


int Timer = clock();
bool bunnyhop = false;

void main()
{
while(-1)
{
if(bunnyhop == true)
{
if(clock() - Timer > 40)
{
keybd_event( VK_SPACE, 0x20, 0, 0);/*Press Space*/
keybd_event( VK_SPACE, 0x20, KEYEVENTF_KEYUP, 0);/*Release Space*/
Timer = clock();
}
}
/*Turn The Hack On And Off Using F1 Button*/
if(GetAsyncKeyState(VK_F1)&1)
{
bunnyhop = !bunnyhop;
}
}
}
 
Last edited:

cpprogrammer

Newbie
Jul 12, 2013
4
152
0
And If You Want It With Status ( ON / OFF)



C++:
#include <windows.h>
#include <time.h>
#include <stdio.h>


int Timer = clock();

void main()
{
	bool bunnyhop = false;
	bool statuschanged = true;
	while(-1)
	{
		if(bunnyhop == true)
		{
			if(clock() - Timer > 40)
			{
				keybd_event( VK_SPACE, 0x20, 0, 0);/*Press Space*/
				keybd_event( VK_SPACE, 0x20, KEYEVENTF_KEYUP, 0);/*Release Space*/
				Timer = clock();
			}
		}
		if(GetAsyncKeyState(VK_F1)&1)
		{
			bunnyhop = !bunnyhop;
			statuschanged = true;
		}
		if(statuschanged == true)
		{
			system("cls");
			if(bunnyhop == true)
		    {
				printf("Hack BunnyHop : ON");
		    }
		    else
			{
				printf("Hack BunnyHop : OFF");
		    }
		}
		statuschanged = false;
	}
}
 
Last edited:
Community Mods