Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Lua ➜ (Help) How do get lua to even start creating scripts?

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

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Aveeno   (5 posts)  Bio
Date Fri 21 Mar 2008 04:18 AM (UTC)
Message
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..
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 21 Mar 2008 05:32 AM (UTC)
Message
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

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Aveeno   (5 posts)  Bio
Date Reply #2 on Fri 21 Mar 2008 05:49 AM (UTC)
Message
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
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Fri 21 Mar 2008 07:08 AM (UTC)
Message
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/

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Aveeno   (5 posts)  Bio
Date Reply #4 on Fri 21 Mar 2008 07:17 AM (UTC)
Message
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
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #5 on Fri 21 Mar 2008 09:54 AM (UTC)
Message
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.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Aveeno   (5 posts)  Bio
Date Reply #6 on Sat 22 Mar 2008 10:01 AM (UTC)
Message
Yeah i know the tutorial, and the download its just i can't get lua to work on my computer (windows)
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #7 on Sat 22 Mar 2008 08:27 PM (UTC)

Amended on Sat 22 Mar 2008 08:28 PM (UTC) by Nick Gammon

Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Aveeno   (5 posts)  Bio
Date Reply #8 on Sun 23 Mar 2008 01:37 AM (UTC)
Message
thanks
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


22,682 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.