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 


Search within Scan Results

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

Joined: 20 Dec 2014
Posts: 103

PostPosted: Sat Oct 10, 2015 6:21 am    Post subject: Search within Scan Results Reply with quote

Can I do a subscan within a Memory Scan results ?

For example, I am doing an 8-byte memory scan and to these results I want to discard all values whom first byte is different thant 0x00 ?

Thanks!
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Oct 10, 2015 9:00 am    Post subject: Reply with quote

By "first byte" do you mean the actual first byte in memory?
Value of 1 equals: 01 00 00 00 00 00 00 00
Or do you mean the first when in hex view?
Value of 1 equals: 0000000000000001

If the later, then simply search for a value between 0 and 72057677037927935.

If the former, then you may need to do something tricky.
Add all of the addresses to your table, then run the following Lua.
Code:
local addr = getAddressList()
local i = addr.Count - 1
while i >= 0 do
  local vt = addr[i].Type
  addr[i].Type = vtByte
  if addr[i].Value == 0 then
    addr[i].Type = vt
  else
    addr[i].Destroy()
  end
  i = i - 1
end
Back to top
View user's profile Send private message
fred26
Expert Cheater
Reputation: 0

Joined: 20 Dec 2014
Posts: 103

PostPosted: Wed Oct 14, 2015 11:37 am    Post subject: Reply with quote

Thanks for both approaches.

It is the later, so I will search for a value between 0 and 72057677037927935.

Thanks !
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