 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Yuuki's How do I cheat?
Reputation: 0
Joined: 14 Feb 2021 Posts: 6
|
Posted: Sun Feb 14, 2021 9:57 am Post subject: Combine LUA Script with Auto Assembler Script |
|
|
First sc :
local memsk = createMemScan()
memsk.firstScan(soExactValue, vtString, nil, "Lutzynthse", nil, 0, 0x7fffffffffffffff, "+W-C", fsmNotAligned, nil, nil, nil, false, true)
memsk.waitTillDone()
local foundsk = createFoundList(memsk)
foundsk.initialize()
for i=0, foundsk.Count-1 do
writeString(foundsk.Address[i], "Lutzunthse")
end
foundsk.deinitialize()
foundsk.destroy()
memsk.destroy()
Second sc :
[ENABLE]
aobscanmodule(Rapid,target.exe,80 7b ? ? 74 ? 85 ff 0f 85)
Rapid:
db 80 7B 50 01 74 73
registersymbol(Rapid)
[DISABLE]
Rapid:
db 80 7B 50 00 74 73
unregistersymbol(Rapid)
-----------------------------------------
Merging those 2, giving error : syntax error near 'aobscanmodule'
Looking out for you guys answers... thanks :3
|
|
Back to top |
|
 |
blankTM Cheater
Reputation: 1
Joined: 03 May 2020 Posts: 49
|
Posted: Sun Feb 14, 2021 7:49 pm Post subject: Re: Combine LUA Script with Auto Assembler Script |
|
|
Code: |
{$lua}
if syntaxcheck then return end
local memsk = createMemScan()
memsk.firstScan(soExactValue, vtString, nil, "Lutzynthse", nil, 0, 0x7fffffffffffffff, "+W-C", fsmNotAligned, nil, nil, nil, false, true)
memsk.waitTillDone()
local foundsk = createFoundList(memsk)
foundsk.initialize()
for i=0, foundsk.Count-1 do
writeString(foundsk.Address[i], "Lutzunthse")
end
foundsk.deinitialize()
foundsk.destroy()
memsk.destroy()
{$asm}
[ENABLE]
aobscanmodule(Rapid,target.exe,80 7b ? ? 74 ? 85 ff 0f 85)
Rapid:
db 80 7B 50 01 74 73
registersymbol(Rapid)
[DISABLE]
Rapid:
db 80 7B 50 00 74 73
unregistersymbol(Rapid)
|
|
|
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
|
|