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 


Easy base address - am I a genius? Possible flaws?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> Pointer tutorials
View previous topic :: View next topic  
Author Message
Drivium
Advanced Cheater
Reputation: 0

Joined: 16 Apr 2013
Posts: 73

PostPosted: Mon May 13, 2019 2:31 pm    Post subject: Easy base address - am I a genius? Possible flaws? Reply with quote

So, it occurred to me that if the whole point of a base address is that it never changes...what difference does it make WHICH pointer you start with...???

So, I load my game into CE and immediately browse assembly. Right out of the gate I see some green addresses. In my case, "cemu.exe" + 83BED5+78. Again, this is a totally random green address. I note that address. Then, I find my player health address.

Now I have a base address and my player health. I subtract my player health address from my base address to get the offset.

Thanks to the help of @TheyCallMeTim13 and @FreeER, I've got this little
ASM script that allows me to give my base address a name:

Code:
[ENABLE]
label(_playerbase)
registersymbol(_playerbase)

Cemu.exe+83BED5+78:
_playerbase:


[DISABLE]
unregistersymbol(_playerbase)


Now, I simply choose to add address manually, add address _playerbase+myfoundhealthoffset and BOOM - permanent health address.

This seems to work through resets, but I'd like to know if any of the pro's here see a potential flaw in this plan. Seems too easy, but so far it IS working.

Hope this helps someone...

Thanks!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 379

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

PostPosted: Mon May 13, 2019 2:49 pm    Post subject: Reply with quote

That only works if your address is static to begin with
_________________
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
Drivium
Advanced Cheater
Reputation: 0

Joined: 16 Apr 2013
Posts: 73

PostPosted: Mon May 13, 2019 2:56 pm    Post subject: Reply with quote

Dark Byte wrote:
That only works if your address is static to begin with


The random green address I found is static, my health address moves.

So, you're saying a dynamic health address may not always be the same distance from a static green address?

I'll verify when I get home. If it turns out my health address is coincidentally the same after every restart....ima be pissed.

I've also set of other player values to use this method and those seem to be working also... I'll double check if those addresses are staying the same after every restart on their own or not.


Last edited by Drivium on Mon May 13, 2019 2:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 379

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

PostPosted: Mon May 13, 2019 2:59 pm    Post subject: Reply with quote

correct
Black addresses can change location.

_________________
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
Drivium
Advanced Cheater
Reputation: 0

Joined: 16 Apr 2013
Posts: 73

PostPosted: Mon May 13, 2019 3:02 pm    Post subject: Reply with quote

Dark Byte wrote:
correct
Black addresses can change location.


What you're saying does make sense... Since I'm not using a pointer, they must be staying the same... GRRR. Makes no sense... This is an emulator...and I AM loading from a save (not a save state, though) each time, so maybe that's why they're staying the same?

I'll have to investigate. I'll start a new game and see if they persist. If I'm wrong, I'll just delete this thread so I'm not spreading bad info.

@Dark Byte EDIT*** So, I've confirmed. It captures changes to my health address and even persists when starting a new game. This. Works. Smile
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 Tutorials -> Pointer tutorials 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