Joined: 09 May 2003
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 '-'
scan = createMemScan()
scan.onScanDone = function(scan)
local fl = createFoundList(scan)
for i=0, fl.Count-1 do
-- assuming these should be done for memory reasons
scan.firstScan(soExactValue, vtString, rtRounded, "#0080FF", "#0080FF", 0, 0xffffffffffffffff, "+w", fsmAligned, "4", false, false, false, false)
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" )