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 


AoB scan more than 1 line of bytes

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
kent911t
How do I cheat?
Reputation: 0

Joined: 06 Jun 2015
Posts: 5

PostPosted: Thu Jun 11, 2015 11:35 am    Post subject: AoB scan more than 1 line of bytes Reply with quote

So i have a AoB scanner (in lua) which'll scan a line of bytes but how do i get it so it scans 2 lines
Code:
function scanAob(array)
result = nil
scan = createMemScan(true)

memscan_returnOnlyOneResult(scan, true)
memscan_firstScan(scan, soExactValue, vtByteArray, rtTruncated, array, nil, 0x00000000, 0xFFFFFFFF, "*W", fsmNotAligned, nil, true, false, false, false)
memscan_waitTillDone(scan)

result = memscan_getOnlyResult(scan)
result = string.format("%x", result)
result = ("0"):rep(8-#result) .. result
print(result)
end

print("Noclip:")
noclipAddr = scanAob("56 8B F1 83 F8 19 0F 87 ?? 02 00 00 FF 24 85 ??")

Help



Screenshot_1.png
 Description:
Screenshot if you don't get what i want to do
 Filesize:  45.72 KB
 Viewed:  3668 Time(s)

Screenshot_1.png


Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 199

Joined: 25 Jan 2006
Posts: 8518
Location: 127.0.0.1

PostPosted: Thu Jun 11, 2015 12:38 pm    Post subject: Reply with quote

We do not allow online / multiplayer hacking on this site:
http://forum.cheatengine.org/faq.php#0

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    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