Thelastride Posted November 27, 2011 Share Posted November 27, 2011 I want to know what is best way to compile scripts like rhbk's basemode.no one till is able t corack it.Even when you change file size or edit some image.script doesn't work.I tried with LuaCompileENG.exe but my friend decompiled it easily.If you know please tell.I want to release some scripts but only compiled Link to comment
mjau Posted November 28, 2011 Share Posted November 28, 2011 (edited) ben he means compile what you posteded made sure that file wont be saved in the players resouces folder And for poeds i think it is very random cuz i had two scripts i made myself (my spawnmenu BIG script and simple info GUI) and when i compiled the info gui i could decompile it but the big spawnmenu i couldn't, decommpiler just crashed so well just might be if you can mnake your code so advanced that the decompiler dont understand it lolz Edited November 28, 2011 by Guest Link to comment
12p Posted November 28, 2011 Share Posted November 28, 2011 Yes I know, kimmis (I'm not idiot, you should already know that). But NeXTreme's way is the best one to avoid resource stealing. That's why I posted it. Compilers will never be perfect. Link to comment
mjau Posted November 28, 2011 Share Posted November 28, 2011 didnt say you were an idiot, just corrected you and gave poeds the answer he want Link to comment
12p Posted November 28, 2011 Share Posted November 28, 2011 didnt say you were an idiot I know you didn't. But compilers will never be perfect. There are DECOMPILERS around the web. So the best way is still NeXTreme's. Link to comment
mjau Posted November 28, 2011 Share Posted November 28, 2011 i know and i know yeah the way to protect resources in your server is neXtremes way but if he tough of something he wanted to be released and not edited Anyway he got his answer now Link to comment
DiSaMe Posted November 28, 2011 Share Posted November 28, 2011 Isn't this a better way to protect scripts? Link to comment
AGENT_STEELMEAT Posted November 28, 2011 Share Posted November 28, 2011 Adding lots of whitespace, using crazy tables {{{{{ {}, {}, {} }}}}}, using local variables (or renaming global ones) are all ways to confuse the Lua decompiler. local almightyBunghole = {{{{{ {}, {}, {} }}}}} _setElementPosition = setElementPosition function setElementPosition(element, x, y, z, warp) return _setElementPosition(element, x, y, z, warp) end local function resourceStart(startedResource) print(string.format("Resource %s has started!", getResourceName(startedResource) ) end addEventHandler("onResourceStart", resourceRoot, resourceStart) If you have something really precious, you could use Ransom's file downloading method. Link to comment
qaisjp Posted November 28, 2011 Share Posted November 28, 2011 didnt say you were an idiot I know you didn't. But compilers will never be perfect. There are DECOMPILERS around the web. So the best way is still NeXTreme's. also decompiling is not prohibitied in the Lua team. Link to comment
Castillo Posted November 28, 2011 Share Posted November 28, 2011 With NeXTreme's way it'll remove the scripts just after they download? if not, you can still steal them while playing. Link to comment
AGENT_STEELMEAT Posted November 28, 2011 Share Posted November 28, 2011 also decompiling is not prohibitied in the Lua team. True, you are the expert after all. Link to comment
12p Posted November 28, 2011 Share Posted November 28, 2011 With NeXTreme's way it'll remove the scripts just after they download? Exactly. Link to comment
qaisjp Posted November 29, 2011 Share Posted November 29, 2011 also decompiling is not prohibitied in the Lua team. True, you are the expert after all. I'm flattered, John 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