roddydennvor Posted November 7, 2014 Posted November 7, 2014 Hello , How to encrypt my lua file ? And please give me tutorials to decrypt it.. Thanks
Mr_Moose Posted November 7, 2014 Posted November 7, 2014 You can compile at https://luac.multitheftauto.com, decompile is hard, almost impossible and you shouldn't need any reason to do so. If you're running on Linux and has many files to compile this might help you. #!/bin/bash # Grand Theft Walrus: auto compiler v.1.4.132 # Global settings FILES=<resource_directory> EXT="c" BAK=".bak" recurse() { for i in "$1"/*; do if [ -d "$i" ]; then sleep 1 # Do not remove! recurse "$i" elif [ -f "$i" ]; then # Compile if lua file if [ ${i: -4} == ".lua" ]; then cp $i $i$BAK ./luac_mta -s -e -o $i$EXT $i echo "[Compiling] $i" sudo chown nobody:nogroup $i # Replace lua with luac in meta.xml elif [ ${i: -8} == "meta.xml" ]; then cp $i $i$BAK sed -i 's/.lua/.luac/g' $i fi fi done } # Information and status ./luac_mta -v recurse $FILES echo "Compiler finished successfully!"
roddydennvor Posted November 7, 2014 Author Posted November 7, 2014 Where i must to put this script ?
Mr_Moose Posted November 7, 2014 Posted November 7, 2014 Maybe that was to complicated for you, just upload the files you want to compile at: https://luac.multitheftauto.com.
roddydennvor Posted November 8, 2014 Author Posted November 8, 2014 Okay , if i compile my lua file , it is safe ? i mean , can people stole my script ? Sorry bad english
Bilal135 Posted November 8, 2014 Posted November 8, 2014 Okay , if i compile my lua file , it is safe ? i mean , can people stole my script ? Sorry bad english Most of the majority don't know how to decrypt/decompile a script, www.luac.multitheftauto.com can be decompiled but only a few people know how to do that. Compiling a script can cause some problems on some servers but if you don't want your code to be stolen, compile it at your own risk. Btw, people don't like compiled scripts because they are not editable.
roddydennvor Posted November 8, 2014 Author Posted November 8, 2014 yeah i think i can compile lua file on my VPS and i must to have backup of that's , so when i to edit it , i compile and replace again on my VPS , Thanks for that information @all
roddydennvor Posted December 9, 2014 Author Posted December 9, 2014 @MrBrutus , just copy and paste that on putty ?
Mr_Moose Posted December 9, 2014 Posted December 9, 2014 Make it a script file first: nano compiler Paste the code and edit the search paths to match the directory layout on your VPS, make it executable and finally, run. sudo chmod +x compiler ./compiler the 'luac_mta' application must be downloaded and extracted in the same directory as this script in order to make this work, it's not tested yet so make a backup of your files before using it.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now