Posted: Sun Sep 05, 2021 5:15 am Post subject: aobscanregion equivalent in Lua
How do I constrain a Lua AOBScan to a region? I already figured out a way to filter the AOBScan results so that only ones inside the region end up being used but I'm looking for a way to constrain the scan itself to speed it up. I found some people saying that you have to use createMemScan() to do it but I couldn't find any explanations of how to do that.
AOBScan(x,x,x,x,...):
scans the currently opened process and returns a StringList object containing all the results. don't forget to free this list when done
Bytevalue of higher than 255 or anything that is not an integer will be seen as a wildcard
AOBScan(aobstring, OPTIONAL protectionflags, OPTIONAL alignmenttype, OPTIONAL alignmentparam): see above, but here you just input one string
AOBScanUnique(aobstring, OPTIONAL protectionflags, OPTIONAL alignmenttype, OPTIONAL alignmentparam)- Integer: scans for the aobstring and returns the first result it finds and nil if nothing is found. Make sure it is unique as it will return the first result found and will return any random match
AOBScanModuleUnique(modulename, aobstring, OPTIONAL protectionflags, OPTIONAL alignmenttype, OPTIONAL alignmentparam)- Integer : scans for the aobstring in the designated module.
Late reply but making my own MemScan did the trick, thank you! Didn't know every class gets explained in celua.txt, that's very handy and good to know.
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