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 


[c++] How to check for value and send Mouseclick on a loop?

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

Joined: 24 May 2007
Posts: 215

PostPosted: Fri Apr 26, 2013 1:40 am    Post subject: [c++] How to check for value and send Mouseclick on a loop? Reply with quote

{
cout << "Aether has been Opened" << endl;

DWORD pointer = 0x00CF5D08;
DWORD pointed;

ReadProcessMemory(hProc,(LPCVOID)(pointer), &pointed, 4, NULL);

cout << "You are currently aiming at the enemy" << pointed << endl;
if (pointed == 0){
mouse_event (MOUSEEVENTF_LEFTDOWN);
}
}

C++ saying mouse_event cannot take 1 arguements


someone please tell me what function I can use to check the value of the pointer to left click every time the value changes from 0 to 1
Back to top
View user's profile Send private message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Fri Apr 26, 2013 2:13 am    Post subject: Reply with quote

msdn
_________________
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