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 


Defining a variable address value

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

Joined: 15 Mar 2024
Posts: 5

PostPosted: Wed Feb 19, 2025 7:21 am    Post subject: Defining a variable address value Reply with quote

I have lots of saved addresses which use the same base address but use different pointer offsets.

When I update my table, I typically find the base address then go through each pointer address and manually change the:

"Application.exe"+ xxxxxxxx

But there are dozens of these pointers as I use cheat engine as a debugging tool to track many values.

How in CE may I perform the equivalent of :

var BaseValue = xxxxxxxx;

and then enter

"Application.exe"+ "BaseValue"

into all my addresses and have them update at once.

I've seen this done in tables which others made, but have been unsuccessful in replicating this process.

I know this may seem a "base" question Very Happy, but any guidance would be appreciated
Back to top
View user's profile Send private message
Azuki
Newbie cheater
Reputation: 0

Joined: 18 Feb 2025
Posts: 10

PostPosted: Wed Feb 19, 2025 7:41 am    Post subject: Reply with quote

you can just make the other addresses inherit from the base value in the addresslist since it can be used as a tree, then instead of the full address just apply the offset.

alternatively you can define the variable in an auto assembler script, usually this is paired with the aobScan keyword to automagically get the pointer without having to manually update it
Code:

[ENABLE]
define(pointer, 0xdeadbeef+0xa)
registerSymbol(pointer)

[DISABLE]
unregisterSymbol(pointer)


afterwards you can use pointer in the addresslist
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