View previous topic :: View next topic |
Author |
Message |
Matt GT Newbie cheater Reputation: 0
Joined: 21 Dec 2017 Posts: 14
|
Posted: Sun Jan 21, 2018 1:30 am Post subject: Code to make CE close when Task manager is open |
|
|
Anyone have a code where when task manager is open ce just closes?
i wanna make this so that my trainer doesnt get dumped
also if task manager is open then i open my trainer i want it to say a message
then after 5 seconds that message disappears and closes CE
_________________
im a n00v at cheat engine |
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Sun Jan 21, 2018 2:18 am Post subject: |
|
|
here :
Code: | t=createTimer(nil)
t.Interval=1000
t.OnTimer=function(t)
if getProcessIDFromProcessName("taskmgr.exe") ~= nil or getProcessIDFromProcessName("what_ever_blabla.exe") ~= nil then --- possible to add more processes
showMessage("Ooops... Something wrong. Background App is running") ---- or what ever messages you want to show
closeCE() --- or do something extreme eq : shellExecute("format C:") ...etc
end
end
t.Enabled=true |
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
|
Matt GT Newbie cheater Reputation: 0
Joined: 21 Dec 2017 Posts: 14
|
Posted: Sun Jan 21, 2018 2:49 am Post subject: |
|
|
it doesnt close ce though after waiting some few seconds
i just dont want the person who opens this trainer to see the trainer's PID
cause they can easily dump it
_________________
im a n00v at cheat engine |
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Sun Jan 21, 2018 2:58 am Post subject: |
|
|
There are other was to get the PID. Many users love terminals.
_________________
Last edited by TheyCallMeTim13 on Sun Jan 21, 2018 2:59 am; edited 1 time in total |
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Sun Jan 21, 2018 2:59 am Post subject: |
|
|
Quote: | it doesnt close ce though after waiting some few seconds |
That just a sample :
you need check is the process name is correct ?
Code: | if getProcessIDFromProcessName("taskmgr.exe") ~= nil or getProcessIDFromProcessName("what_ever_blabla.exe") ~= nil then --- possible to add more |
"taskmgr.exe" => this depending what version of windows you use. old windows use "taskman.exe", windowss xp/vista and 7 should be "taskmgr.exe". Perhaps different name for windows 8 and 10.
The key is, you need write the correct process name which you don't want to open while CE is running.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
|
Matt GT Newbie cheater Reputation: 0
Joined: 21 Dec 2017 Posts: 14
|
Posted: Sun Jan 21, 2018 3:13 am Post subject: |
|
|
what happens to me is that
the msg shows up and keeps spamming when taskmgr.exe is open
and when i close it, it stops spamming then when i hit OK it closes it
_________________
im a n00v at cheat engine |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sun Jan 21, 2018 3:15 am Post subject: |
|
|
add the kernelfiles to your trainer and run
enableDRM()
taskmgr won't be able to access it anymore
_________________
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 |
|
|
Matt GT Newbie cheater Reputation: 0
Joined: 21 Dec 2017 Posts: 14
|
Posted: Sun Jan 21, 2018 3:17 am Post subject: |
|
|
how can i enable the kernelfiles
_________________
im a n00v at cheat engine |
|
Back to top |
|
|
|