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 


Selective adress search

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Rizzz
Newbie cheater
Reputation: 0

Joined: 11 Feb 2013
Posts: 11

PostPosted: Mon Nov 24, 2014 11:51 am    Post subject: Selective adress search Reply with quote

Who can i search among addressees that ends with 4C ??
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Mon Nov 24, 2014 12:05 pm    Post subject: Reply with quote

In fastscan change from alignment to last digits and fill in 4c
All addresses found will end in 4c

_________________
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
Rizzz
Newbie cheater
Reputation: 0

Joined: 11 Feb 2013
Posts: 11

PostPosted: Mon Nov 24, 2014 3:56 pm    Post subject: Reply with quote

Thank you.

Is there a way to search for alternative of values?
like '4 or 7 or 10'
or even better '3x+1'
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Mon Nov 24, 2014 4:43 pm    Post subject: Reply with quote

no, just open extra scan tabs

why would you want to do that anyhow?

_________________
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
Rizzz
Newbie cheater
Reputation: 0

Joined: 11 Feb 2013
Posts: 11

PostPosted: Mon Nov 24, 2014 5:49 pm    Post subject: Reply with quote

cause i end up with 9001 tabs that do the same thing for different values.

I guess i need to lean how to lua anyway.
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Mon Nov 24, 2014 6:16 pm    Post subject: Reply with quote

What exactly want to achieve? Give us an example, make something up, something simple, so we can understand.

Do you look for some data structure, structure which have value "4" at position one and value "7" at position two?

_________________
Back to top
View user's profile Send private message MSN Messenger
Rizzz
Newbie cheater
Reputation: 0

Joined: 11 Feb 2013
Posts: 11

PostPosted: Tue Nov 25, 2014 4:41 am    Post subject: Reply with quote

I'm doing regular Search for value -> next scan -> next scan -> etc.
or Search for value -> Increased v. ->Inc v -> etc. until i got only 1 address
but i'm doing it 20 tab at the same time.

So it looks like this:

Tab1: Fist scan: Exact Value = 5 -> Next scan = 11 -> Next scan 24
Tab2: Fist scan: Exact Value = 7 -> Next scan = 19 -> Next scan 40
Tab3: Fist scan: Exact Value = 1 -> Next scan = 19 -> Next scan 50
Tab4: Fist scan: Exact Value = 9 -> Next scan = 26 -> Next scan 55
Tab5: Fist scan: Exact Value = 5 -> Next scan = 31 -> Next scan 67

I would like to do something like this:

Fist scan: "Look for 5 OR 7 OR 1 OR 9 OR 5" -> Next scan: "Look for 11 OR 19 OR 19 OR 26 OR 31" -> Next scan "Look for 24 OR 40 OR 50 OR 55 OR 67" etc. until i get 5 results

i tried using between but it not efficient
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Tue Nov 25, 2014 6:44 pm    Post subject: Reply with quote

Here's one hack to do the trick:
-Right click on the value type box->define new custom type (LUA)-> paste this:
Code:
--Note: keep the function base name unique.
typename="Multivalue" --shown as the typename in ce
bytecount=4  --number of bytes of this type
functionbasename="Multivalue"

--press control+alt+shift+L between each scan
--type Multivalue_PossibleValues={1,3,5,7 } and press execute.
--to scan for values that are 1,3,5 or 7. There is no limit to the number of possible values.
--In cheat engine's main window, always put 1 in the value box; it means "Look for values that verify the pattern"
Multivalue_PossibleValues={}

function Multivalue_bytestovalue(b1,b2,b3,b4) --Add extra byte parameters as required
  local InputValue=b1 + b2*0x100 + b3*0x10000 + b4*0x1000000; --rebuild a 32bit integer from the 4 separate bytes

  --see if InputValue is one of the possible values
  for i=1,table.getn(Multivalue_PossibleValues) do
   if (InputValue==Multivalue_PossibleValues[i]) then
     return 1  --yes, InputValue is one of the values we're looking for
   end
  end

return 0  --InputValue is not interesting

end

function Multivalue_valuetobytes(i) --return the bytes to write (usually only used when you change the value)
  showMessage("Oops, someone tried to write a Multivalue record, data corruption will now occur. Next time change record type before setting a value")
return 0

end
return typename,bytecount,functionbasename
And validate.
-Press control+alt+shift+L , type Multivalue_PossibleValues={1,3,5,7 } and press execute. This tells CE to look for 1,3,5 or 7 the next time you do a scan.
-Do an exact value first scan with value type=Multivalue and put 1 in the value box (it means "look for value that are in the list").
-control+alt+shift+L again, define the possible values for the next scan, do the next scan, etc...
-Once you've added a record to your cheat table, don't forget to change its type before editing.

_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
Rizzz
Newbie cheater
Reputation: 0

Joined: 11 Feb 2013
Posts: 11

PostPosted: Wed Nov 26, 2014 6:27 am    Post subject: Reply with quote

DAAAAMN!

You're awesome man! Thx a lot Smile
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