 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Ludwig Advanced Cheater
Reputation: 0
Joined: 10 Jan 2016 Posts: 68
|
Posted: Sun Mar 13, 2016 4:57 pm Post subject: closing trainer upon detecting cheat engine |
|
|
hi guys...
i came upon a exe compiled trainer that uses
Code: | function ProgramDetection()
if openProcess("cheatengine") then
closeCE()
end
end
t=createTimer(nil,false)
timer_onTimer(t, ProgramDetection)
timer_setInterval(t, 100)
t.Enabled = true; |
to automatically close the trainer when it detects cheat engine...
i tried the same on my trainer...compiled into an exe...closed cr...ran the trainer...but it closes on itself...as it detects itself as ce...how do i compile it so it wont close on itself?...as i would like my trainers also to clo on itself if it detects CE...
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Mar 13, 2016 5:02 pm Post subject: |
|
|
Code: | cecheck_list = createStringlist()
function cecheck()
getProcesslist(cecheck_list)
local count = 0
for i=0,cecheck_list.count-1 do
if cecheck_list[i]:find("cheatengine") then
count = count + 1
end
end
if count > 1 then
closeCE()
end
cecheck_list.clear()
end
cecheck_t=createTimer(nil, false)
cecheck_t.OnTimer=cecheck
cecheck_t.Interval=200
cecheck_t.Enabled=true |
|
|
Back to top |
|
 |
Ludwig Advanced Cheater
Reputation: 0
Joined: 10 Jan 2016 Posts: 68
|
Posted: Sun Mar 13, 2016 5:11 pm Post subject: |
|
|
Zanzer wrote: | Code: | cecheck_list = createStringlist()
function cecheck()
getProcesslist(cecheck_list)
local count = 0
for i=0,cecheck_list.count-1 do
if cecheck_list[i]:find("cheatengine") then
count = count + 1
end
end
if count > 1 then
closeCE()
end
cecheck_list.clear()
end
cecheck_t=createTimer(nil, false)
cecheck_t.OnTimer=cecheck
cecheck_t.Interval=200
cecheck_t.Enabled=true |
|
right...so that does a count of the cheatengine processes and close if thers more than one...correct..?
thnx for your quick answer...and how do we add reputation for people with good answers here...
|
|
Back to top |
|
 |
Char03 Newbie cheater
Reputation: 0
Joined: 12 Nov 2015 Posts: 23
|
Posted: Fri Mar 25, 2016 4:51 am Post subject: |
|
|
Using your same code did this:
Code: |
function DetectCEE() -- Detect Cheat Engine 6.0, 6.1, 6.2, 6.3, 6.4, 6.5 - 64 Bits
if openProcess("cheatengine-x86_64") then
closeCE()
end
end
t=createTimer(nil,false)
timer_onTimer(t, DetectCEE)
timer_setInterval(t, 100)
t.Enabled = true;
function DetectCEEE() -- Detect Cheat Engine 6.0, 6.1, 6.2, 6.3, 6.4, 6.5 - 32 Bits
if openProcess("cheatengine-i386") then
closeCE()
end
end
t=createTimer(nil,false)
timer_onTimer(t, DetectCEEE)
timer_setInterval(t, 100)
t.Enabled = true;
function DetectCE() -- Detect Cheat Engine 5.6.1
if openProcess("Cheat Engine") then
closeCE()
end
end
t=createTimer(nil,false)
timer_onTimer(t, DetectCE)
timer_setInterval(t, 100)
t.Enabled = true; |
and the trainer is not closed, but if you open Cheat engine if.
|
|
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
|
|