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 


User defined symbols that are pointers

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
SwaggaJackin'
Master Cheater
Reputation: 2

Joined: 06 Nov 2009
Posts: 304

PostPosted: Mon Jun 26, 2017 5:03 pm    Post subject: User defined symbols that are pointers Reply with quote

Is it possible to add a symbol that is a pointer?

I.E.

"myDLL.dll"+00D6CCE0 points to 0xABCDEFFF
I want to create a symbol that will have the value of the address pointed at (0xABCDEFFF).

Not sure how to do this. Thanks.

EDIT:

Figured it out, you just put the address in brackets '[' ']'

i.e. ["myDLL.dll"+00D6CCE0]

EDIT 2:

Is there a way to user define a symbol using a script or other autoloading method using a static address?

The auto assembler doesn't allow doing something like:

Code:

[ENABLE]
registersymbol(TEST)

TEST:
["myDLL.dll"+00D6CCE0]

[DISABLE]
unregistersymbol(TEST)



Any other way? Thanks.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon Jun 26, 2017 5:22 pm    Post subject: Reply with quote

Add a colon and swap with the label
Code:
["myDLL.dll"+00D6CCE0]:
TEST:


Last edited by Zanzer on Mon Jun 26, 2017 5:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
SwaggaJackin'
Master Cheater
Reputation: 2

Joined: 06 Nov 2009
Posts: 304

PostPosted: Mon Jun 26, 2017 5:25 pm    Post subject: Reply with quote

Zanzer wrote:
Add a colon
Code:
["myDLL.dll"+00D6CCE0]:


Yes but I want that address to be a symbol, how would that be done? Thanks.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon Jun 26, 2017 5:28 pm    Post subject: Reply with quote

Edited the answer, swap the two labels.
Back to top
View user's profile Send private message
SwaggaJackin'
Master Cheater
Reputation: 2

Joined: 06 Nov 2009
Posts: 304

PostPosted: Mon Jun 26, 2017 5:29 pm    Post subject: Reply with quote

Zanzer wrote:
Edited the answer, swap the two labels.


Thanks but unfortunately it isn't working.

EDIT:

Code:

[ENABLE]
registersymbol(TEST)

["myDLL.dll"+00D6CCE0]:
TEST:

[DISABLE]
unregistersymbol(TEST)


Getting the error message "TEST was supposed to be added to the symbollist, but it isn't declared"
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 42

Joined: 09 Nov 2005
Posts: 2672

PostPosted: Mon Jun 26, 2017 7:20 pm    Post subject: Reply with quote

label(TEST)
_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
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