(Help) How do get lua to even start creating scripts?

Posted by Aveeno on Fri 21 Mar 2008 04:18 AM — 9 posts, 32,846 views.

#0
Hey, i was just wondering how to get lua to work for windows, don't know which compiler to get to "install" it or anything..
Australia Forum Administrator #1
Do you mean using MUSHclient? Or, just stand-alone?

It is already supplied with MUSHclient. See this post for an introduction to scripting:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=6030
#2
I really don't know im trying to script for a different game but not to sure how to get lua to work at all, been reading for about 3-4 hrs now and still don't know exactly what to do with lua :d
USA #3
You don't happen to be talking about using Lua for World of Warcraft, do you? People here probably can't help you much for that... :)

If you just want the interpreter binary to play with, you should go to the LuaBinaries project page: http://luabinaries.luaforge.net/
#4
No im not looking for wow i hate that game, looking for a game called flyff.. :( been going at this for 6 hrs and nothing to go on! lol
Australia Forum Administrator #5
From what I have seen searching for Flyff and Lua, which isn't all that much, you can script in Lua. However whether or not it is already installed isn't clear.

If you need a copy of Lua, try:

http://www.lua.org/

The online manual for learning Lua is at:

http://www.lua.org/pil/

I doubt if anyone here is a great expert in Flyff and Lua scripting - this site is really for MUD games, and in particular MUSHclient (MUD game client).

Try the Flyff forums, they may be more help.

#6
Yeah i know the tutorial, and the download its just i can't get lua to work on my computer (windows)
Australia Forum Administrator #7
From this web page:

http://luabinaries.luaforge.net/download.html

Download this file:

http://luaforge.net/frs/download.php/3134/lua5_1_3_Win32_bin.zip

Inside that zip file are various .exe and .dll files. Extract them all into a directory (eg. C:\Lua)

Double-click on lua5.1.exe - and you will have Lua running. You should then see a console window showing:


Lua 5.1.3  Copyright (C) 1994-2008 Lua.org, PUC-Rio
>


Now you can try your scripts.
Amended on Sat 22 Mar 2008 08:28 PM by Nick Gammon
#8
thanks