Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


help autoclick click

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
4jax_cheater
Cheater
Reputation: 0

Joined: 14 Apr 2009
Posts: 31

PostPosted: Wed Oct 28, 2009 6:42 pm    Post subject: help autoclick click Reply with quote

help me not getting to do it selecioanr the process: S

FindWindow example: = window ( 'GunBound');

hotkey?? helīp
Back to top
View user's profile Send private message
p99
Master Cheater
Reputation: 0

Joined: 21 Jan 2007
Posts: 271

PostPosted: Wed Oct 28, 2009 9:42 pm    Post subject: Reply with quote

More information and in English please
_________________
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Fri Oct 30, 2009 4:51 am    Post subject: Reply with quote

Code:
HWND hWndGame;
while ( ! GetAsyncKeyState( VK_F10 ) )
{
  Sleep( 100 );

  if( hWndGame = FindWindow( _T("Softnyx"), _T("GunBound") ) )
    break;
}
Back to top
View user's profile Send private message
4jax_cheater
Cheater
Reputation: 0

Joined: 14 Apr 2009
Posts: 31

PostPosted: Sat Oct 31, 2009 10:20 am    Post subject: Reply with quote

error, help create auto click for gunbound!
Back to top
View user's profile Send private message
NoMercy
Master Cheater
Reputation: 1

Joined: 09 Feb 2009
Posts: 289

PostPosted: Sun Nov 01, 2009 2:52 am    Post subject: Reply with quote

Code:
#include <iostream>
#include <windows.h>
#include <stdlib.h>


using namespace std;

int main()
{
   SetConsoleTitle(" AutoClicker");

   {
      cout << " 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;
   }
}
Back to top
View user's profile Send private message
4jax_cheater
Cheater
Reputation: 0

Joined: 14 Apr 2009
Posts: 31

PostPosted: Sun Nov 01, 2009 7:57 am    Post subject: Reply with quote

not languagem delphi :S
Back to top
View user's profile Send private message
4jax_cheater
Cheater
Reputation: 0

Joined: 14 Apr 2009
Posts: 31

PostPosted: Tue Nov 03, 2009 7:08 pm    Post subject: Reply with quote

hel for linguagem dephi auto click plix?
Back to top
View user's profile Send private message
h4c0r-BG
Master Cheater
Reputation: 0

Joined: 29 Nov 2006
Posts: 449
Location: The yogurt country

PostPosted: Thu Nov 05, 2009 10:47 am    Post subject: Reply with quote

myPostMessageA(h,WM_LBUTTONDBLCLK,0,MakeLong(X,Y)) ;
// ? myPostMessageA(h,WM_LBUTTONUP,0,MakeLong(X,Y));

mySendMessageA(h,WM_LBUTTONDBLCLK,0,MakeLong(X,Y)) ;
// ? mySendMessageA(h,WM_LBUTTONUP,0,MakeLong(X,Y));

my_mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
my_mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);

Try one of those combinations.
Goodluck.
Else try out mySendInput();

_________________

Back to top
View user's profile Send private message
SkeleTron
Grandmaster Cheater Supreme
Reputation: 1

Joined: 28 Jun 2007
Posts: 1022

PostPosted: Thu Nov 05, 2009 10:55 am    Post subject: Reply with quote

nice code
_________________
Reedemer.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites