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 


obfuscate Decode

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
ProB1
Newbie cheater
Reputation: 0

Joined: 20 Jul 2019
Posts: 24

PostPosted: Tue Jul 23, 2019 4:00 am    Post subject: obfuscate Decode Reply with quote

obfuscate decode for example
Code:
function CEPanel1MouseDown(sender, button, x, y)
UDF1.DragNow()
end

how i obfuscate it and how i obfuscated code to decode it
and how i put it to trainer ???
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater
Reputation: 27

Joined: 10 Apr 2015
Posts: 987

PostPosted: Tue Jul 23, 2019 8:31 am    Post subject: Reply with quote

First, DO NOT SPAM with the same topic on several posts in the forum.

Darkbyte told you already in another post (posted by you) to use Cheat
Engine Encode Decode built-in functions.

Read this topic: https://forum.cheatengine.org/viewtopic.php?t=595142

Also, this is an example step by step:

Step 1:

Create your own TRAINER SCRIPT, example:

Code:
f = createForm()
 f.caption = 'This my LOL trainer'
 b = createButton(f)
 b.setPosition(60,60)
 b.caption = 'Click Me'

 function b_click()
   speak('Button has been clicked. What do you want?')
 end

 b.onClick = b_click


Step 2:
Add a function to covering your TRAINER SCRIPT, with add text 'function' and 'end' at the end of your TRAINER SCRIPT.
Then it will look like this:

Code:
function my_trainer_script()

 f = createForm()
 f.caption = 'This my LOL trainer'
 b = createButton(f)
 b.setPosition(60,60)
 b.caption = 'Click Me'

 function b_click()
   speak('Button has been clicked. What do you want?')
 end

 b.onClick = b_click

end


Step 3:
Now, start to ENCODING your TRAINER SCRIPT (The script as shown in step 2) with CE Encode function.

Code:
print(encodeFunction(my_trainer_script))


It will print out the result like this:
Code:

c-n/e!Ait16r9vhv#pB/7eT$]u!x{e1%hdXo,:889wqHYTGnlsHf7ygD+6Tf)0-apSMcbA[jof+CT}[email protected]@[D=vc*vOmC][email protected]:jp%)5A%WvTEdSvn!mf!BZ3ueXQ):hX0;u4:@/Xfc4ksc.An/hxgV6HSd!:FCD5,IaHw)(gxzuG^)aB;]wtTVX;0QcoBg.xP*XV62D};y?t!l4T]o3.U[vGN{Hv:8ryp^Q!-zv)om*z{=*zv[fK^3pc=Qnn_bt!F^NWfkW..!=Ylix0toKMcT-_/4WJX5OTgQ:[email protected]/=*XYp]kLUs]T,sLNE!


copy this result and save your ORIGINAL TRAINER SCRIPT (before encoding) and then open NEW CT File via Cheat Engine Lua Table on CE Menu.

Step 4:
Adding the encoded script as your trainer script

give a variable for your ENCODED script (optional), something like this:

Code:
mycode="c-n/e!Ait16r9vhv#pB/7eT$]u!x{e1%hdXo,:889wqHYTGnlsHf7ygD+6Tf)0-apSMcbA[jof+CT}[email protected]@[D=vc*vOmC][email protected]:jp%)5A%WvTEdSvn!mf!BZ3ueXQ):hX0;u4:@/Xfc4ksc.An/hxgV6HSd!:FCD5,IaHw)(gxzuG^)aB;]wtTVX;0QcoBg.xP*XV62D};y?t!l4T]o3.U[vGN{Hv:8ryp^Q!-zv)om*z{=*zv[fK^3pc=Qnn_bt!F^NWfkW..!=Ylix0toKMcT-_/4WJX5OTgQ:[email protected]/=*XYp]kLUs]T,sLNE!"

-- decoding the encoded script
myscript=decodeFunction(mycode)

--- load the function
my_trainer_script()  -- You MUST remember what is the function name on your original script (see Step 2)


Step 5:
DONE!


This is the Cheat Engine way to protect code/script by encoding/decode function. It's called CE decode and encodes.
But actually, I have the strongest function to protect my code or script. It made by myself, nobody can break it.
I named it as THE_NOTSHARECODE function. It really works and I no need to worry someone steals my code.

Laughing Laughing

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
ProB1
Newbie cheater
Reputation: 0

Joined: 20 Jul 2019
Posts: 24

PostPosted: Tue Jul 23, 2019 10:46 am    Post subject: Corroder Reply with quote

Thank You For Help You Are smart
Shocked Shocked Shocked Shocked Shocked Shocked Shocked Shocked
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater
Reputation: 27

Joined: 10 Apr 2015
Posts: 987

PostPosted: Tue Jul 23, 2019 11:08 am    Post subject: Re: Corroder Reply with quote

ProB1 wrote:
Thank You For Help You Are smart
Shocked Shocked Shocked Shocked Shocked Shocked Shocked Shocked


are you mocking me?

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Aylin
Master Cheater
Reputation: 7

Joined: 16 Feb 2017
Posts: 393

PostPosted: Tue Jul 23, 2019 1:33 pm    Post subject: Re: Corroder Reply with quote

Corroder wrote:

are you mocking me?


@ atom0s has made a warning. "Too much spam!" Cool Cool Cool

_________________
Hi Hitler Make a Youtube Web for Trainer
https://forum.cheatengine.org/viewtopic.php?t=609146
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message MSN Messenger
noobesgt
Advanced Cheater
Reputation: 0

Joined: 17 Dec 2018
Posts: 69

PostPosted: Tue Aug 13, 2019 11:35 am    Post subject: Reply with quote

lol Smile)))
_________________
dc noobesgt#8663
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