Bully-Board

Bully Modding Section => Script Modding => LUA Scripting Help => Topic started by: Jobaarron on June 29, 2013, 12:59:04 AM

Title: LUA COMPILING
Post by: Jobaarron on June 29, 2013, 12:59:04 AM
How To Compile The LUA

Without LuaC and VC2008
Title: Re: LUA COMPILING
Post by: c00ld0c26 on June 29, 2013, 12:59:34 AM
Currectly you MUST have those 2 things to compile scripts.
Title: Re: LUA COMPILING
Post by: Evolution on June 29, 2013, 01:04:15 AM
How To Compile The LUA

Without LuaC and VC2008

Sorry mate, but you NEED those two to compile LUA.
Title: Re: LUA COMPILING
Post by: MadmaN on June 29, 2013, 02:45:24 AM
The reason why both of those are needed is due to the fact that this lua compiler is custom and not a standard compiler.

BULLY uses lua version 5.0.2 and there is NO downloadable binary compiler for that version of lua unless of course you use linux and I will lay a bet that very very few if any here even use linux much less know how to use its vast list of commands.

I am planning at some point a gui addon for the compiler to make things simpler since it seems that a lot of people have problems learning how to use the command prompt which really is a skill everyone should try to learn since command line based applications are far more powerful then any gui based one.
Title: Re: LUA COMPILING
Post by: Jobaarron on June 29, 2013, 03:24:59 AM
The reason why both of those are needed is due to the fact that this lua compiler is custom and not a standard compiler.

BULLY uses lua version 5.0.2 and there is NO downloadable binary compiler for that version of lua unless of course you use linux and I will lay a bet that very very few if any here even use linux much less know how to use its vast list of commands.

I am planning at some point a gui addon for the compiler to make things simpler since it seems that a lot of people have problems learning how to use the command prompt which really is a skill everyone should try to learn since command line based applications are far more powerful then any gui based one.



Sir I don's use Linux
ok i search how to use cmd.exe
Title: Re: LUA COMPILING
Post by: SWEGTA on June 29, 2013, 04:21:44 AM
Check out my tutorial on Compiling.
Title: Re: LUA COMPILING
Post by: Jobaarron on June 29, 2013, 05:11:28 AM
ok
Title: Re: LUA COMPILING
Post by: c00ld0c26 on June 29, 2013, 12:10:41 PM
You can use SWEGTA'S video tutorial, or my lua tutorial at script modding.
Title: Re: LUA COMPILING
Post by: DaBOSS54320 on July 05, 2013, 06:02:40 PM
You'll either have to make your own or the luac one. I am not aware of any other ones. I plan on making one though that's easy to use for new moders and to help advanced moders too because it's a tad faster.
Title: Re: LUA COMPILING
Post by: MadmaN on July 06, 2013, 06:00:39 PM
I wish you luck at creating your own compiler since it is not the easiest thing to create in this particular case since I have had no luck in making one myself.

What I suggest that you try is to read up on the lua handbook and familierize yourself with everything lua based.....get virtualbox which is free and create a virtual system and install ubuntu linux.....and then locate a copy of lua 5.0.2 only....and install that there.....then work on creating a compiler using lua itself.

Title: Re: LUA COMPILING
Post by: Ryuzaki L Reachley on November 07, 2013, 07:54:53 PM
 8) nice one :biggrin:
Title: Re: LUA COMPILING
Post by: Bellic19 on April 11, 2014, 04:03:32 AM
here is luac and cmd  :)
Title: Re: LUA COMPILING
Post by: DaBOSS54320 on April 12, 2014, 09:27:54 PM
^ everybody has cmd.exe already installed as it is essential to all windows computers lol.

Also adding onto my old post, no way im going to be making my own compiler XD (too hard)

and it's not a huge price to pay, just get LuaC and visual studio.
LUA is made in C, and to use C you'll need the libraries. visual studio provides these.
you could possibly get the libraries needed from visual studio's files and release like that, but im not 100% sure and im not gonna look into that too much.
Title: Re: LUA COMPILING
Post by: Hardik Sharma on June 25, 2014, 09:26:15 AM
it says unexpected symbol
Title: Re: LUA COMPILING
Post by: DaBOSS54320 on June 25, 2014, 11:30:28 AM
^ That likely means that you installed LuaC correctly and it is working, but you coded something wrong in your LUA code.