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 


[help] regex?

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

Joined: 09 Mar 2015
Posts: 11

PostPosted: Wed Apr 29, 2015 12:13 am    Post subject: [help] regex? Reply with quote

Hi,

is it possible to use regex at when Im trying to find a Strings adress?

Example: [10 characters]apple, so it will find: orangered apple, notorange apple as well

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

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Apr 29, 2015 12:17 am    Post subject: Reply with quote

May want to provide a better example of what you really want.
If you simply search "apple" it will find everything you listed.
You'll need to browse the memory region around every found address.
From the hex view, you'll be able to see the rest of the string.
Back to top
View user's profile Send private message
lobauba
Newbie cheater
Reputation: 0

Joined: 09 Mar 2015
Posts: 11

PostPosted: Wed Apr 29, 2015 12:18 am    Post subject: Reply with quote

Yes, but lets say there is like 20 apple found, I want see at the main tab their previous characters (easier to find when someone is changing)
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Wed Apr 29, 2015 2:38 am    Post subject: Reply with quote

Configure a new scan as if you wanted to scan for "apple" as a string, then switch type to array of bytes and prepend with as many "* " (notice the space) as characters you want to see before "apple". Scan, add to table and change the type of all entries to string.
ie: to look for [4 characters]apple you can for "* * * * 61 70 70 6C 65" as an AOB.

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

Joined: 09 Mar 2015
Posts: 11

PostPosted: Wed Apr 29, 2015 3:32 am    Post subject: Reply with quote

Thank you. I tried, I get this err message:

pasteboard.co/57N5Bop.png[/url]
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Wed Apr 29, 2015 4:01 am    Post subject: Reply with quote

Use "array of bytes", not "byte". Below "string" and above "all".
_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
lobauba
Newbie cheater
Reputation: 0

Joined: 09 Mar 2015
Posts: 11

PostPosted: Wed Apr 29, 2015 4:36 am    Post subject: Reply with quote

Thank you, it is working.
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