 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Rodriguez How do I cheat?
Reputation: 0
Joined: 28 Sep 2019 Posts: 4
|
Posted: Sun Nov 10, 2019 1:06 pm Post subject: Questions about enableDRM() |
|
|
Hello!
Please dont ignore!
I try to understand how i can makes function enableDRM() works. I check all CE forum, read every post related to this protection - but everywhere found only sentences that explain nothing... i can understand the reasons why it write like that - it's like a secret - info not for all i think....
So please
Am I right that:
1. I cant use enableDRM() until compiling private build of CE, build kernel driver?
2. in standart version this functionality is blocked? so the code below didnt work. but if I build the driver - it may help?
any help how i can activate these type of protection - i am very-very be happy...
maybe a good person will write a detailed instruction(not 2 words "install it" and "do it") what i need to do to make this function work. why else would enableDRM() have been introduced?...
thx in advance!
Code: |
enableDRM()
x=getHandleList(3)
for i=1,#x do
if x[i].ProcessID~=getCheatEngineProcessID() then
closeRemoteHandle(x[i].HandleValue, x[i].ProcessID)
end
end
minimumlist=getHandleList(3) --the list with the least amount of handles
minlist={}
for i=1,#minimumlist do
minlist[minimumlist[i].HandleValue]=true
end
thr=createThread(function(t)
while t.Terminated==false do
local currentlist=getHandleList(3)
local i
local found
for i=1,#currentlist do
--check if this entry is in the o\ld list
if currentlist[i].ProcessID~=getCheatEngineProcessID() then --allow CE opening itself
if minlist[currentlist[i].HandleValue]==nil then --not found, it's a new handle
if (currentlist[i].GrantedAccess & 0x30)~=0 then --a new handle with read or write access
closeCE()
end
end
end
end
sleep(1000)
end
end)
|
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Sun Nov 10, 2019 4:10 pm Post subject: |
|
|
1: enableDRM works on the released versions of CE. Do NOT hexedit your ce build as ce's driver will refuse to listen then and if you make a trainer, include the driver files
2: No, works just fine
What issue are you having ? Driver doesn't load? CE closes? No error at all? CE can open itself? (that's normal)
(The second part of that script isn't that needed and might be buggy/eat all memory after a while due to a memleak in getHandleList)
Keep in mind that this is NOT to bypass detections, window captions and stuff are still detected
Also, enableDRM(processid) will also protect the selected processid besides only CE, in case you wish to hide your memory changes in the target _________________
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 |
|
 |
|
|
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
|
|