Posted: Sun Jun 28, 2020 8:54 am Post subject: Detect Program Script not working newly
I'm creating a cheat table and this Lua Script is stopped working:
Code:
--
function BattleEye() -- Detect BattleEye
if OpenProcess("BattleEye") then
closeCE()
end
t=createTimer(nil,false)
timer_onTimer(t, BattleEye)
timer_setInterval(t, 1000) -- 1 Sec
t.Enabled = true;
end
--
This script will close CE when detecting BattleEye program.
This script worked before properly but now don't. I didn't change anything.
I use lots of same scripts which close the CE when a particular condition occurs.
I'm using the newest CE (7.1).
Maybe this code is outdated for some reason?
Posted: Sun Jun 28, 2020 9:04 am Post subject: Re: Detect Program Script not working newly
Code:
Timer=createTimer(MainForm)
Timer.Interval=100
Timer.OnTimer= function(timer)
if getProcessIDFromProcessName('BattleEye.exe') then
closeCE()
return caFree
end
end
Posted: Sun Jun 28, 2020 9:53 am Post subject: Re: Detect Program Script not working newly
blankTM wrote:
Code:
Timer=createTimer(MainForm)
Timer.Interval=100
Timer.OnTimer= function(timer)
if getProcessIDFromProcessName('BattleEye.exe') then
closeCE()
return caFree
end
end
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