Jump to content

Question about encryption.


Emanuel

Recommended Posts

Posted

Hello !

I have a question about encryption. Is there any way of securing our scripts automatically ? Something like adding a file to the resource, and the files will become encrypted. I know that it is related with this https://luac.multitheftauto.com/api/, but I don't know how to use it. If someone could help me, I would appreciate !

Emanuel Camacho

Posted

There's an example.

local FROM="example.lua" 
local TO="compiled.lua" 
fetchRemote( "https://luac.multitheftauto.com/?compile=1&debug=0&obfuscate=0", function(data) fileSave(TO,data) end, fileLoad(FROM), true ) 

You can use this when resource starts.

There's also another way to secure your script. Use cache attribute in meta. https://wiki.multitheftauto.com/wiki/Meta.xml

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...