Simple C++ AutoClicker

Discussion in 'Archives' started by timk777, Jun 23, 2007.

Thread Status:
Not open for further replies.
Simple C++ AutoClicker
  1. Unread #1 - Jun 23, 2007 at 7:15 PM
  2. timk777
    Joined:
    Feb 19, 2007
    Posts:
    156
    Referrals:
    0
    Sythe Gold:
    0

    timk777 Active Member

    Simple C++ AutoClicker

    Easy C++ AutoClicker. Feel free to leech etc:

    Code:
    #include <iostream>
    #include <windows.h>
    #include <stdlib.h>
    
    
    using namespace std;
    
    int main()
    {
    	SetConsoleTitle("Timk77's AutoClicker");
    
    	{
    		cout << "Timk77's autoclicker" << endl;
            cout << " " << endl;
            cout << " " << endl;
            cout << " " << endl;
    
    
    		int x,y,slpTime,i;
    
    		cout << "Enter the number of times to click: " << endl;
    		cin >> i;
    		cout << "Enter X Coordinate: " << endl;
    		cin >> x;
    		cout << "Enter y Coordinate: " << endl;
    		cin >> y;
    		cout << "Enter time in between clicks: " << endl;
    		cin >> slpTime;
    		cout << "Status." << "\n X coordinate: " << x << " \nY coordinate: " << y << " \nTime in seconds between clicks: " << slpTime << endl;
            for(int t = 1; t <= i; t++){
    		SetCursorPos(x,y);
    		mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
            mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0, 0);
    		Sleep(slpTime*1000);
    
    		if (GetAsyncKeyState(VK_ESCAPE)){
    		exit(0);
    		}
    		else continue;
    
    		}
    		return 0;
    	}
    }
    
     
  3. Unread #2 - Jul 8, 2007 at 10:28 AM
  4. htaed
    Joined:
    Dec 19, 2005
    Posts:
    336
    Referrals:
    0
    Sythe Gold:
    0

    htaed Forum Addict
    Banned

    Simple C++ AutoClicker

    I'm guessing i can't use this with Linux??

    [​IMG]
     
  5. Unread #3 - Jul 10, 2007 at 1:50 AM
  6. timk777
    Joined:
    Feb 19, 2007
    Posts:
    156
    Referrals:
    0
    Sythe Gold:
    0

    timk777 Active Member

    Simple C++ AutoClicker

    Not without the C++ runtime files. XD
     
  7. Unread #4 - Jul 28, 2007 at 9:46 PM
  8. Kaybolt
    Joined:
    Jul 28, 2007
    Posts:
    224
    Referrals:
    0
    Sythe Gold:
    0

    Kaybolt Active Member
    Banned

    Simple C++ AutoClicker

    which compiler should i use to make this into actual program?

    dev's compiler or what?

    recommend one please
     
  9. Unread #5 - Jul 29, 2007 at 2:44 AM
  10. T7 Press 7T
    Joined:
    Jun 14, 2007
    Posts:
    384
    Referrals:
    0
    Sythe Gold:
    0

    T7 Press 7T Forum Addict

    Simple C++ AutoClicker

    ok I got it worked out I had to put it in Dev C++ instead of my VS C++ thanks I like it other then you cant click were you want the clicker
     
  11. Unread #6 - Aug 12, 2007 at 6:33 AM
  12. kingdom
    Joined:
    Jan 22, 2007
    Posts:
    236
    Referrals:
    0
    Sythe Gold:
    0

    kingdom Active Member
    Banned

    Simple C++ AutoClicker

    you should add antibann.
     
  13. Unread #7 - Aug 15, 2007 at 8:12 AM
  14. theblitched
    Joined:
    Jul 8, 2007
    Posts:
    449
    Referrals:
    0
    Sythe Gold:
    94
    Tier 1 Prizebox

    theblitched Forum Addict
    $25 USD Donor New

    Simple C++ AutoClicker

    good autoclicker man ty but you should add antiban yea
     
  15. Unread #8 - Oct 6, 2007 at 8:48 PM
  16. jordan69
    Referrals:
    0

    jordan69 Guest

    Simple C++ AutoClicker

    i dont understand how to use this....
     
  17. Unread #9 - Oct 6, 2007 at 11:37 PM
  18. Govind
    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Simple C++ AutoClicker

    Don't gravedig...
     
< Selling 2M neopoints! | Selling Obby Mauler OFFICIAL MM ONLY >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site