View previous topic :: View next topic |
Author |
Message |
M-Z Advanced Cheater Reputation: 1
Joined: 08 Nov 2014 Posts: 77 Location: Poland
|
Posted: Fri Oct 21, 2016 10:29 am Post subject: ?BUG with user defined symbols |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Fri Oct 21, 2016 10:45 am Post subject: |
|
|
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 |
|
|
M-Z Advanced Cheater Reputation: 1
Joined: 08 Nov 2014 Posts: 77 Location: Poland
|
Posted: Fri Oct 21, 2016 10:49 am Post subject: |
|
|
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 |
|
|
|