Forum

> > Off Topic > Cheat engine lua script error
Forums overviewOff Topic overviewLog in to reply

English Cheat engine lua script error

7 replies
To the start Previous 1 Next To the start

old Cheat engine lua script error

Jededias
User Off Offline

Quote
1
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

Something is wrong, the value don't changed or don't scanned '-'

old Re: Cheat engine lua script error

Flacko
User Off Offline

Quote
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...
To the start Previous 1 Next To the start
Log in to replyOff Topic overviewForums overview