DxKE How do I cheat? Reputation: 0
Joined: 30 Sep 2021 Posts: 7
|
Posted: Tue Oct 12, 2021 3:29 pm Post subject: |
|
|
Code: | function dxkebinary(x, y)
if
local scan = createMemScan(true)
scan.setOnlyOneResult(false)
scan.firstScan(
soExactValue,
vtBinary,
rtRounded,
x,
nil,
0,
0xffffffffffffffff,
"",
fsmNotAligned,
nil,
false,
true,
false,
false
)
scan.waitTillDone()
--Fetch result
local FoundList = createFoundList(scan)
FoundList.initialize()
--Overwite
for i = 0, FoundList.Count - 1 do
--print(FoundList.Address[i]);
writeInteger(FoundList.Address[i], y)
end
return true
end
|
You can use this as a base and convert it to scan for string instead of binary. Check celua.txt .
Then call this function with a hotkey like this
Code: |
createHotkey(
function(sender)
dxkebinary(x,y)
end, VK_F2)
|
|
|