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 


Cheat Engine Forum Index
PostGo back to topic
FreeER
Grandmaster Cheater Supreme
Reputation: 53
Joined: 09 Aug 2013
Posts: 1091

PostPosted: Wed Jul 19, 2017 7:38 pm    Post subject:

Dr.Disrespect wrote:
Say, if the address is 0x10000000, how do I assign this address to firstscan function as a parameter?


Just set the start address to that value and stopAddress to whatever you want.

Code:
local startAddress = 0x10000000
local stopAddress = startAddress + 0x2000
-- scans 0x2000 bytes starting from 0x1000000
-- you could also set the stopAddress to the default the CE builtin uses
-- 0x7FFFFFFFFFFFFFFF I think, though it might be all Fs


You don't need them to be variables by the way, you could just as easily use

Code:

   ms.firstScan(soExactValue, vtByteArray, nil, "EB 81 C4 B5 C4 D1 A4 55 00", nil, 0x10000000, 0x30000000,
                             "", nil, nil , true, nil, nil, nil)
Back to top
View user's profile Send private message
Post reviews:   Approve 1
Author Review
Dr.Disrespect
Review: Approve
Post reference:
ReviewPosted: Wed Jul 19, 2017 7:48 pm

problem solved
Back to top
View user's profile Send private message
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites