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 


Cheat Engine 7.0 Combined with AutoHotkey to Auto heal

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

Joined: 08 Oct 2019
Posts: 2

PostPosted: Wed Oct 09, 2019 10:39 am    Post subject: Cheat Engine 7.0 Combined with AutoHotkey to Auto heal Reply with quote

I have heard that it is possible to get a value for CE into AHK but I'm not entirely sure how and mainly what I am trying to do is (if value is under x, press hotkey to drink a potion) it is a pretty simple code I'm just not sure how to do it.
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Wed Oct 09, 2019 11:01 am    Post subject: Reply with quote

im not sure whats AHK, but it sounds like a macro-recorder with image-recognition feature. (like jitbit's macro recorder)

another way to achieve this task is by hooking game function and monitoring your desired value. (its not as easy as it may sounds)

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Meas
Newbie cheater
Reputation: 0

Joined: 31 Oct 2015
Posts: 18

PostPosted: Wed Oct 09, 2019 1:22 pm    Post subject: Reply with quote

If you want to avoid code injection you can monitor the HP by creating a Lua timer to keep checking the value. When it reaches the given threshold you can starts the AHK script .exe that presses the (auto) heal key.

Probably not very efficient to use AHK this way but should be one of the easiest/fastest to do.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Wed Oct 09, 2019 6:35 pm    Post subject: Reply with quote

OldCheatEngineUser wrote:
im not sure whats AHK


Stands for AutoHotKey, it's a script environment/execution setup similar to AutoIT.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Thu Oct 10, 2019 12:02 am    Post subject: Reply with quote

ah ok autoit is great old tool, anyhow why would someone use such tools when CE is around?

the OP can still monitor the value of X, and if its low .. call keybd_event (winapi) signals are generated directly from/to keyboard driver to the active window.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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