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 


The Cheat Engine is control the mouse and keyboard ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
notmuch
How do I cheat?
Reputation: 0

Joined: 18 May 2018
Posts: 0

PostPosted: Thu Jun 14, 2018 8:28 am    Post subject: The Cheat Engine is control the mouse and keyboard ? Reply with quote

Hi gay did the cheat engine can control the mouse and keyboard on the game for make trainer to play auto ?

please help to show us

thanks and best regard
Back to top
View user's profile Send private message
MateeJr GT
Advanced Cheater
Reputation: 0

Joined: 24 Dec 2017
Posts: 66

PostPosted: Sat Jul 14, 2018 12:02 am    Post subject: Reply with quote

That Is Impossible to Doing on Cheat Engine Trainer LUA Scirpt
because Cheat Engine made for Cheating, Apply Some Hacks,
Its not a Macro Recorder or any Auto Clicks
Enjoy Auto Clicks on Visual Studio by Microsoft Software
If Need Some Macro Recorder : Visit : "JITBIT Macro Recorder"on Google
^-^

_________________
Hi Lynxz Gaming
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Sat Jul 14, 2018 1:09 am    Post subject: Reply with quote

cheat engine can control the mouse and keyboard yes
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Sat Jul 14, 2018 9:38 am    Post subject: Reply with quote

some copy/paste from celua.txt in the install directory

getMousePos: returns the x,y coordinates of the mouse
setMousePos(x,y): sets the mouse position

isKeyPressed(key) : returns true if the specified key is currently pressed
keyDown(key) : causes the key to go into down state
keyUp(key) :causes the key to go up
doKeyPress(key) : simulates a key press

mouse_event(flags, x OPTIONAL, y OPTIONAL, data OPTIONAL, extra OPTIONAL) - The mouse_event windows API. Check MSDN for information on how to use

sendMessage(hwnd, msg, wparam, lparam): result - Sends a message to a window. Those that wish to use it, should know how to use it (and fill in the msg id's yourself)


and of course, you can call anything in the windows API using assembly and a thread.

However, CE wasn't really designed for that purpose. If you do want to be able to easily record some actions and then have them automatically repeated for you, you may find a program designed specifically for that purpose to be easier to use with less experience and understanding.

_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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