Adblock breaks this site

Simple C++ AutoClicker

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

Thread Status:
Not open for further replies.
  1. timk777

    timk777 Active Member

    Joined:
    Feb 19, 2007
    Posts:
    156
    Referrals:
    0
    Sythe Gold:
    0
    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;
    	}
    }
    
     
  2. htaed

    htaed Forum Addict
    Banned

    Joined:
    Dec 19, 2005
    Posts:
    336
    Referrals:
    0
    Sythe Gold:
    0
    Simple C++ AutoClicker

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

    [​IMG]
     
  3. timk777

    timk777 Active Member

    Joined:
    Feb 19, 2007
    Posts:
    156
    Referrals:
    0
    Sythe Gold:
    0
    Simple C++ AutoClicker

    Not without the C++ runtime files. XD
     
  4. Kaybolt

    Kaybolt Active Member
    Banned

    Joined:
    Jul 28, 2007
    Posts:
    224
    Referrals:
    0
    Sythe Gold:
    0
    Simple C++ AutoClicker

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

    dev's compiler or what?

    recommend one please
     
  5. T7 Press 7T

    T7 Press 7T Forum Addict

    Joined:
    Jun 14, 2007
    Posts:
    384
    Referrals:
    0
    Sythe Gold:
    0
    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
     
  6. kingdom

    kingdom Active Member
    Banned

    Joined:
    Jan 22, 2007
    Posts:
    236
    Referrals:
    0
    Sythe Gold:
    0
    Simple C++ AutoClicker

    you should add antibann.
     
  7. theblitched

    theblitched Forum Addict
    $25 USD Donor New

    Joined:
    Jul 8, 2007
    Posts:
    449
    Referrals:
    0
    Sythe Gold:
    94
    Tier 1 Prizebox
    Simple C++ AutoClicker

    good autoclicker man ty but you should add antiban yea
     
  8. jordan69

    jordan69 Guest

    Referrals:
    0
    Simple C++ AutoClicker

    i dont understand how to use this....
     
  9. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    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
    Simple C++ AutoClicker

    Don't gravedig...
     
< Selling 2M neopoints! | Selling Obby Mauler OFFICIAL MM ONLY >
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site