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 


Auto Close When Process Find ?

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

Joined: 15 Sep 2010
Posts: 1

PostPosted: Wed Sep 15, 2010 4:58 pm    Post subject: Auto Close When Process Find ? Reply with quote

Sorry About My Noob English Smile

I need a code or something to close my trainer when process find.
Someone can help me ? Rolling Eyes
Back to top
View user's profile Send private message Send e-mail MSN Messenger
XaLeX
Expert Cheater
Reputation: 0

Joined: 19 Aug 2008
Posts: 226

PostPosted: Wed Sep 15, 2010 5:24 pm    Post subject: Reply with quote

Excuse my curiosity, but what's the sense in that?

Anyway you could just scan through all the processes (see here) and if you find the particular process you can close your trainer.
Back to top
View user's profile Send private message
Deltron Z
Expert Cheater
Reputation: 1

Joined: 14 Jun 2009
Posts: 164

PostPosted: Wed Sep 15, 2010 5:25 pm    Post subject: Reply with quote

Please... http://translate.google.com/#
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Fri Sep 24, 2010 2:57 pm    Post subject: Reply with quote

What I think he's trying to say is he wants his Trainer terminated as soon as a specific process is executed.

well then, you have so many solutions to approach this, but here's some easy ones:

A System-wide hook is option one. {Hook CreateProcess & CreateThread}

or create thread / Timer / loop that'll search for the process.

if you wanna do it in a way to ensure it'll get closed faster, you could use PsCreateProcessNotifyRoutineEx {Vista SP1+} in PASSIVE_MODE.

if you're still in XP, i would suggest removing the Extended from the api, also, you compare the file name inside the callback routine which is what acutally being called.
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Fri Sep 24, 2010 4:07 pm    Post subject: Reply with quote

Would also help to know the language you are going to use for your trainer.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
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