Compiling LUA
Okay, I have a compiler and would like to compile lua 5.1. But I don't know where to start, how to do this, etc.
http://www.cs.virginia.edu/~lcc-win32/ This is the compiler. Could anyone help me on what I should do? I know it's a lot of work and might be difficult to explain. :/ Thanks! |
That is a compilier for the C programming language, G4m3w1z.
If you want to make an addon for WoW, you just write the .lua files and leave them like that in the appropriate directory (World of Warcraft/Interface/Addons/yourAddonName/yourAddonName.lua). You do not have to compile the .lua files. |
Quote:
EDIT: Since I'm learning LUA and the book suggests having the lua executable (which I assume is the compiled version) to run my first examples, I was just hoping I could compile it. If that's not the case then where could I get the lua executable file? I'm a total newb at this but I'm really willing to learn, and I really WANT to. Thanks. |
Basic steps for creating a WoW addon:
- Creamo |
Quote:
http://www.lua.org/pil/1.html Bottom of the page. "For a start, we recommend that you use the stand-alone interpreter (that is, the lua executable) to run your first examples and experiments. " Thanks. |
Quote:
|
Quote:
|
You don't need it. Having a basic understanding of programming concepts would help the most, I think.
I had no previous experience with LUA, but using the http://www.wowwiki.com/World_of_Warcraft_API that Creamo mentioned and the FuBar API documents I was able to write an addon. If you want to read up on LUA, check out these links I just found on Google: http://www.lua.org/pil/ http://www.lua.org/manual/5.1/ but I honestly think you could make something without having even looked at them (although it might turn out with some ugly code like my addon :p ). |
Quote:
EDIT: Okay, I'm doing Farang's tutorial, I've gotten to the point where you should load up WoW and test it. However it is not working. I've redone the code over and over, looked for any possible ways it wouldn't work. I'm confused. I try to type /ff 1 it does nothing. |
All times are GMT -6. The time now is 09:41 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI