Author Topic: How to compile scripts.  (Read 6127 times)

0 Members and 1 Guest are viewing this topic.

Offline ?StIfFLEr??

  • Triple Ace
  • **
  • Posts: 241
  • Karma: +17/-63
How to compile scripts.
« 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.
« Last Edit: 16 May, 2009, 10:45:48 by ?StIfFLEr?? »

PtokaX forum

How to compile scripts.
« on: 15 May, 2009, 19:39:56 »

Offline ?StIfFLEr??

  • Triple Ace
  • **
  • Posts: 241
  • Karma: +17/-63
Re: How to compile scripts.
« Reply #1 on: 16 May, 2009, 07:51:43 »
Sorry For the trouble Mutor But where can i find this compiler i searched throughout the webworld.

Offline ?StIfFLEr??

  • Triple Ace
  • **
  • Posts: 241
  • Karma: +17/-63
Re: How to compile scripts.
« Reply #2 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.

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 481
  • Karma: +209/-22
  • PtokaX developer
Re: How to compile scripts.
« Reply #3 on: 16 May, 2009, 12:57:32 »
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline ?StIfFLEr??

  • Triple Ace
  • **
  • Posts: 241
  • Karma: +17/-63
Re: How to compile scripts.
« Reply #4 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)

Offline Azurious

  • Double Ace
  • *
  • Posts: 102
  • Karma: +5/-17
    • DesiDeshat - The World Of Desi Stuff!!!
Re: How to compile scripts.
« Reply #5 on: 16 May, 2009, 15:10:50 »
lol  ;D
http://www.desideshat.com - The World Of Desi Stuff!!!

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 481
  • Karma: +209/-22
  • PtokaX developer
Re: How to compile scripts.
« Reply #6 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
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline ?StIfFLEr??

  • Triple Ace
  • **
  • Posts: 241
  • Karma: +17/-63
Re: How to compile scripts.
« Reply #7 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.

Offline ?StIfFLEr??

  • Triple Ace
  • **
  • Posts: 241
  • Karma: +17/-63
Re: How to compile scripts.
« Reply #8 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.

Offline ?StIfFLEr??

  • Triple Ace
  • **
  • Posts: 241
  • Karma: +17/-63
Re: How to compile scripts.
« Reply #9 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.

Offline ?StIfFLEr??

  • Triple Ace
  • **
  • Posts: 241
  • Karma: +17/-63
Re: How to compile scripts.
« Reply #10 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.

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Emperor
  • **
  • Posts: 1 054
  • Karma: +112/-1
  • I am wherever i want to be
    • PtokaX Luaboard
Re: How to compile scripts.
« Reply #11 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 ;)
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Offline ?StIfFLEr??

  • Triple Ace
  • **
  • Posts: 241
  • Karma: +17/-63
Re: How to compile scripts.
« Reply #12 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  :-[

PtokaX forum

Re: How to compile scripts.
« Reply #12 on: 16 May, 2009, 20:41:19 »