Full Thrust Java test list -- December 2007
Re: possible new feature... scripting?
Yes, I used to have access to the CVS SCM, but I had attempted to commit
my changes as well as synch with the head, and I was unable to login. I
do believe that my code was a 1.2 series, but the diff feature in eclipse
would allow me to quickly and easily update the 1.3 code with my changes.
Some of the fixes I had been working on are UI changes for the client side
piece. But there is a few other things that I had been toying with to
allow integration with a framework frontend (such as struts2) so that a
fully featured server could be setup and administered by anyone wishing to
do so.
I would be happy to have a look at the import/export code - I work with
Java and XML all day long, so using DOM to create and read documents
should be a synch.
There are a couple of areas where the some features can be added to the
product. Using SOA webservices to transfer turns while clients are
running (in the case of a group of users trying to play real-time), a more
'glitzy' web interface for players and admins, etc.
I would agree that there is some liability to adding scripting support
within the game itself, but there is a good potential for adding that
variability to the games as well.
> I'm curious what you are working on! Did you
> use to have CVS access? Are you working with
> a reasonably up to date code dump?
>
> It's been a while since I did anything - the
> last bit of code was some support for MT missiles
> and cleaning up the ant script.
>
> One thing that I really think needs done is to
> clean up the XML import/export code. I think
> that the total amount of code needed to do the
> task is about 10% of what is there currently. I've
> done some work but the scope of it is a bit
> disheartening, particularly when development has
> slowed so much.
>
> Support for some form of scenario level scripting is
> another, hence my message. I'm not really too
> worried about having a full fledged programming
> language embedded. We should be able to take steps
> to prevent accidental and deliberate abuse. What
> I don't want to do is to use my limited time to
> work on this to add a feature that nobody will use.
>
> Tony C.
>
> On 20-Dec-07, at 2:08 PM, scspieker wrote:
>
>>
>> I have been working on some of the FT Java code and I have found that
>> there are a number of locations within the framework where features
>> like
>> this suggestion would be possible.
>>
>> I know enough about javascript to be very dangerous in that
>> respect. I
>> have also been locked out of the CVS server, so once I have access
>> again,
>> I can apply some of the updates I had been working on.
>>
>> .^. Scott Spieker
>> /V\ http://www.voidgamers.com
>> /( )\ http://confrontation.voidgamers.com
>> ^^-^^ RHCE Cert# 804005217814926
>>
>> Confidentiality Note: This e-mail contains information intended
>> only for
>> the use of the individual or entity named above. If the reader of this
>> e-mail is not the intended recipient, any dissemination,
>> publication or
>> copying of this e-mail is strictly prohibited. The sender does not
>> accept
>> any responsibility for any loss, disruption or damage to your data or
>> computer system that may occur while using data contained in,or
>> transmitted with, this e-mail.
>>
>>> Hi Everyone,
>>>
>>> I've been doing some investigation into adding
>>> scripting support to FTJava. My thought would
>>> be to have scenario level scripts embedded in
>>> the XML (like JavaScript in HTML - actually,
>>> exactly like that). This would enable script
>>> writers to do quite advanced things as part of
>>> their game. Like victory conditions. Or adding
>>> ships, etc. during the game. I'm sure scenario
>>> writers could think up many more interesting things
>>> to do... The idea would be to have a subset of
>>> the FTJava API available to scenario scripts.
>>>
>>> The engine I've been looking at is Rhino, developed
>>> by the Mozilla Project. It adds support for JavaScript
>>> to a running Java program. It looks fairly easy
>>> to add in.
>>>
>>> So are there any scenario writers who would be interested
>>> in this feature? Does anybody know enough JavaScript
>>> to make it useful?
>>>
>>> Tony C.
>>>
>>>
>>
>>
>>
>
>
>
Main Index | Thread Index | Author Index | Archive Index
roger@nospam.firedrake.org
Generated: Sat Dec 22 02:07:12 GMT 2007