xXMADEXx Posted March 31, 2013 Posted March 31, 2013 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? The Ultimate Lua Tutorial! | MTA PHP SDK
Tete omar Posted March 31, 2013 Posted March 31, 2013 use SciTe or LUACGUI by FabienWang and put this code up your script https://wiki.multitheftauto.com/wiki/DxDrawColorText
TAPL Posted March 31, 2013 Posted March 31, 2013 use SciTe or LUACGUI by FabienWangand put this code up your script https://wiki.multitheftauto.com/wiki/DxDrawColorText Still can be decompiled.
xXMADEXx Posted March 31, 2013 Author Posted March 31, 2013 use SciTe or LUACGUI by FabienWangand put this code up your script https://wiki.multitheftauto.com/wiki/DxDrawColorText What does that code do? The Ultimate Lua Tutorial! | MTA PHP SDK
MIKI785 Posted March 31, 2013 Posted March 31, 2013 I saw somewhere on this forum that dxDrawColorText makes the code harder to decompile. If you put that function in yout code. Lua Scripter Owner of mshost.cz MTA portal.
xXMADEXx Posted March 31, 2013 Author Posted March 31, 2013 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? The Ultimate Lua Tutorial! | MTA PHP SDK
ixjf Posted March 31, 2013 Posted March 31, 2013 use SciTe or LUACGUI by FabienWangand 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. I used to know how to code, but then I took an arrow in the knee. Project Redivivus - Remaking Old School MTA With New Code MTA 0.6 Nightly 1 released
Tete omar Posted March 31, 2013 Posted March 31, 2013 use SciTe or LUACGUI by FabienWangand 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?
ixjf Posted March 31, 2013 Posted March 31, 2013 use SciTe or LUACGUI by FabienWangand 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. I used to know how to code, but then I took an arrow in the knee. Project Redivivus - Remaking Old School MTA With New Code MTA 0.6 Nightly 1 released
TAPL Posted March 31, 2013 Posted March 31, 2013 use SciTe or LUACGUI by FabienWangand put this code up your script https://wiki.multitheftauto.com/wiki/DxDrawColorText Still can be decompiled.
Jaysds1 Posted March 31, 2013 Posted March 31, 2013 The best way to compile your files and make it unable to be decompiled is to create your own lua compiler... My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
xXMADEXx Posted March 31, 2013 Author Posted March 31, 2013 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. The Ultimate Lua Tutorial! | MTA PHP SDK
TAPL Posted April 1, 2013 Posted April 1, 2013 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?
xXMADEXx Posted April 1, 2013 Author Posted April 1, 2013 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. The Ultimate Lua Tutorial! | MTA PHP SDK
Ludo Posted April 1, 2013 Posted April 1, 2013 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.
xXMADEXx Posted April 1, 2013 Author Posted April 1, 2013 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 The Ultimate Lua Tutorial! | MTA PHP SDK
xXMADEXx Posted April 1, 2013 Author Posted April 1, 2013 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 ) The Ultimate Lua Tutorial! | MTA PHP SDK
ixjf Posted April 1, 2013 Posted April 1, 2013 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. I used to know how to code, but then I took an arrow in the knee. Project Redivivus - Remaking Old School MTA With New Code MTA 0.6 Nightly 1 released
iPrestege Posted April 1, 2013 Posted April 1, 2013 https://wiki.multitheftauto.com/wiki/Meta.xml FROM VERSION 1.3.1 r4909 ONWARDScache: When the script file type is "client", this setting controls whether the file is saved on the players hard drive. Default is "true". Using "false" will mean the file is not saved. Example
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