View previous topic :: View next topic |
Author |
Message |
fader How do I cheat? Reputation: 0
Joined: 11 Nov 2016 Posts: 7
|
Posted: Sat Sep 02, 2017 7:22 am Post subject: Register symbol with address |
|
|
Hi,
what i need is to have registered symbol with address so i can use it as base pointer so i figured out this:
[ENABLE]
registersymbol(merc1)
alloc(newmem,2048)
alloc(merc1,
newmem:
mov [merc1],0A14339D
[DISABLE]
unregistersymbol(merc1)
dealloc(newmem)
dealloc(merc1)
i did somthing wrong becouse when i use merc1 as pointer the address is 00 instead 0A14339D can someone help me?
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Sat Sep 02, 2017 8:11 am Post subject: |
|
|
this make no sense, if 0A14339D is static address just add to the list.
if not, then its useless.
find the instructions that is related to your address, then load it into the new address.
_________________
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 |
|
|
fader How do I cheat? Reputation: 0
Joined: 11 Nov 2016 Posts: 7
|
Posted: Sat Sep 02, 2017 8:24 am Post subject: |
|
|
well it is static but only for merc1 and i have like 30 addresses withs stats of merc1 that are calculted from 0A14339D
there can be like 60 mercs all of them with their stats and i dont wanna change table each time i select different mercs
so i was thinking that i can register symbol with and address then make a table with this symbol and when i change mercs all i need to do will be change the addres only in one place and not the whole table
|
|
Back to top |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Sat Sep 02, 2017 10:57 am Post subject: |
|
|
Code: | [ENABLE]
globalalloc(merc1,4)
merc1:
dd 0A14339D
[DISABLE]
|
You could modify it to use alloc and registerSymbol if you needed to dealloc and unregister it for some reason, alternatively
Code: | [ENABLE]
label(merc1)
0A14339D:
merc1:
registerSymbol(merc1)
[DISABLE]
unregisterSymbol(merc1)
|
The first gives you an symbol/address that stores the address of merc1 while the second just makes a symbol at the address of merc1
Though you can also manually add symbols by opening the user defined symbols from the memory viewer's "view" menu.
Then you could have everything nested underneath one record with the address of merc1 and the nested items would use an address of +offset instead of merc1+offset, or you could actually have a memory address that you change to merc1 etc.
|
|
Back to top |
|
|
fader How do I cheat? Reputation: 0
Joined: 11 Nov 2016 Posts: 7
|
Posted: Sat Sep 02, 2017 11:48 am Post subject: |
|
|
FreeER THANK YOU VERY MUCH MATE
That was exactly what i need
|
|
Back to top |
|
|
|