Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Thu May 04, 2017 2:52 pm Post subject: Re: Don't scan or don't change, what is the error? |
|
|
jededias wrote: | Sorry for spam, but i need this code, I used this lua script in a button, when I press a button it don't search or don't changed.
I try in cheat engine, and All values remains #0080FF '-'
Code: | function CEButton1Click(sender)
scan = createMemScan()
scan.onScanDone = function(scan)
local fl = createFoundList(scan)
fl.initialize()
for i=0, fl.Count-1 do
writeString(fl.Address[i], "#D3FFCE")
end
-- assuming these should be done for memory reasons
fl.destroy()
scan.destroy()
end
scan.firstScan(soExactValue, vtString, rtRounded, "#0080FF", "#0080FF", 0, 0xffffffffffffffff, "+w", fsmAligned, "4", false, false, false, false)
end |
|
are you sure the text is on a writable address ? ( because you tell it with the +w that it HAS to be writable )
and is the text on that address dividable by 4 ( fsmAligned, "4" )
_________________
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 |
|