View previous topic :: View next topic |
Author |
Message |
Kamd Cheater
Reputation: 1
Joined: 02 May 2018 Posts: 28
|
Posted: Sat Aug 31, 2019 11:27 pm Post subject: Questions about AOBScan |
|
|
I have a few questions about AOBScan:
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25806 Location: The netherlands
|
Posted: Sun Sep 01, 2019 12:06 am Post subject: |
|
|
1: create getCPUCount() instances of MemScan that all scan a different region (Use enumMemoryRegions() to split up more evenly)
Don't waittilldone until all instances are created
If you have more than one AOB, use autoassemble() as it will then do an aob groupscan
2: Always free the list when it returns anything that isn't nil. Just result.destroy() is enough And yes, you can copy it if you like
3: yes, write a wrapper function if you wish to do that
_________________
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 |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1526
|
Posted: Wed Sep 11, 2019 9:17 am Post subject: |
|
|
The fastest search and replacement I'm currently using :
Code: | function CEButton1Click(sender)
local script = ([[
[ENABLE]
Aobscan(_code1,d0 30 d0 66 ?? ?? 20 14)
_code1:
db d0 30 24 00 48 ?? 20 14
[DISABLE]
]]);
autoAssemble(script)
showMessage("Done")
end |
or Multi:
Code: | function CEButton1Click(sender)
local script1 = ([[
[ENABLE]
Aobscan(_code1,d0 30 d0 66 ?? ?? 20 14)
_code1:
db d0 30 24 00 48
[DISABLE]
]]);
local script2 = ([[
[ENABLE]
Aobscan(_code2,D0 24 FF ?? ?? ?? ?? ??)
_code2:
db D0 25 F8 55 02 02 02 02
[DISABLE]
]]);
autoAssemble(script1)
autoAssemble(script2)
showMessage("Done")
end |
_________________
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Thu Sep 12, 2019 10:55 am Post subject: |
|
|
multi would be better to do in one script:
Code: | function CEButton1Click(sender)
local script = [[
[ENABLE]
Aobscan(_code1,d0 30 d0 66 ?? ?? 20 14)
Aobscan(_code2,D0 24 FF ?? ?? ?? ?? ??)
_code1:
db d0 30 24 00 48
_code2:
db D0 25 F8 55 02 02 02 02
[DISABLE]
]]
autoAssemble(script)
showMessage("Done")
end |
Dark Byte wrote: | If you have more than one AOB, use autoassemble() as it will then do an aob groupscan |
_________________
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25806 Location: The netherlands
|
Posted: Thu Sep 12, 2019 12:57 pm Post subject: |
|
|
accidentally slipped in the last post release patch of CE, so you might want to try that one
It uses multiple threads over different regions, and the thread that gets it first will terminate the other scanners and return the result. (so make sure it is in fact unique as it's not going to return the first result in memory)
_________________
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 |
|
 |
|