Jump to content

Safest LUA compiler?


xXMADEXx

Recommended Posts

Posted

Hey guys, im using LUAC GUI to compile my scripts, but is it the most anti-decompiler proof? Or is there another one, that makes the file more secure?

Posted
I saw somewhere on this forum that dxDrawColorText makes the code harder to decompile. If you put that function in yout code.

Would it work, even if it was on server side?

Posted
use SciTe or LUACGUI by FabienWang

and put this code up your script

https://wiki.multitheftauto.com/wiki/DxDrawColorText

Both softwares you mentioned use the official Lua compiler.

You can try to make your code harder to decompile, but it is still decompilable and there's no compiler that will protect your code 100%. Search about the 'Meta.xml' on the wiki and you'll find a good way to protect your files.

Posted
use SciTe or LUACGUI by FabienWang

and put this code up your script

https://wiki.multitheftauto.com/wiki/DxDrawColorText

Both softwares you mentioned use the official Lua compiler.

You can try to make your code harder to decompile, but it is still decompilable and there's no compiler that will protect your code 100%. Search about the 'Meta.xml' on the wiki and you'll find a good way to protect your files.

What about the code?, is it good enough to protect my lua files?

Posted
use SciTe or LUACGUI by FabienWang

and put this code up your script

https://wiki.multitheftauto.com/wiki/DxDrawColorText

Both softwares you mentioned use the official Lua compiler.

You can try to make your code harder to decompile, but it is still decompilable and there's no compiler that will protect your code 100%. Search about the 'Meta.xml' on the wiki and you'll find a good way to protect your files.

What about the code?, is it good enough to protect my lua files?

That may crash the official Lua compiler, but doesn't mean it is impossible to decompile.

Posted
The best way to compile your files and make it unable to be decompiled is to create your own lua compiler...

I don't know C++ :/ but, is there some sort of thing i can do, so it calls another resource, and if the other resource dosn't return, it will stop the stolen resource? lol, i know that is kinda hard to understand.

Posted
The best way to compile your files and make it unable to be decompiled is to create your own lua compiler...

I don't know C++ :/ but, is there some sort of thing i can do, so it calls another resource, and if the other resource dosn't return, it will stop the stolen resource? lol, i know that is kinda hard to understand.

What will stop who steals from editing the code and make it work without the other resource?

Posted
The best way to compile your files and make it unable to be decompiled is to create your own lua compiler...

I don't know C++ :/ but, is there some sort of thing i can do, so it calls another resource, and if the other resource dosn't return, it will stop the stolen resource? lol, i know that is kinda hard to understand.

What will stop who steals from editing the code and make it work without the other resource?

Like, make it use some sort of an export, and if the export dosn't return, then it will stop resource.

Posted
Like, make it use some sort of an export, and if the export dosn't return, then it will stop resource.

Man I think you could do this also with some trigger between client and server, but if someone copies this resource and decompiles it, these code lines can be easily removed so this kind of security will be totally useless.

Posted
Like, make it use some sort of an export, and if the export dosn't return, then it will stop resource.

Man I think you could do this also with some trigger between client and server, but if someone copies this resource and decompiles it, these code lines can be easily removed so this kind of security will be totally useless.

yea, i guess so :S

Posted

Well, i made this script:

[ROG]MySQL:

function stopStealers() 
    return "returned to stop stealers" 
end 

Other Script:

addEventHandler("onClientResourceStart",resourceRoot, 
    function () 
        if (exports['[ROG]MySQL']:stopStealers(source) ~= "returned to stop stealers") then 
            outputChatBox("THIS SERVER IS STEALING SCRIPTS FROM Revolution of Gaming!!!!!! LEAVE THE SERVER NOW!",255,0,0) 
        end 
    end 
) 

Posted

That isn't going to protect anything.

Search about the 'Meta.xml' on the wiki and you'll find a good way to protect your files.

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...