Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,560
    Reputation
    127
    Thanks
    5,965
    My Mood
    Happy

    Lightbulb 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
    Last edited by Zoom; 08-19-2009 at 04:10 PM. Reason: MEANT LEFT CLICK**************

  2. #2
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Hey I'm pretty sure you need to do something like
    Code:
    if (GetASyncKeyState(VK_RBUTTON))
    {
    
     Do stuffs
    
    }

  3. #3
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Woops double post... Sorry. Tell me if my suggestion works, i cant test it right now cause im away from my computer.

  4. #4
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,560
    Reputation
    127
    Thanks
    5,965
    My Mood
    Happy
    ...Just give some errors...try it you!

  5. #5
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Quote Originally Posted by hejsan1 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.
    Last edited by zeco; 08-19-2009 at 04:24 PM.

  6. #6
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,560
    Reputation
    127
    Thanks
    5,965
    My Mood
    Happy
    #include <windows.h>

    if (GetASyncKeyState(VK_RBUTTON))
    {

    Do stuffs

    }


    doesn´t work......Did you make it work?

  7. #7
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Quote Originally Posted by hejsan1 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.
    Last edited by zeco; 08-19-2009 at 05:34 PM.

  8. #8
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,560
    Reputation
    127
    Thanks
    5,965
    My Mood
    Happy
    can u send me the source file on the bot when i left click the bot t press "3" and after "1"

  9. #9
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Quote Originally Posted by hejsan1 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?
    Last edited by zeco; 08-19-2009 at 05:33 PM.

  10. The Following User Says Thank You to zeco For This Useful Post:

    Zoom (08-19-2009)

  11. #10
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,560
    Reputation
    127
    Thanks
    5,965
    My Mood
    Happy
    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

  12. #11
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    Quote Originally Posted by hejsan1 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.

  13. #12
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,560
    Reputation
    127
    Thanks
    5,965
    My Mood
    Happy
    Ok, do you know any1 who can do it or do yuo think you can make it?

  14. #13
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    you could try saving it as a .dll and injecting it into the game...

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  15. #14
    zeco's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    683
    Reputation
    12
    Thanks
    78
    My Mood
    Cynical
    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....
    Last edited by zeco; 08-20-2009 at 12:40 AM.

  16. #15
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    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 >_>.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

Page 1 of 2 12 LastLast

Similar Threads

  1. help with source code use.
    By dddrrr in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 1
    Last Post: 05-01-2010, 01:42 PM
  2. [HELP] I NEED HELP WITH STAMINA CODE
    By ilovepie21 in forum Visual Basic Programming
    Replies: 15
    Last Post: 03-03-2008, 08:41 PM
  3. Help with Request Code for Adobe Illustrator
    By Groover111 in forum General Game Hacking
    Replies: 1
    Last Post: 02-27-2008, 09:46 AM
  4. need help with teleport code
    By konni in forum WarRock - International Hacks
    Replies: 0
    Last Post: 07-30-2007, 12:07 AM
  5. NEED help with verification code when registering!
    By vinogradov in forum WarRock Korea Hacks
    Replies: 2
    Last Post: 05-30-2007, 08:20 PM

Tags for this Thread