Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Google, Yandex

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
481
3,734
19,366
618
Micheal64X
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Coding » Lua?
Forum Rules | Mark all | Recent Posts

Lua?
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Apr 29, 2009, 11:21 pm
Go to the top of the page
Go to the bottom of the page

Sanus Compleo
Magician
GroupMembers
Posts153
JoinedMar 25, 2008

I've got two questions:

What exactly *is* it,

-and-

How can it help me get a more competent system than mudprogs?
       
Post is unread #2 Apr 29, 2009, 11:29 pm
Go to the top of the page
Go to the bottom of the page

Banner
Magician
GroupMembers
Posts169
JoinedNov 29, 2005

1)
What is Lua?
Lua is a powerful, fast, lightweight, embeddable scripting language.

Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.


2) http://gammon.com.au/scripts/forum.php?bbtopic_id=119
Basically, it'll let you write your own little programs easier since its apparently easy to script with.
       
Post is unread #3 Apr 30, 2009, 9:22 am
Go to the top of the page
Go to the bottom of the page

tphegley
Magician
GroupMembers
Posts176
JoinedMay 21, 2006

The link that Banner gave is the forums for Lua in smaugfuss. Read those those forums especially this one:

http://www.gammon.com.au/forum/?id=8013

That will give you an understanding of what it can do. It's actually quite amazing to see what you can do with it and this is pretty much just the beginning of what you could do with it.
       
Post is unread #4 Apr 30, 2009, 2:53 pm
Go to the top of the page
Go to the bottom of the page

Sanus Compleo
Magician
GroupMembers
Posts153
JoinedMar 25, 2008

I think I get it, but looking at these examples, it doesn't seem like you could replace online mudprog writing with this, or at least I wouldn't want to begin to try to :<
       
Post is unread #5 Apr 30, 2009, 3:12 pm
Go to the top of the page
Go to the bottom of the page

tphegley
Magician
GroupMembers
Posts176
JoinedMay 21, 2006

As Nick stated, it's not really meant to replace, but rather enhance a quest system.
       
Post is unread #6 Apr 30, 2009, 3:25 pm
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts903
JoinedJan 29, 2007

You can't properly replace mudprogs with Nick's implementation for reasons discussed on the forums. And yes, it is hard to replace mudprogs with Lua, but the payoff is very great.
       
Pages:<< prev 1 next >>