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 


Counting how many times an address returns a specific value?

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

Joined: 24 Feb 2013
Posts: 41

PostPosted: Mon Oct 10, 2016 2:47 am    Post subject: Counting how many times an address returns a specific value? Reply with quote

So I want to count something in my script and display it elsewhere, possibly at another address. The problem is I really just don't know where to start looking to find out what I need to know.

Lets assume at 00432933 address, it returns a 4 byte value that changes every second. I want to capture/count how many times it returns a specific 4 byte value.

How can I accomplish this?

Thank you.


EDIT:: I figured out a way, i just allocated a new memory, and set the value 0 at that address then when i did my cmp function i just made an inc on the allocated address, seems to work fine.

Just curious if there is another/better way to do this?
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