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 


Writing a simple memory scanner(C languages)

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

Joined: 30 Aug 2011
Posts: 114
Location: ::1

PostPosted: Sat Jun 15, 2013 4:12 pm    Post subject: Writing a simple memory scanner(C languages) Reply with quote

Hi. Sorry, but where should I start gathering the basic knowledge required to make a small but efficient memory scanner? I'm tempted to just have an index going from 0 to a big number, but I have a feeling that's going to be a lot less efficient than what a small amount of work would achieve.
[Note: I do NOT plan on making an alternative/competitor to Cheat Engine. I just want to rewrite my current exploits that are in CE.Lua in C++ for knowledge, experience and making tabs for categories.]
Back to top
View user's profile Send private message
logical_operator
How do I cheat?
Reputation: 1

Joined: 17 Jun 2013
Posts: 5

PostPosted: Mon Jun 17, 2013 8:11 pm    Post subject: This post has 1 review(s) Reply with quote

Use GetSystemInfo to get the start-to-end range from which you can scan, then loop VirtualQueryEx to enumerate the allocated pages, while using ReadProcessMemory to read each page.
Back to top
View user's profile Send private message
booingthetroll
Expert Cheater
Reputation: 0

Joined: 30 Aug 2011
Posts: 114
Location: ::1

PostPosted: Mon Jun 17, 2013 9:09 pm    Post subject: Reply with quote

Thanks.
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 programming 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