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 


wildcat searches

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

Joined: 21 Mar 2015
Posts: 6
Location: United States

PostPosted: Mon Apr 06, 2015 5:30 pm    Post subject: wildcat searches Reply with quote

I know that when I search by string, it is not possible to do a wildcat search. Is it possible to run a string map and then search through the string map results for a particular set of characters? If so, how?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon Apr 06, 2015 6:38 pm    Post subject: Reply with quote

Build something in LUA?

Code:
list = getCurrentMemscan().FoundList
for i=0,list.Count-1,1 do
  value = list.Value[i]
  print(value)
end


Don't remember the specifics, but I think you can even setup a callback function to handle the scan compare manually.
Within that you could do your regular expression search.
Back to top
View user's profile Send private message
luvspeanut
How do I cheat?
Reputation: 0

Joined: 21 Mar 2015
Posts: 6
Location: United States

PostPosted: Mon Apr 06, 2015 6:50 pm    Post subject: Reply with quote

Thanks for the response. I'm not a programmer, where do I enter my wildcat string I want to search for?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon Apr 06, 2015 6:52 pm    Post subject: Reply with quote

Well, you need to be a programmer. Smile

Show me the wildcard you're trying to run.
Back to top
View user's profile Send private message
luvspeanut
How do I cheat?
Reputation: 0

Joined: 21 Mar 2015
Posts: 6
Location: United States

PostPosted: Mon Apr 06, 2015 10:47 pm    Post subject: Reply with quote

I guess I'm screwed. Thanks anyway.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Apr 06, 2015 11:17 pm    Post subject: Reply with quote

Convert the characters of the string you want to their hex codes then use wildcards when needed.

Such as:
weapon_0001_gun

This would be:
77 65 61 70 6f 6e 5f 30 30 30 31 5f 67 75 6e

Lets remove the 0001 and look for:
weapon_????_gun

So you'd use:
77 65 61 70 6f 6e 5f ?? ?? ?? ?? 5f 67 75 6e

You can use a site like the following to convert text to hex easily:
http://www.asciitohex.com/

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Tue Apr 07, 2015 4:44 am    Post subject: Reply with quote

i don't rememberand can't check, byt doesn't cheat engine have this anoying feature where when you switch the type from string to array of byte, it converts the string into an aob?
_________________
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
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Tue Apr 07, 2015 6:59 pm    Post subject: Reply with quote

Too bad it's not smart enough to add the 00 bytes when you have Unicode checked!
Back to top
View user's profile Send private message
panraven
Grandmaster Cheater
Reputation: 62

Joined: 01 Oct 2008
Posts: 958

PostPosted: Tue Apr 07, 2015 8:48 pm    Post subject: Reply with quote

luvspeanut wrote:
I know that when I search by string, it is not possible to do a wildcat search. Is it possible to run a string map and then search through the string map results for a particular set of characters? If so, how?


Ok, I know what a String map is now.

What you need is to understand regular expression http://en.wikipedia.org/wiki/Regular_expression
A regular expression is a some what more powerful wildcard.

If you tick 'Strings must match reg exp', then the text box input is interpreted as regular expression.

For example, to search for some word that contain no vow and number, input '\b[^aeiou\d]+\b'
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