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 


so I found all the pointers. what to do next?

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

Joined: 19 Feb 2015
Posts: 28

PostPosted: Mon Jul 20, 2015 1:15 am    Post subject: so I found all the pointers. what to do next? Reply with quote

In the game I want to "cheat" or "hack" I found out the pointers that interest me.

I do not want to change their value. I want to monitor them instead.

Eventually I want to create an executable that will monitor these pointers.

For example I want to create something like:

if (healthpointervalue < 100)
play that sound.

Any help/guidance?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon Jul 20, 2015 4:04 pm    Post subject: Reply with quote

Code:
WARN_HEALTH = true
timer=createTimer(nil)
timer.Interval = 3000
timer.OnTimer = function(timer)
  if readFloat("health_pointer") < 100.0 then
    if WARN_HEALTH then
      playSound(findTableFile("Activate"))
      WARN_HEALTH = false
    end
  else
    WARN_HEALTH = true
  end
end
timer.Enabled = true
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 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