|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Thu Nov 30, 2017 4:17 pm Post subject: Help me to Make First and next scan Using Codepagestring |
|
|
Edit this script to work with
-first and next scan
-the values to be Entered and Scanned Codepage string .
-the script contain 2 Buttons (first -next scan ) and 1 edit box , the user could enter the codepage string in the edit box and hit first scan then next scan .
Code: |
function CEButton1Click(sender)
writeString(byuser, getProperty(CEselectorTrainer.CEEdit1,"Text"))
scan.firstScan(soExactValue,vtString,Codepage,byuser,nil,0,0xffffffffffffffff,"",fsmNotAligned,nil,false,false,false,false);
scan.waitTillDone();
local FoundList=createFoundList(scan);
FoundList.initialize();
for i=0,FoundList.Count-1 do
local s=FoundList.Address[i]
print(s)
end
end
function CEButton2Click(sender)
writeString(byuser, getProperty(CEselectorTrainer.CEEdit1,"Text"))
scan.nextScan(soExactValue,vtString,Codepage,byuser,nil,0,0xffffffffffffffff,"",fsmNotAligned,nil,false,false,false,false);
scan.waitTillDone();
local FoundList=createFoundList(scan);
FoundList.initialize();
for i=0,FoundList.Count-1 do
local k=FoundList.Address[i]
print(k)
end
end |
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Thu Nov 30, 2017 4:34 pm Post subject: |
|
|
just add
before you start the scan
also
Code: |
nextScan(scanoption, roundingtype, input1,input2, isHexadecimalInput, isNotABinaryString, isunicodescan, iscasesensitive, ispercentagescan, savedresultname OPTIONAL);
|
your code seems a bit off
_________________
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 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|