Sanglante Cheater Reputation: 0
Joined: 27 Sep 2018 Posts: 43
|
Posted: Fri Nov 08, 2019 8:45 am Post subject: AOBScanRegion help |
|
|
Hi.
I'm starting a bit lua with an existing script i've found.
I try to make it a bit faster
When it start it scan process to find thoose with good name then scan all of them with this code to find the good one
Code: | local res = AOBScan("88 81 ?? ?? ?? ?? 8B 82 ?? ?? ?? ?? 83 F8 00 0F 8F")
if res ~= nil then
for i=0, res.Count-1, 1 do
print(string.format('Found Scan Test At 0x%s', res[i]))
print('\n\n')
CorrectProcess = PID
res.destroy()
end
end |
i want to reduce this scan with and AOBScanRegion cause i'm sure my result is in a specific range of memory with :
Code: | AOBScanRegion(0x0, 0x10000000, "88 81 ?? ?? ?? ?? 8B 82 ?? ?? ?? ?? 83 F8 00 0F 8F") |
result in this :
Error:[string "controlMainForm = getMainForm()
..."]:222: attempt to call a nil value (global 'AOBScanRegion')
Any help ? is it possible to do this?
|
|