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 


Continuous Memory Scanner

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
dynamicmale
How do I cheat?
Reputation: 0

Joined: 03 Nov 2012
Posts: 3

PostPosted: Wed Oct 22, 2014 2:24 pm    Post subject: Continuous Memory Scanner Reply with quote

I want to write a script to attach scanner to some process (as soon as process is invoked) and contiuously scan memory of that process and whenever given sequence of AOB found, replace it with another given sequence of AOB. The scan keeps running as long as process is running.

Any help will be really appreciated. Thanks in advance.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Wed Oct 22, 2014 5:13 pm    Post subject: Reply with quote

you could create a timer or a thread with infinite loop (I recommend timer to save your cpu)
and in there call :
Code:

r=AOBScan("AR RA YO FB YT ES")
if r~=nil then
  local i
  for i=0, r.count-1 do
    writeBytes(r[i], {0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6})
  end
  r.destroy()
end

_________________
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


Last edited by Dark Byte on Thu Oct 23, 2014 3:42 pm; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
dynamicmale
How do I cheat?
Reputation: 0

Joined: 03 Nov 2012
Posts: 3

PostPosted: Thu Oct 23, 2014 2:57 pm    Post subject: Reply with quote

Thanks. I will try this and get back to you if any questions.
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 Lua Scripting 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