PtokaX forum

PtokaX => FAQ section => Topic started by: ?StIfFLEr?? on 15 May, 2009, 19:39:56

Title: How to compile scripts.
Post by: ?StIfFLEr?? on 15 May, 2009, 19:39:56
Hello Freinds.
Need a small help.
I don't know the exact word for the function i desire.
But its similar to one of those scripts made by Rincewind.
I want to compile or say encrypt all the lua scripts in my ptokax so that no further editing can be done once i have finished the editing of the script as per requiremnt.
Is there any code that i ave to add before the script or is there any software where i can compile all the scripts i have without loosing its function that it carries out.
Please if anyone can help out.
Title: Re: How to compile scripts.
Post by: ?StIfFLEr?? on 16 May, 2009, 07:51:43
Sorry For the trouble Mutor But where can i find this compiler i searched throughout the webworld.
Title: Re: How to compile scripts.
Post by: ?StIfFLEr?? on 16 May, 2009, 10:44:41
Please can anyone provide me the link of the compiler that mutor is referring and a guide so that i can compile my finished scripts properly.
Please its an urgent need.If anyone could help i would be most thankful.
Title: Re: How to compile scripts.
Post by: PPK on 16 May, 2009, 12:57:32
http://lmgtfy.com/?q=lua+compiler
Title: Re: How to compile scripts.
Post by: ?StIfFLEr?? on 16 May, 2009, 14:32:05
I know we can google and find many things.
But provided we know whats the right thing in that to do what i want.
I wish your link directed me to the right link but it did not.
8)
Title: Re: How to compile scripts.
Post by: Azurious on 16 May, 2009, 15:10:50
lol  ;D
Title: Re: How to compile scripts.
Post by: PPK on 16 May, 2009, 15:20:14
http://lmgtfy.com/?q=lua+compiler -> First found link is http://www.devmaster.net/forums/showthread.php?t=11649 -> Link to LuaBinaries http://luabinaries.luaforge.net/ -> Download -> http://luaforge.net/frs/download.php/3677/lua5_1_4_Win32_bin.zip -> inside is lua compiler luac5.1.exe but i don't think that you will be able to use it if you can't click few links :P
Title: Re: How to compile scripts.
Post by: ?StIfFLEr?? on 16 May, 2009, 15:58:29
When you play find a jackpot hidden behind the door... Sometimes you tend to open a wrong door...
Thats what i did so long i suppose i always ignored those links and specially the very last one.
Well you can say i deserved 3-ve karma rightfully.
Thanks a lot.
+1 for you buddy.
Title: Re: How to compile scripts.
Post by: ?StIfFLEr?? on 16 May, 2009, 16:53:58
Mutor i downloaded the PPK given link.
But i dun know how to use it i tried to understand it from the manuals but could not get anything to my skull more over when i double click on tat luac exe am not able to get any executable thing.
Its just a pop up of cmd prompt  and goes off.
Title: Re: How to compile scripts.
Post by: ?StIfFLEr?? on 16 May, 2009, 16:57:22
Thanks a lot mutor.
Is there anymore way to learn the commands and know more about its working like we have for ptokax in winkipedia.
Thanks a lot mutor.
Title: Re: How to compile scripts.
Post by: ?StIfFLEr?? on 16 May, 2009, 17:05:09
So sorry i was just gona post it that i got it and you were just ahead of me. Thanks mutor for so much help..
You are a true GOD man.
Really thanks a ton .....
Let god bless you with lotsss of happineesss...
Thanks a lot you have been a big help to me.Hope i could someday return the favors.
Thanks a lot.
Title: Re: How to compile scripts.
Post by: Psycho_Chihuahua on 16 May, 2009, 18:31:56
as with most command line based exetuables there is always (or at least 98% of the time) a help command which can be called via: help or "executable name" and then /?

I dont want to be rude...but: People who don't read Readme's or Documentaries shouldn't try using these things ;)
Title: Re: How to compile scripts.
Post by: ?StIfFLEr?? on 16 May, 2009, 20:41:19
Yep i agree i saw that later was so confused that missed the most important thing.
I agree it was my fault totally.. I hope its forgivable  :-[