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 


Trick On AoB Search?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Iskandar
How do I cheat?
Reputation: 0

Joined: 28 Aug 2014
Posts: 3

PostPosted: Wed Oct 11, 2017 1:24 am    Post subject: Trick On AoB Search? Reply with quote

Hi CE Community, I'm sorry if there is a topic about this, I just couldn't find.

I wanted to ask if there are... "tricks" to search AoB values, like, "bit modifiers"... I don't know how to explain, so, let me show examples:

01 00 00 03 (?? > 00) 00 00

the red part means any value bigger than 00

01 00 00 (01 || 02) 00 00

the red part means 01 or 02

If this function doesn't exists, here is the suggestion.

Thanks in advance and sorry for bad english.
--
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Wed Oct 11, 2017 8:27 am    Post subject: Reply with quote

Code:
local res = assert(AOBScan('01 00 00 0? 00 00'), 'no results found')

for i = 0, res.Count-1 do
  local bt = readBytes(res[i], 6, true)
  if bt[4] - 1 >> 1 == 0 then
    -- do stuff
  end
end

res.destroy()

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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