Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love

    How to add auto shoot to your aimbot

    This is the code for clicking
    Code:
    void Click ()
    {
      LeftClickDown();
      LeftClickUp();
    }
    void LeftClickDown ( )
    {  
      INPUT    Input={0};
      // left down 
      Input.type      = INPUT_MOUSE;
      Input.mi.dwFlags  = MOUSEEVENTF_LEFTDOWN;
      ::SendInput(1,&Input,sizeof(INPUT));
    }
    
    void LeftClickUp( )
    {
    	INPUT    Input={0};
    	  // left up
      ::ZeroMemory(&Input,sizeof(INPUT));
      Input.type      = INPUT_MOUSE;
      Input.mi.dwFlags  = MOUSEEVENTF_LEFTUP;
      ::SendInput(1,&Input,sizeof(INPUT));
    }
    Learn how to use it

    Code:
    if( AutoFire )
    {			
      LeftClickDown();
      LeftClickUp();
    }
    No I do not make game hacks anymore, please stop asking.

  2. The Following User Says Thank You to flameswor10 For This Useful Post:

    Houston (01-17-2011)

  3. #2
    _Fk127_'s Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    720
    Reputation
    16
    Thanks
    208
    My Mood
    Bitchy
    Quote Originally Posted by flameswor10 View Post
    This is the code for clicking
    Code:
    void Click ()
    {
      LeftClickDown();
      LeftClickUp();
    }
    void LeftClickDown ( )
    {  
      INPUT    Input={0};
      // left down 
      Input.type      = INPUT_MOUSE;
      Input.mi.dwFlags  = MOUSEEVENTF_LEFTDOWN;
      ::SendInput(1,&Input,sizeof(INPUT));
    }
    
    void LeftClickUp( )
    {
    	INPUT    Input={0};
    	  // left up
      ::ZeroMemory(&Input,sizeof(INPUT));
      Input.type      = INPUT_MOUSE;
      Input.mi.dwFlags  = MOUSEEVENTF_LEFTUP;
      ::SendInput(1,&Input,sizeof(INPUT));
    }
    Learn how to use it

    Code:
    if( AutoFire )
    {			
      LeftClickDown();
      LeftClickUp();
    }
    Just combine the first two functions into one...



    Put this image in your signature if you support HTML5 development!

  4. #3
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    Quote Originally Posted by _Fk127_ View Post
    Just combine the first two functions into one...
    If you want to spray, You can use one by one
    No I do not make game hacks anymore, please stop asking.

  5. #4
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    whats wrong with:

    mouse_event( MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 );
    mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );

    Works the same /

  6. #5
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    Quote Originally Posted by ac1d_buRn View Post
    whats wrong with:

    mouse_event( MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 );
    mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );

    Works the same /
    I don't know. but it doesn't work ingame
    No I do not make game hacks anymore, please stop asking.

  7. #6
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Quote Originally Posted by flameswor10 View Post
    I don't know. but it doesn't work ingame
    it should

  8. #7
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,102
    Reputation
    16
    Thanks
    649
    My Mood
    Cold
    Hook Windows message handler

  9. #8
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh
    sometimes aimbots fail horribly though with snipers...could the way this is coded be the reason they don't always shoot?

    commando: You're probably the best non-coder coder I know LOL


  10. #9
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Quote Originally Posted by supercarz1991 View Post
    sometimes aimbots fail horribly though with snipers...could the way this is coded be the reason they don't always shoot?
    This is just to click the button, has nothing to do with the calculations for aiming.

    "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

  11. #10
    Houston's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    The Netherlands
    Posts
    1,941
    Reputation
    175
    Thanks
    2,468
    My Mood
    Blah
    Thanks for sharing

  12. #11
    dean-wingess's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    409
    Reputation
    29
    Thanks
    213
    My Mood
    Stressed
    Quote Originally Posted by supercarz1991 View Post
    sometimes aimbots fail horribly though with snipers...could the way this is coded be the reason they don't always shoot?
    Dude if you use that "VIP BASE", ..
    omfg there's everything clearly declared/defined/done..

    And you guys still don't get it .. wtf?
    [YOUTUBE]e89lqiE0wi0[/YOUTUBE]

  13. #12
    Sixx93's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    673
    Reputation
    21
    Thanks
    250
    My Mood
    Cool
    lol, what's the point of declaring a function (click) that contain the 2 events of clicking if then, if autofire is on u use the 2 events? just put the function click....

  14. #13
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Seems to complicated for such a simple option.... can't you just say like
    if the aimbot aims, then hold left mouse?

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  15. #14
    _Fk127_'s Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    720
    Reputation
    16
    Thanks
    208
    My Mood
    Bitchy
    Quote Originally Posted by CAFlames View Post
    Seems to complicated for such a simple option.... can't you just say like
    if the aimbot aims, then hold left mouse?
    You need to inject keystrokes at the driver level for the game to resopond to them. That is why it is this complicated



    Put this image in your signature if you support HTML5 development!

  16. #15
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Quote Originally Posted by _Fk127_ View Post
    You need to inject keystrokes at the driver level for the game to resopond to them. That is why it is this complicated
    Oh yeah forgot about that. I havent coded a base in a while so I forgot all bout that.

    I remember making an injectable anti-AFK kick method and I had to use that. :P

    I decided against releasing it lol.

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

Page 1 of 2 12 LastLast