First up then left then down then right
But it doesn't work.
Code:
void MyHackz(void)
{
while(1)
{
if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
BotWait = !BotWait;
GetCursorPos(&mouse_pos);
X=mouse_pos.x;
Y=mouse_pos.y;
}
if(BotWait)
{
if(GetAsyncKeyState(VK_SPACE)&1)
{
LeftClickDown();
X = X + 100;
SetCursorPos(X, Y);
Y = Y - 100;
SetCursorPos(X, Y);
X = X - 100;
SetCursorPos(X, Y);
Y = Y + 100;
SetCursorPos(X, Y);
LeftClickUp();
}
}else{
}
Sleep (100);
}
}
What's wrong with it. And also, you will need the functions for left clicking etc if you wanna leech this.
All it does.. Is keep moving the mouse to the exact same spot where it started as
because it's too fast in executing you won't see it.
Code:
if(GetAsyncKeyState(VK_SPACE)&1)
{
LeftClickDown();
X = X + 100;
SetCursorPos(X, Y);
Sleep(500);
Y = Y - 100;
SetCursorPos(X, Y);
Sleep(500);
X = X - 100;
SetCursorPos(X, Y);
Sleep(500);
Y = Y + 100;
SetCursorPos(X, Y);
Sleep(500);
LeftClickUp();
}
Also this section is meant for people to learn from, even leechers. So here's a LeftClickDown & Up:
because it's too fast in executing you won't see it.
Code:
if(GetAsyncKeyState(VK_SPACE)&1)
{
LeftClickDown();
X = X + 100;
SetCursorPos(X, Y);
Sleep(500);
Y = Y - 100;
SetCursorPos(X, Y);
Sleep(500);
X = X - 100;
SetCursorPos(X, Y);
Sleep(500);
Y = Y + 100;
SetCursorPos(X, Y);
Sleep(500);
LeftClickUp();
}
Also this section is meant for people to learn from, even leechers. So here's a LeftClickDown & Up: