Client-side scripting [poll]

Speak about everything in regards to Crossfire.

Moderator: Board moderators

Are you using the client-side scripting engine?

Yes
4
40%
No
5
50%
Didn't know it existed in the first place
1
10%
 
Total votes: 10

Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Client-side scripting [poll]

Post by Ryo »

Hello.

Currently the GTK client has a scripting interface, letting people plugin in programs (like sh script, perl scripts, whatever).

This doesn't quite work well under Windows (though I think no one really tried to fix it).


I wrote a first basic LUA engine for the client. LUA is a scripting language, designed to be embedded in programs. See http://www.lua.org for more information.

Concerns on the mailing list are that adding it will make the client have a full-featured plugin system, maybe overkill for the client, and hard to maintain.


So I'm asking who is using the current system, to help decide whether we add the LUA engine, keep or remove current system, and so on :)
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

I voted no. I don't currently use it, but I have a few times in the past.

Also, just to note, I've also got a report the current scripting interface doesn't work on Mac either (socketpair() fails for some reason)
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

I also voted no. I don't use the scripting features as I've never tried to power level any of the non-combat skills. :wink:

I know there are other uses for scripting... :lol:
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
techolous
Regular
Posts: 77
Joined: Thu Jun 17, 2004 2:41 am
Location: Eastern Coast of the United States

Post by techolous »

Ive used client scripting previously, but haven't touched it as of late. I wouldn't mind the current system being replaced with lua, but we need to keep an eye on feature creep. (Also may be a good idea to watch for feature creep in the main server, IMO a significant amount of features could be moved into plugins or scripts, if the bindings for such where improved.)
poof
Senior member
Posts: 333
Joined: Fri May 07, 2004 5:31 pm
Location: Alaska, USA

Post by poof »

I use bash scripts mainly to run as alchemy engines. It is much easier to allow a "daemon" to control my character than to type the commands over and over. =)
e-mail: poof \a\t eracc \d\o\t com
User avatar
bencha
Junior member
Posts: 110
Joined: Tue Feb 22, 2005 3:24 pm
Location: Paris

Post by bencha »

I use some ruby scripts, under linux as well as windows.

Under windows, the main problem is that you have to enter 'script ruby X:\path so all scripts are called ruby in the list

In general, the main limitation is that you don't know when you have to stop listening stdin in case of multiple lines response.
justinchudgar
Newbie
Posts: 5
Joined: Sat Sep 23, 2006 6:08 pm
Location: Weed, CA, USA
Contact:

Why LUA

Post by justinchudgar »

I'm a hack in half a dozen languages; and, I really do NOT want to learn another one just to script a game. If scripting were in Python, great, Lua, no.
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Re: Why LUA

Post by Ryo »

justinchudgar wrote:I'm a hack in half a dozen languages; and, I really do NOT want to learn another one just to script a game. If scripting were in Python, great, Lua, no.
Note that you can do client-side scripting in Python, using existing system.
User avatar
Katia
Regular
Posts: 97
Joined: Thu Jul 31, 2003 8:32 pm
Location: Uruguay

Post by Katia »

Hi, I know this is an ancient topic but I thought we don't need a huge bunch of topics called the same way :-)

I just voted yes! I love the scripting engine as it is right now.

The only counterpart I see is the documentation is too poor on some points.

The reason of my reply is that I've been thinking about improving that documentation, and even sharing some scripts to add to the ones in the wiki.

But on one side it seems my user has no right to create a page there even tho it can edit existing pages. I don't know who I should ask for that, Leaf? my user is katia there anyway.

On the other hand I was wondering what people think about publishing alchemy scripts or the like in the wiki, I know it's not only spoiling but it would also be open to abuse. So i'd like to have some opinions before I make a move if i will.

Every advice, thoughts and opinions are welcome. Thanks!
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

Katia wrote: But on one side it seems my user has no right to create a page there even tho it can edit existing pages. I don't know who I should ask for that, Leaf? my user is katia there anyway.
Hello - I am the one to contact and your edit access on the wiki has been updated.

Nice to "see" you again. :)
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Post Reply