Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Next Scan and charge

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Firered
Cheater
Reputation: 0

Joined: 22 May 2012
Posts: 26

PostPosted: Sat Aug 18, 2012 3:51 pm    Post subject: Next Scan and charge Reply with quote

I need to search some values​​, and then give Next Scan, and get the values ​​found and exchange them.
technically this value array of byte:

x

and then give next scan and charge the values for:

y

I researched about memscan_nextscan but i not found nothing.


Last edited by Firered on Sun Aug 19, 2012 2:02 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25808
Location: The netherlands

PostPosted: Sat Aug 18, 2012 5:00 pm    Post subject: Reply with quote

I'm not really clear on what you're asking, or why you want to do this.
Anyhow, main.lua contains everything you need (also the helpfile)

I assume you already know how to use the MemScan class object to do a first scan and read the results.

Quote:

memscan_firstScan(memscan, scanoption, vartype, roundingtype, input1, input2 ,startAddress ,stopAddress ,protectionflags ,alignmenttype ,"alignmentparam" ,isHexadecimalInput ,isNotABinaryString, isunicodescan, iscasesensitive);


Quote:

memscan_nextScan(memscan, scanoption, roundingtype, input1,input2, isHexadecimalInput, isNotABinaryString, isunicodescan, iscasesensitive, ispercentagescan, savedresultname OPTIONAL);

nextscan is mostly like first scan, except no vartype, addressrange, protection flags, and alignment info
But it does add a extra optional parameter for saved results in the current scan session of the selected memscan object (just ignore it)

_________________
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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites