Jump to content

LUA Compiler GUI


_______

Recommended Posts

Posted (edited)

Lua Compiler GUI

This program makes compiling LUA files easy, no need for the cmd, and can handle multiple files at the same time.

Screenshots:

LUACompilerGUIV20-2.png

How to use:

Add you're files/folder's to the queue, select what you want to compile, and hit the start button!

Changelog:

V2.0:

-It is now stand-alone! No need for external libraries/binaries.

-All new GUI, easier to use with a queue.

-Improved functions.

V1.1:

-Added compiling a resource by selecting its folder.

-General GUI improvements.

Download:

Coming soon.

Credits:

Credits goes to me, MAR

And Benji for the original idea.

All logos of lua are property of lua.org

Please do suggest features and report bugs.

Edited by Guest
Posted

Nice one, I was going to make the same some days ago but i realized i can make this tool online so you don't have to download and install anything.

Suggestion for you: make this able to select zipped resource, then it should extract files, compile all lua, then repack - this is also a suggestion for myself :D

If anyone is interested in online version, check my sig.

|

|

V

Posted

From PHP script side: Actually I'm calling luac.so from PHP script as this is on linux machine.

From user side: Standard file upload. You need to select lua file and press "generate".

Posted

In my opinion this would make scripts stealing easier.

Like: If you wanna decompile - you have to use brain and google, not automatic tool. This will prevent noobs from trying to steal even compiled scripts..

Posted
In my opinion this would make scripts stealing easier.

Like: If you wanna decompile - you have to use brain and google, not automatic tool. This will prevent noobs from trying to steal even compiled scripts..

Yeah, Thats why i hate "Noobs" They Ruin the game for everyone (eg. S0beit, Spam, DM'ing on RPG server, Etc, Etc)

Posted

You ask for a decompiler, and then agree with the person that disagrees with the idea of having a decompiler. Thats just like well, you hating on yourself.

Anyway, this may come in handy if we cant figure out a script to autocompile changed files after an SVN commit.

Posted
In my opinion this would make scripts stealing easier.

Like: If you wanna decompile - you have to use brain and google, not automatic tool. This will prevent noobs from trying to steal even compiled scripts..

Agreed.

In my opinion this would make scripts stealing easier.

Like: If you wanna decompile - you have to use brain and google, not automatic tool. This will prevent noobs from trying to steal even compiled scripts..

Yeah, Thats why i hate "Noobs" They Ruin the game for everyone (eg. S0beit, Spam, DM'ing on RPG server, Etc, Etc)

lol fail.

Posted
whats the point of compiler then if u make decompiler...

You need some effort to decompile.

Also - decompiled script is a mess.

You have to *REALLY* wanna steal something to play with decompiled scripts. Probably it's better to rewrite things, or copy very few parts.

So compiling makes sense, but can't protect you in 100%. It's like putting simple padlock on your garage doors - with some bigger tool - everyone can get inside anyway - but it needs more effort than just opening the door and getting inside :)

  • 1 month later...
Posted

Well,

Hi all ... and then ;

The Both Compilers isn't working with me :S

The GUI Isn't Working, I Think because of my Windows (win7)

And I Think I Don't need it ..

Last few months, I Was Testing varez's Compiler and It worked, But now ... I'am tring to Compile some Files of my Map, and It always say Error, syntax it Wronge .... If you Please tell me wad's wronge here :

function clr() 
  
  for i, v in ipairs( getElementsByType( "vehicle" ) ) do 
   
    local color = {} 
    color[1] = (5) 
    color[2] = (3) 
    color[3] = (math.random(0,126)) 
    color[4] = (math.random(0,126)) 
    setVehicleColor ( v, color[1], color[2], color[3], color[4] )  
     
  end 
end 
  
function startTimer() 
  setTimer ( clr, 100, 0 ) 
end 
addEventHandler ("onResourceStart", root, startTimer) 

Maybe I'am blind or Some thing ...

Posted
Well,

Hi all ... and then ;

The Both Compilers isn't working with me :S

The GUI Isn't Working, I Think because of my Windows (win7)

And I Think I Don't need it ..

Last few months, I Was Testing varez's Compiler and It worked, But now ... I'am tring to Compile some Files of my Map, and It always say Error, syntax it Wronge .... If you Please tell me wad's wronge here :

function clr() 
  
  for i, v in ipairs( getElementsByType( "vehicle" ) ) do 
   
    local color = {} 
    color[1] = (5) 
    color[2] = (3) 
    color[3] = (math.random(0,126)) 
    color[4] = (math.random(0,126)) 
    setVehicleColor ( v, color[1], color[2], color[3], color[4] )  
     
  end 
end 
  
function startTimer() 
  setTimer ( clr, 100, 0 ) 
end 
addEventHandler ("onResourceStart", root, startTimer) 

Maybe I'am blind or Some thing ...

Try this...

function clr() 
  
  for i, v in ipairs( getElementsByType( "vehicle" ) ) do 
  
    local color = {} 
    color[1] = 5 
    color[2] = 3 
    color[3] = math.random(0,126) 
    color[4] = math.random(0,126) 
    setVehicleColor ( v, color[1], color[2], color[3], color[4] ) 
    
  end 
end 
 setTimer ( clr, 100, 0 ) 
 addEventHandler ("onResourceStart", root, clr) 

Posted
Why to get one? Compilers were made so files cannot be readen, are you going to STEAL a script?

yes... -.-"

Well, ask the script author if you can get the original script version without compiling. If he says you can't, then forget it and do it by yourself, lazy guy.

Guuys,

I Need to Protect my Scripts :'(

any Ideas ?

As proracer said, download this Lua Compiler.

You need to have original Lua software (which can be downloaded easily by clicking on the link that appears at Lua Compiler huh)

Posted (edited)
Why to get one? Compilers were made so files cannot be readen, are you going to STEAL a script?

yes... -.-"

my god... i joke...

Edited by Guest

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