Compile.
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Compile.

Started by Tuben, 02 November, 2003, 00:12:32

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tuben

Can somone tell me hove too Compile lua scripting files ?

-Dark-Mind-[ DOWNLOAD ]

BlazeXxX

Compile in the sense? You mean changing to LUA format? like .lua ?

klownietklowniet

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...
[ > DC - UniteD < ]

Tuben

And hove do i use it ??
-Dark-Mind-[ DOWNLOAD ]

pHaTTy

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 ;)
Resistance is futile!

klownietklowniet

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... ;-)
[ > DC - UniteD < ]

Tuben

#6
"Edit" Fu** cant fins luac.exe.

Do somone have the ul ?

Ok..Trying that ;)
-Dark-Mind-[ DOWNLOAD ]

klownietklowniet

Easiest way is to download GS and rip it from there... ;-)

Else you can google it...
[ > DC - UniteD < ]

VERMiN

You can also use -s to strip debug info and make the script smaller.

luac -s -o MyScript.compiled MyScript.lua
The damned creator of [-MORBID-].  \" A damn fine security script \" [/COLOR]


HOMEPAGE
E-mail

[T-G-T]M@sto

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
The Ghost Riders - tgr.dyndns.org - The Best Danish Hub

SMF spam blocked by CleanTalk