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 


Script to automate change of known values in CE

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

Joined: 30 Oct 2015
Posts: 2

PostPosted: Tue Oct 17, 2017 3:01 am    Post subject: Script to automate change of known values in CE Reply with quote

Hello,
I'm beginner in CE world so maybe my question will seems to be easy.I'm sorry if that question have already been asked. I haven't found exact tutorial for that after googling it for some hours.
I'll try to explain that correctly Very Happy

I have a game where i have one unit type with HP/MAXHP and DPS. These are float values. HP & DPS have the same value each games i start. I have found Base address for HP but unable to find DPS Base Address (Need more skill) Confused.

I can find both of them directly in 2 separate scan when i search them so, i would like to know if it's possible to have a LUA script that automates find and modify value that i can associate with a hotkey ?
Values are static in each game, for exemple:

22,2556156156 for DPS
405,348415614 for UNIT HP
405,348415614 for UNIT MAXHP

Is it possible to have a script linked to a hotkey that search for theses values and when found replace values by XXXXXX for DPS and YYYYYYY for HP /MAXHP ?

Thank you so much for reply
Wink
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Tue Oct 17, 2017 9:52 am    Post subject: Reply with quote

you choose whether to make a script or just pointer scan the address and assign a hotkey to that pointer.
CTRL-H to set a hotkey or right click the address or the script and choose set hotkey.

for pointers, find your current health address then right click it and choose pointer scan this address.

for script, see what instruction is writing to your health address when you are taking a damage.
if you found the instruction then right click it and see what addresses this instruction accesses from memory view window, if it only show your health then you are good to go for making a script if it's not only you then you need to separate your health from enemies.

_________________
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
thek
How do I cheat?
Reputation: 0

Joined: 30 Oct 2015
Posts: 2

PostPosted: Tue Oct 17, 2017 3:59 pm    Post subject: Reply with quote

I finally did it with AOB. 4 different scripts that find and replace AOB signatures that i found. Each of them with same hotkey. Works perfectly Very Happy

Thank you for reply OldCheatEngineUser
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 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