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 


How do you find address that changes only once?

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

Joined: 22 Jan 2015
Posts: 59
Location: VN

PostPosted: Fri Oct 23, 2015 3:53 am    Post subject: How do you find address that changes only once? Reply with quote

How do you find address that changes only once?

For example:

In Red Alert 2, you can use Spy on barrack to rank up the training by 1. And can only done once per match.

And of course, the address for RA2 isn't static. It changes every match.

So how do you do it? Is there any way to work around this?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 154

Joined: 06 Jul 2014
Posts: 4754

PostPosted: Fri Oct 23, 2015 9:41 am    Post subject: Reply with quote

You could try the pointer scanner if you're sure of what the initial and the final values are. Open up the memory view (Ctrl+M), then open up the pointer scanner (Ctrl+P), start a new scan (Ctrl+P), and select "value to find". Scan it, change your value, then rescan your pointer list with the new value. Using this, you might be able to find a pointer to the value you're looking for that's consistent between matches.

If the pointer scanner doesn't work out, I can't think of any easy way. You can search for the initial value hundreds of times while you're playing the game and not changing the value you're trying to find, then just change it and immediately scan for your new value. This might lower the number of results to anywhere from less than a hundred to a few thousand.

Then, it's just a matter of guessing. You could find some other values that are somewhat related to it (e.g. health and maxhealth, mana and maxmana), and the address you're looking for will probably be near that other address. This can help you guess which value you're looking for.

If you don't want to spend the time to guess, you could find values kind of related to it, then look through the structure that value is a part of, and you might be able to find it if you're really lucky. More likely than not the value you're looking for is in another structure that may or may not be easy to find from your current structure.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Fri Oct 23, 2015 10:16 am    Post subject: Reply with quote

Maybe you'll get lucky and you can simply find the barrack's health value.
Take a very large AOB screenshot of its base address before and after the spy.
There may exist a flag in that same structure that determines whether a spy has already been used.
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Fri Oct 23, 2015 3:27 pm    Post subject: Reply with quote

This game is moddable so grab the mod tools and see if you have a way to make the spy's ability reusable, or if you can just boost its effect.
_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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