XetaQuake Posted February 6, 2008 Share Posted February 6, 2008 hi, how can i protect client side script? so that peaple dont can use it from the chache folder? or it this not possible? Link to comment
tma Posted February 6, 2008 Share Posted February 6, 2008 You can compile Lua scripts (see AlienX's freeroam cached files) but then you can decompile them too so what's the benefit ? (It's like Java) Link to comment
XetaQuake Posted February 6, 2008 Author Share Posted February 6, 2008 i think not all peaple know to decompile, also when its compiled, the peaple who will use it can see that is not for the public can anybody tell me the best freeware LUA compile tool that works with MTA? Link to comment
szlend Posted February 6, 2008 Share Posted February 6, 2008 Why would you need to compile it anyways ... Link to comment
XetaQuake Posted February 6, 2008 Author Share Posted February 6, 2008 because ,no matter why, its just a simple question Link to comment
szlend Posted February 6, 2008 Share Posted February 6, 2008 It's just useless. If someone really needs your client script he'll just decompile it... Best way to hide the damn code is to make as much of it as you can, server side.. Link to comment
XetaQuake Posted February 6, 2008 Author Share Posted February 6, 2008 yes but when its compiled, he can think "ah, its compiled, its better i dont use it because its not for the public" Link to comment
fgwelder Posted February 6, 2008 Share Posted February 6, 2008 Or you can keep it Opensource like everything should be All this OMG SO SECRET stuff will kill things... Opensource FTW Link to comment
Cazomino05 Posted February 6, 2008 Share Posted February 6, 2008 well actually its pretty hard to find an lua 5.1 decompiler been on google for a bit most are version specific and whoever wanted the compiler http://luaforge.net/frs/download.php/31 ... 32_bin.zip Link to comment
szlend Posted February 6, 2008 Share Posted February 6, 2008 Or you can keep it Opensource like everything should be All this OMG SO SECRET stuff will kill things... Opensource FTW quoted for the truth Link to comment
XetaQuake Posted February 6, 2008 Author Share Posted February 6, 2008 Or you can keep it Opensource like everything should be All this OMG SO SECRET stuff will kill things... Opensource FTW well i think the same, but the script strongly implemented in the server well actually its pretty hard to find an lua 5.1 decompiler been on google for a bit most are version specific and whoever wanted the compilerhttp://luaforge.net/frs/download.php/31 ... 32_bin.zip hm, and how can i use this to compile stuff? Link to comment
Cazomino05 Posted February 6, 2008 Share Posted February 6, 2008 go into command prompt then cd to the compiler directory (its quicker) luac5.1.exe -s "path to file you wish to compile" This will output: luac.out in the compiler directory then just rename to filename.luac EDIT: how to open command prompt incase you didnt know start > run > cmd Link to comment
XetaQuake Posted February 6, 2008 Author Share Posted February 6, 2008 go into command prompt then cd to the compiler directory (its quicker) luac5.1.exe -s "path to file you wish to compile" This will output: luac.out in the compiler directory then just rename to filename.luac EDIT: how to open command prompt incase you didnt know start > run > cmd i thank you so much =) it works fine thread finish, now i remove it from my favorites Link to comment
eAi Posted February 7, 2008 Share Posted February 7, 2008 Compiling has the one benefit of reducing the script size. Thats not really an issue for most resources though. Link to comment
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