LightbulbHelp with source code! Easy fast scope bot!

Posts 1–15 of 23 · Page 1 of 2
Help with source code! Easy fast scope bot!
Hi all!

I need help with a easy hack!

The source code to c++ i need is:

When i "left click" I want the bot to first press "3" and after "1"

SO....

I need help with the code for that code so it will get easier to fast scope with Sniper!

I will be glad if any1 could help me with that, and if some1 can figure that out



//hejsan
Hey I'm pretty sure you need to do something like
Code:
if (GetASyncKeyState(VK_RBUTTON))
{

 Do stuffs

}
Woops double post... Sorry. Tell me if my suggestion works, i cant test it right now cause im away from my computer.
...Just give some errors...try it you!
Quote Originally Posted by Zoom View Post
...Just give some errors...try it you!
Hmm i did try it, i shall try again now. Ooh yeah for one thing i forgot to tell you to add
[php]
#include <windows.h>
[/php]

under #include <iostream> or somewhere abouts there

But one sec there are some other things i need to sort out with it.
Sorry im not that familiar with the windows API.
#include <windows.h>

if (GetASyncKeyState(VK_RBUTTON))
{

Do stuffs

}


doesn´t work......Did you make it work?
Quote Originally Posted by Zoom View Post
#include <windows.h>

if (GetASyncKeyState(VK_RBUTTON))
{

Do stuffs

}


doesn´t work......Did you make it work?
Wait, you do know how to do everything else once i give u the code fragment, correct?
Well, eventually i got it kind of working, the whole program from what you describe, but it only works in the one window. Thus to get it working in game i need to bring focus to the window or something like that according to MSDN, so i officially give up since i have already far overreached my programming ability. A.K.A i am a sucky choob.
can u send me the source file on the bot when i left click the bot t press "3" and after "1"
Quote Originally Posted by Zoom View Post
can u send me the source file on the bot when i left click the bot t press "3" and after "1"
[php]
#include <iostream>
#include <windows.h>

void lbutton(){

if (GetAsyncKeyState(VK_LBUTTON) &1){
std::cout << "Click Registered\n";
keybd_event(0x33, 4, KEYEVENTF_EXTENDEDKEY, 3 );
//Sleep(250);
keybd_event(0x31, 2, KEYEVENTF_EXTENDEDKEY, 1 );

}
}


int main()
{
for (int i = 0; i == 0; i=i)
lbutton();

std::cin.get();
std::cin.get();
return 0;
}
[/php]

that was basically it. And if anyone passing through wants to give me pointer on better coding style or an easier way to do what i just failed to do, feel free.

P.S. Is it just me or has the site felt buggy recently?
thanks it works half ways

But is it to hard to get it work in a game etc combat arms?

Can you do it? If you make it i´m SOOOOOOOOOOO happy
Quote Originally Posted by Zoom View Post
thanks it works half ways

But is it to hard to get it work in a game etc combat arms?

Can you do it? If you make it i´m SOOOOOOOOOOO happy
You see i might be able to do it, that is if i didn't just start C++ (like a month ago), and the msdn functions and stuff weren't so confusing >_<. I am also not 100% sure where i need to go from here.
Ok, do you know any1 who can do it or do yuo think you can make it?
you could try saving it as a .dll and injecting it into the game...
Quote Originally Posted by why06 View Post
you could try saving it as a .dll and injecting it into the game...
I don't think that has much to do with it, i just need to make the program target the correct window, but MSDN is too confusing it took me an hour just to find the right syntax to hit the 3 and 1 keys. Plus i'm not exactly sure how to do dll's.

Injecting won't work because i have never gotten a hack and/or bypass working....
rwkeith would know how to do this :L Im just as clueless. C++ seems easy compared to Visual Studio @_@.... I just tried to compile it into a .dll and got all these errors >_>.
Posts 1–15 of 23 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?