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 


appal or someone better than me

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Sun May 27, 2007 6:35 pm    Post subject: appal or someone better than me Reply with quote

Im trying to make a program which detects strings =|. At the moment I have got nearly no-where;

I just need to know if theres a way to "scan" running programs for a string such as "RuneScape"? =\

Im looking through DB's driver but havent found anything yet =(
Back to top
View user's profile Send private message MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Sun May 27, 2007 6:55 pm    Post subject: Reply with quote

a string is just a sequence of bytes that end in NULL, so all you need to do is

1. Read some memory into a buffer with ReadProcessMemory
2. Parse the strings (hint hint, strtok)
3. Check for bad stuff

here is a link to some code that may help you do this
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Sun May 27, 2007 6:58 pm    Post subject: Reply with quote

Thak you appal! You are my god Very Happy
Back to top
View user's profile Send private message MSN Messenger
the_undead
Expert Cheater
Reputation: 1

Joined: 12 Nov 2006
Posts: 235
Location: Johannesburg, South Africa

PostPosted: Sat Jun 02, 2007 12:27 am    Post subject: Reply with quote

So, noz, does that mean I win?
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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