Jump to content

how to protect client side script?


XetaQuake

Recommended Posts

Posted

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)

Posted

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?

Posted

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

Posted
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 :)

Posted
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 compiler

http://luaforge.net/frs/download.php/31 ... 32_bin.zip

hm, and how can i use this to compile stuff?

Posted

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

Posted
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

Posted

Compiling has the one benefit of reducing the script size. Thats not really an issue for most resources though.

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