添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Forum

> > Off Topic > Cheat engine lua script error

English Cheat engine lua script error

7 replies
To the start Previous 1 Next To the start

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") 
  -- assuming these should be done for memory reasons 
  fl.destroy() 
  scan.destroy() 
scan.firstScan(soExactValue, vtString, rtRounded, "#0080FF", "#0080FF", 0, 0xffffffffffffffff, "+w", fsmAligned, "4", false, false, false, false) 
Something is wrong, the value don't changed or don't scanned '-' 

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