Can somone tell me hove too Compile lua scripting files ?
Compile in the sense? You mean changing to LUA format? like .lua ?
Get Luac.exe. It's the Lua compiler. Syntax is pretty standard, but you can execute it with no options to get the list of parameters...
And hove do i use it ??
open a dos prompt cd to the directry where you have luac.ex and ur script.lua , then in the prompt type
luac.exe script.lua <<< this is the simple way of doing it, then it will make a file named iforgotname.out, lol
then there ya go ;)
use with -o as a parameter and then the filename you want like so:
Luac.exe -o compiledscript.lua sourcescript.lua
This will create a file calles "compiledscript.lua" which is the compiled version of sourcescript.lua, which will be your script.
You can just run Luac.exe with no option to get the list of possible parameters... ;-)
"Edit" Fu** cant fins luac.exe.
Do somone have the ul ?
Ok..Trying that ;)
Easiest way is to download GS and rip it from there... ;-)
Else you can google it...
You can also use -s to strip debug info and make the script smaller.
luac -s -o MyScript.compiled MyScript.lua
QuoteOriginally posted by Tuben
"Edit" Fu** cant fins luac.exe.
Do somone have the ul ?
Ok..Trying that ;)
Try here http://www.lua.org/download.html