 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
LastExceed Expert Cheater
Reputation: 1
Joined: 05 Nov 2014 Posts: 130
|
Posted: Thu Jan 21, 2016 3:14 pm Post subject: Can a CE trainer handle multiple processes? |
|
|
I want to make a trainer that deals with several processes at the same time. Is that possible with CE? If yes how? |
|
Back to top |
|
 |
Redouane Master Cheater
Reputation: 3
Joined: 05 Sep 2013 Posts: 363 Location: Algeria
|
Posted: Thu Jan 21, 2016 3:45 pm Post subject: Re: Can a CE trainer handle multiple processes? |
|
|
chris20194 wrote: | I want to make a trainer that deals with several processes at the same time. Is that possible with CE? If yes how? |
Code: |
openProcess('process1name.exe');
-- do a few things in process 1
openProcess('process2name.exe');
-- do other things on process 2
-- etc. |
|
|
Back to top |
|
 |
LastExceed Expert Cheater
Reputation: 1
Joined: 05 Nov 2014 Posts: 130
|
Posted: Thu Jan 21, 2016 3:47 pm Post subject: Re: Can a CE trainer handle multiple processes? |
|
|
Redouane wrote: | chris20194 wrote: | I want to make a trainer that deals with several processes at the same time. Is that possible with CE? If yes how? |
Code: |
openProcess('process1name.exe');
-- do a few things in process 1
openProcess('process2name.exe');
-- do other things on process 2
-- etc. |
|
So i have to keep switching between the processes? |
|
Back to top |
|
 |
Redouane Master Cheater
Reputation: 3
Joined: 05 Sep 2013 Posts: 363 Location: Algeria
|
Posted: Thu Jan 21, 2016 4:01 pm Post subject: Re: Can a CE trainer handle multiple processes? |
|
|
chris20194 wrote: |
So i have to keep switching between the processes? |
If you are using the trainer generator of CE, then this is the best thing that you can do, you could also make another executable (trainer-like) that has no GUI, place it in the same folder as your trainer,and execute that other program from your trainer, in the main trainer, attach to process1 and do some things on it, in the other program, attach to process2, and do other stuff on it (of course, keep checking to see if the main trainer is executing, if it's closed by the user, or if that other executable is executed directly, exit), not really clean, just another idea.
As far as I know, the OpenProcess API function returns an open handle to the desired process with the desired access, this means that you can have more than one process handle open at a time,so if you make a trainer in C++ or C# (or any programming language with WIN32API access), you should be able to do it more cleanly. |
|
Back to top |
|
 |
LastExceed Expert Cheater
Reputation: 1
Joined: 05 Nov 2014 Posts: 130
|
Posted: Thu Jan 21, 2016 4:25 pm Post subject: Re: Can a CE trainer handle multiple processes? |
|
|
Redouane wrote: | chris20194 wrote: |
So i have to keep switching between the processes? |
If you are using the trainer generator of CE, then this is the best thing that you can do, you could also make another executable (trainer-like) that has no GUI, place it in the same folder as your trainer,and execute that other program from your trainer, in the main trainer, attach to process1 and do some things on it, in the other program, attach to process2, and do other stuff on it (of course, keep checking to see if the main trainer is executing, if it's closed by the user, or if that other executable is executed directly, exit), not really clean, just another idea.
As far as I know, the OpenProcess API function returns an open handle to the desired process with the desired access, this means that you can have more than one process handle open at a time,so if you make a trainer in C++ or C# (or any programming language with WIN32API access), you should be able to do it more cleanly. |
Thanks alot! |
|
Back to top |
|
 |
|
|
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
|
|