|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
longxx How do I cheat? Reputation: 0
Joined: 24 Oct 2010 Posts: 7
|
Posted: Wed Jul 06, 2011 3:51 pm Post subject: Is there way to define AOBScan Scan range? |
|
|
Hi all,
I'm trying to write a Lua script to automate a series of pattern scans of Read/executable only memory regions
Some draft looks like this (thanks Dark_byte for the hint)
Code: |
results=AOBScan("30", "+X-W")
totalfound=strings_getCount(results)
first=strings_getString(results,0)
second=strings_getString(results,1)
showMessage( string.format(
"Total result found: %s\nFirst result: %s \nSecond result: %s",totalfound, first,second ) )
|
the long term goal is make this into some sort of table to search/display results of different searches
My question is.... is there way to define the Scan range for AOBScan? Like in regular CE windows you can define the Start/Stop point of a memory scan. I do not see option this in the function prototype.
thanks.
thanks
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Wed Jul 06, 2011 4:07 pm Post subject: |
|
|
Only using the protection flags to include only read only executable memory.
For more control you have to use the memscan/foundlist class combination. There you can do a full cheat engine scan, including next scans and random access to the foundlist, even if it has a million found results
Of course, keep in mind that the start/stop region WILL be different for other people, unless you specify modulenames explicitly (so don't blindly give as address 20000000 to 30000000 because it's usually there for you)
_________________
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 |
|
|
|
|
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
|
|