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 


How does cheat engine search?

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

Joined: 14 Aug 2007
Posts: 372

PostPosted: Tue Feb 17, 2009 8:36 pm    Post subject: How does cheat engine search? Reply with quote

How does cheat engine search addresses?

I am wanting a technical explanation... Like the method it uses to not lag and to do it quickly...

Does it copy the addresses to its memory, then search? Or does it search directly through the processes memory?

I making my own hacking tools, and want to know...
Back to top
View user's profile Send private message
Snow1337
Catastrophic Cheatah
Reputation: 1

Joined: 12 Oct 2004
Posts: 183
Location: Your, Computer

PostPosted: Wed Feb 18, 2009 9:46 am    Post subject: Reply with quote

Well im not going to get all technical with it because theres no sense in me wasting time when it can be answered simply.

It searches through the process (game/program) for certain values that correspond to addresses (4 byte hex)

LOL SIMPLE, RIGHT?

_________________
Back to top
View user's profile Send private message Visit poster's website
lnquisitor
Cheater
Reputation: 0

Joined: 03 Feb 2009
Posts: 26
Location: In an array of bytes.

PostPosted: Wed Feb 18, 2009 1:03 pm    Post subject: Reply with quote

As far as I understand, cheat engine analizes the values of each memory "Box" (Address) and searches those which match your value. Modern PC's can handle many operations at a time, so its not a problem.
Back to top
View user's profile Send private message
Chaosis13
Master Cheater
Reputation: 0

Joined: 14 Aug 2007
Posts: 372

PostPosted: Wed Feb 18, 2009 5:31 pm    Post subject: Reply with quote

YES IT IS SIMPLE, I already knew that.

I mean what METHOD does it use?

When I use a DLL file using pointers and checking each one individually it works fine for small regions. BUT, when I search through areas bigger than.... lets say 400000 bytes it crashes. So does cheat engine do something special so it doesn't crash?[/b]
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

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

PostPosted: Wed Feb 18, 2009 5:47 pm    Post subject: Reply with quote

http://ce.colddot.nl/wiki/memscan describes some of it

Anyhow, in short: It uses VirtualQuery to find out which memory regions are readable and then reads those regions

Also, you still have to use a try/except or suspend all threads except the scanner thread, else it may happen a block of memory gets freed by the other threads while your thread is scanning.

_________________
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
Chaosis13
Master Cheater
Reputation: 0

Joined: 14 Aug 2007
Posts: 372

PostPosted: Wed Feb 18, 2009 9:34 pm    Post subject: Reply with quote

oh... ty!

I was searching through everything, this will help alot!
Back to top
View user's profile Send private message
lylcheat
Cheater
Reputation: 0

Joined: 14 Feb 2009
Posts: 27
Location: Planet 3 Solar System Orion Arm Spiral Galaxy Milky Way

PostPosted: Sun Mar 01, 2009 4:45 am    Post subject: Reply with quote

I also wonder how it locate byte boundary of multi-byte values (like float/double). Any 1 knows?
For example, for a single 4 byte value, it could mean these 4 addresses:
(0x200000, 0x200001,0x200002,0x200003) or these 4
(0x200001, 0x200002,0x200003,0x200004) or these 4
(0x200002,0x200003,0x200004, 0x200005) ,etc
Does it simply search for all possible combinations?
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