Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Clickbot
#11
Update: I tried to make a spin-bot, too. Here is the code: (looks pretty simple, pls keep in mind, that I'm new to c++)



#include "stdafx.h"
#include <iostream>
#include <winuser.h>
#include <time.h> //Used for Sleep() in the former version of the program

using namespace std;


int main()
{
while (1)
{
if (GetAsyncKeyState(VK_SHIFT))
{
SetCursorPos(1040, 525);
SetCursorPos(840, 725);
SetCursorPos(640, 525);
SetCursorPos(840, 325);

}
}
return 0;
}



But I get the same problem like in the Clickbot... It doesn't work for osu! and other games. What did I do wrong?
The Program itself works, but not in games.

EDIT: So I've read a little bit and now I need to know, how I can bypass the directinput in c++.
Reply
#12
(07-06-2016, 12:32 AM)MrZenArc Wrote: Update: I tried to make a spin-bot, too. Here is the code: (looks pretty simple, pls keep in mind, that I'm new to c++)



#include "stdafx.h"
#include <iostream>
#include <winuser.h>
#include <time.h> //Used for Sleep() in the former version of the program

using namespace std;


int main()
{
while (1)
{
if (GetAsyncKeyState(VK_SHIFT))
{
SetCursorPos(1040, 525);
SetCursorPos(840, 725);
SetCursorPos(640, 525);
SetCursorPos(840, 325);

}
}
return 0;
}



But I get the same problem like in the Clickbot... It doesn't work for osu! and other games. What did I do wrong?
The Program itself works, but not in games.

EDIT: So I've read a little bit and now I need to know, how I can bypass the directinput in c++.

SetCursorPos() will trigger a flag on your account if you play online.
There are more than enough public open source hacks: http://lmgtfy.com/?q=osu+spinbot+c%2B%2B
Reply
#13
Thanks, I will have a look on them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)