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 


?BUG with user defined symbols

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
M-Z
Advanced Cheater
Reputation: 1

Joined: 08 Nov 2014
Posts: 77
Location: Poland

PostPosted: Fri Oct 21, 2016 10:29 am    Post subject: ?BUG with user defined symbols Reply with quote

I don't know if it is a bug or a feature, but what is the rationale for user symbols being discarded if one makes mistake of loading Cheat Table before attaching to a process. For example I always like to have quick translation from IDA addresses to CE addresses i.e. not having to write exec name all the time, so I define symbol X = programName.exe. So if I have address in IDA =123456, I go to CE and press CTRL+G and then I write X+123456. If it is discarded I have to redefine this symbol again.

It is even worse when I debug stuff and figure out what some function does; I make a name for it: DoSomething = programName.exe+123456.
When I later make a run in which I do not use those symbols, but make change to cheat table and overwrite the original file, this work is all lost.
Back to top
View user's profile Send private message Send e-mail
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Fri Oct 21, 2016 10:45 am    Post subject: Reply with quote

Userdefined symbols are stored in the cheat table. Loading a table will clear it. Although i guess merge would be better if asked
_________________
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
M-Z
Advanced Cheater
Reputation: 1

Joined: 08 Nov 2014
Posts: 77
Location: Poland

PostPosted: Fri Oct 21, 2016 10:49 am    Post subject: Reply with quote

What I meant is that if I start CE for the first time (so there are no symbols) and load table which contains them before attaching to process, they are being purged. I assume CE checks whether those symbols are valid and since there is no process "active", every symbol which points to that process base address is invalid.

EDIT: Although as I think about this, I see a potential of creating a big mess after couple of "loads" if those purges do not occur. So I am thinking about workaround.
Is there a way to define a symbol pointing to process base address in AutoAssembly scripts? Because I noticed those symbols never gets purged.
Sth like this, but working, because this doesn't:
Code:

registerSymbol(X)

X:
eu4.exe:
Back to top
View user's profile Send private message Send e-mail
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