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 


Multiplying/dividing values

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

Joined: 15 Aug 2015
Posts: 45

PostPosted: Fri Oct 22, 2021 1:04 pm    Post subject: Multiplying/dividing values Reply with quote

How can a person tell if a value needs to be multiplied or divided? I had some trouble with a game where I couldn't find the value because I didn't know I had to divide the number by 100. I know Flash games sometimes need to be multiplied by 8 to work. Is there a way to tell?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Fri Oct 22, 2021 1:41 pm    Post subject: Reply with quote

find it using unknown initial value scans and then figure out how it's stored. (play with the value in a calculator and look at the bytes)

e.g if the value is 12345 and ingame it's 123 then you can assume it's stored multiplied by 100 and ignore tbe last 2 digits, so scan between for 12300 and 12399

same for *8 which is just a bitshift of 3. (you actually have to do a rangescan for these as well, as the 3 bits don't have to be zero)

_________________
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
StarfireTBT
Cheater
Reputation: 1

Joined: 15 Aug 2015
Posts: 45

PostPosted: Fri Oct 22, 2021 4:05 pm    Post subject: Reply with quote

So if I can't find a value play with a calculator to guess if it's multiplied or divided? Sounds like I'm shooting in the dark.

By searching for a range you mean

unknown initial value > changed by 3 (search for 3-30 total change as in 3*1-10) > if I find a value that changed by 24 then it's 3*8 and now I know to multiply by 8?
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