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 i search for a value that only changes twice?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 172

PostPosted: Tue May 11, 2021 8:58 am    Post subject: How do i search for a value that only changes twice? Reply with quote

Im working with the game Rome Total War Remastered.

Im trying to find the address of the Reputation.

But so far i cant find it, because to change reputation, you need to betray your allies.

And it never goes up.

So i can only change the reputation like 2 or 3 times.

It goes from 80 to 40 then to 0.

Then it does not change again.

And it leaves me with thousands of results.

So how do i search further for it?

I tried searching for the exact values 80 and 40. And it gives no results.

It just what i dont understand is how can we search for values that only change 2 times.



12.jpg
 Description:
 Filesize:  570.98 KB
 Viewed:  1934 Time(s)

12.jpg


Back to top
View user's profile Send private message
Birdi
Expert Cheater
Reputation: 0

Joined: 08 Jun 2020
Posts: 122
Location: Migrating

PostPosted: Fri May 14, 2021 10:47 pm    Post subject: Reply with quote

It's likely possible to find just by searching through different datatypes. If you aren't finding it under 4byte exacts, it's probably something else like a float (more likely since it's a %).

Try searching for the floats 0.8, 0.4, etc.
Back to top
View user's profile Send private message Visit poster's website
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 172

PostPosted: Sat May 15, 2021 9:18 am    Post subject: Reply with quote

Thank you. But i got no results. I tried floats 0.8, then changed it, decrease value, also exact value another time. Also tried 8.0. Sad Sad Sad
Back to top
View user's profile Send private message
Birdi
Expert Cheater
Reputation: 0

Joined: 08 Jun 2020
Posts: 122
Location: Migrating

PostPosted: Sat May 15, 2021 12:06 pm    Post subject: Reply with quote

Then, my next best suggestion would be to generate a pointermap and iterate through the results of that between restarts, as it should allow you to find the common base address, but there may be better suggestions available.
Back to top
View user's profile Send private message Visit poster's website
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 172

PostPosted: Sat May 15, 2021 1:58 pm    Post subject: Reply with quote

So in that case the first search of the pointer map is supposed to be blank?
Or what do i search for considering we dont know how the system is representing the value?
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 Gamehacking 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