Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


enableDRM()

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Jane
Expert Cheater
Reputation: 0

Joined: 21 Feb 2016
Posts: 107

PostPosted: Sun Jul 09, 2017 7:05 pm    Post subject: enableDRM() Reply with quote

Couple of questions about this new method added in 6.7, firstly why does this flashy splash logo thing appear when enableDRM() is called?



It's a bit over the top, anyway I can get rid of this or at least change it to something else?

Second, I get this error thrown when I try to launch a compiled .EXE trainer with the enableDRM() function in it



And finally, I assumed the point of this function is to protect the script but if so why can I still see the script in the running process?

Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 340

Joined: 09 May 2003
Posts: 19909
Location: The netherlands

PostPosted: Sun Jul 09, 2017 10:59 pm    Post subject: Reply with quote

that text is shown to inform the user that dbk kernelmode is loaded. this decreases malware usages so people don't secretly take over the system. (it's not going away and be happy I didn't make it a fullscreen video with the CE logo spinning around)

to make a trainer you need to include the driver files manually(that includes the .sig files)

for the script itself, use encodeFunction() to protect your script from text searches (it does NOT convert it to text at any time , it's in lua bytecode, so you have to decompile it instead of text scan)

also, don't forget to use getHandleList(3) to get a list of handles to ce and then call closeRemoteHandle() to close them. (enableDRM prevents new handles, but existing ones need to be closed)


e.g:
Code:

decodeFunction("c-l;nT}C5g0EUmn%):C0x}Z-h)kwJT2!{SuL77Y@ny4@r;5gzPivcEN/PHC!f7UNbw;En(-tF0Y[gr.DGz1slr_HWyks=y5PYoQ%ZeZeIiKCO/CIJK*7:t8*K#T#%#2}TvYY;Cu-A_.ki^:iNRE0RRu/2R26{o1y@xX3wGw/oX*O,lZZ#Zz(W{^vhlf7X%%SHZ)/:3RelzqCBE4B:ZMPe}%jAswbd@^5;Yk{dGG,+K(%{0G)XmdqnTeZT=qE4we:gsj}5Q!f}E$R/#vQpl+r-ju-[HOM),ke*LhVwLg/-47M*TIz5soIj)$)qkpWoYC{,*LJyNaemK+6()!u3,kuY4t]Mxg}9[z4v^@4l6w62#6I(Y!fZeplQ{tlDW[GFVP;r41iIi")()

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
Jane
Expert Cheater
Reputation: 0

Joined: 21 Feb 2016
Posts: 107

PostPosted: Mon Jul 10, 2017 12:30 am    Post subject: Reply with quote

Thank you for clarifying DB, cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites