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 


Injected scanning for opcodes...

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

Joined: 21 Feb 2009
Posts: 107

PostPosted: Sat Mar 21, 2009 1:11 am    Post subject: Injected scanning for opcodes... Reply with quote

I've got my algorithm down, except for one crucial element:

When using Mod32First/Mod32Next I get crazy mixed up results that make my program miss sectors.

If i just scan regions using VirtualQuery alone, it gets stuck scanning regions with allocation size of 0, and takes FOREVER.

This is my little snippet before scanning a region:

Code:

if (mbi.State == MEM_COMMIT  && size == sizeof(MEMORY_BASIC_INFORMATION) && mbi.RegionSize > 0 && mbi.AllocationBase > 0)
{
 // scan region for opcodes
}


It'll get stuck incrementing regions of 0, which basically takes eternity... but the Mod32Next/first give horrible results.. any ideas?!?!?
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