Cheat engine lua script error
7 replies



04.05.17 08:20:06 pm
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
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
Something is wrong, the value don't changed or don't scanned '-'
@
xsiN:
To cheat?

To cheat?
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV
@
Communism:
Help me, i want only change the color of chat, because in some islands is hard to see, and the developer don't put a option to change text colors '-'

Help me, i want only change the color of chat, because in some islands is hard to see, and the developer don't put a option to change text colors '-'

...i want only change the color of chat, because in some islands is hard to see, and the developer don't put a option to change text colors...
Hats off.
In which game you want to "change chat color"?
I think there is other way to help you with text reading

I think there is other way to help you with text reading


Why the heck are you even on Cheat Engine?
Its pretty nice for debugging and for testing methods of hiding values from cheaters.
I especially appreciate the speedhack functionality myself.
Perhaps mentioning the game you're trying to hack would help? Btw, something like a constant color value is likely to be statically allocated (ie: green result in scan window), so you could just address that memory directly instead of scanning (see the read/write functions in the Cheat Engine documentation)
EDIT: I just realized that I replied to a 5 month old thread...
EDIT: I just realized that I replied to a 5 month old thread...




