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 


Progressive AobScan(Ex)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting -> Lua Extensions
View previous topic :: View next topic  
Author Message
panraven
Grandmaster Cheater
Reputation: 26

Joined: 01 Oct 2008
Posts: 666

PostPosted: Fri Nov 24, 2017 8:34 pm    Post subject: Progressive AobScan(Ex) Reply with quote

Execution of AA Script follow some separated step, related to this topic is the step of CE doing AobScan .
AobScan commands (aobscan, aobscanModule, aobscanRegion) generated Defined symbol, but Defined symbol only can be use after AobScan step, so Defined symbol generated by a aobscan cannot be used by another aobscan normally.

There is another step that parsing custom AA command (registerAutoAssemblerCommand), this happened after above Aobscan step, and can use Defined Symbol as input (note: this step cannot use local Label symbol, including the Alloc command symbol).

By moving the standard aobscan command to a custom AA command, it is possible to do progressive aobscan which its parameter using previous scan result. That behaviour is best for AobScanRegion command.

The attached script provide such command, AobScanEx.

format:
Code:

  AobScanEx(symbolName [:ScanType], original_AobScan_parameters)
  default ScanType is 'Region'
eg.
  AobScanEx(sym , addrStart, addrEndExclusive, aob pattern) ->
    AobScanRegion(sym, addrStart, addrEndExclusive, aob pattern )
  AobScanEx(sym: , aob pattern) ->
    AobScan(sym, aob pattern )
  AobScanEx(sym: Module , moduleName, aob pattern) ->
    AobScanModule(sym, moduleName, aob pattern)
  AobScanEx(sym:Region , addrStart, addrEndExclusive, aob pattern) ->
    AobScanRegion(sym, addrStart, addrEndExclusive, aob pattern )


to install, put the *.lua in autorun directory
to include in a *.ct, paste the script content in a suppose-run-once AA script, wrap by {$lua}...{$asm} tags.

bye~



progressiive_aobscanex.lua
 Description:

Download
 Filename:  progressiive_aobscanex.lua
 Filesize:  1.2 KB
 Downloaded:  46 Time(s)


_________________
- Retarded.
dropbox
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 -> Lua Extensions 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