Posted: Tue Jul 19, 2016 4:54 am Post subject: Scan for new processes every 3 seconds?
Hello everyone, I made a trainer using cheat engine and it works, the thing is that it doesnt work unless I open the game first.
Could you guys tell me what script should I use to make the trainer look for new processes every three seconds? I couldnt find anything about this which is strange because I think most of the trainers got this function.
Thanks.
Thanks, it works.
One last question, once I close and reopen the game, the trainer wont autoattach to the new process. Is there any script to fix that?
Thanks
reattach = createTimer(nil, false)
reattach.Interval = 5000
reattach.OnTimer = function(timer)
if readInteger("kernel32.dll") == nil then
if openProcess("game.exe") then
return
end
reattach.Interval = 500
end
end
function onOpenProcess(processId)
reattach.Interval = 5000
reattach.Enabled = true
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