View previous topic :: View next topic |
Author |
Message |
grasmanek94 Master Cheater
Reputation: 0
Joined: 03 Jun 2008 Posts: 283 Location: The Netherlands
|
Posted: Tue Mar 04, 2014 1:46 pm Post subject: How to make parent in cheat engine base address? |
|
|
I have pointers for different players and the offsets are the same for eacht property, so I have grouped all addresses into headers, but is there a way to define a base adress in the header so I don't have to update ALL base addresses (and sometimes offsets... because player 2 has base address of player one but double offsets)
Like:
[Header 1 Name = "Player 1" Base Address = "0x00000010"]
[Health] -> HeaderBaseAddress+Offset
[Header 2 Name = "Player 2" Base Address = "0x00000020"]
[Health] -> HeaderBaseAddress+Offset
?
|
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Tue Mar 04, 2014 3:30 pm Post subject: |
|
|
I don't think headers can do that unless the header is a script. What I do nowadays is make a script that sets the bases to specific addresses.
Code: | [ENABLE]
aobscan(player, A8 1E ?? 0? 00 00 00 00 00 00 00 00 28 12 ?? 03 00 00 00 00 8? 00 00 00 5? 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00)
label(_player)
registersymbol(_player)
player:
_player:
[DISABLE]
unregistersymbol(_player) | (In this case from an aobscan.)
Then in the child entries, I tell them that the base address is _player, then I can simply update the script that sets _player and it'll change the base for every entry that uses it.
_________________
|
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Tue Mar 04, 2014 6:17 pm Post subject: |
|
|
@grasmanek94: in cheat engine, select the records for player 1, press ctrl+c, paste in notepad, search and replace the base addresses/offsets/descriptions here, and copy-paste back in cheat engine.
Or you could also make a lua script that takes all entries under a given header and copies them under a new header, making some fixes in the process.
_________________
DO NOT PM me if you want help on making/fixing/using a hack. |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Tue Mar 04, 2014 6:39 pm Post subject: |
|
|
Instead of giving the children of parent exact addresses give them relative addresses
So add as address 00400500, and then add 4 children under them
give them as address +10, +20 , +30 and +40
they will get as address 00400510, 00400520, 00400530 and 00400540
when you change the parent address, the children change as well
this also works with pointers
and you can copy and then paste those children under another parent. (just select and drag them after paste as paste will paste them as main entries)
_________________
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 |
|
 |
grasmanek94 Master Cheater
Reputation: 0
Joined: 03 Jun 2008 Posts: 283 Location: The Netherlands
|
Posted: Tue Mar 04, 2014 6:42 pm Post subject: |
|
|
Dark Byte wrote: | Instead of giving the children of parent exact addresses give them relative addresses
So add as address 00400500, and then add 4 children under them
give them as address +10, +20 , +30 and +40
they will get as address 00400510, 00400520, 00400530 and 00400540
when you change the parent address, the children change as well
this also works with pointers
and you can copy and then paste those children under another parent. (just select and drag them after paste as paste will paste them as main entries) |
This.
Is.
Epic!
Big life saver, thanks!
|
|
Back to top |
|
 |
|