Search found 2370 matches

by Svengali
Mon Dec 31, 2007 3:28 pm
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1484
Views: 385920

Very good work, Eric. :D

Easy to understand - even for non-native english speakers.
I think you should add a link to your MOP, because any new mission-script should include your mission_offering check.
by Svengali
Mon Dec 31, 2007 12:03 am
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1484
Views: 385920

...any function declared with the “function foo()” syntax which is not inside another function is global, that is, it is seen by all scripts. That's the intention of this function library. A collection of useful things like the random number generator. Maybe the first snippets are a little bit too ...
by Svengali
Sun Dec 30, 2007 6:21 pm
Forum: Discussion
Topic: First jump with 1.70
Replies: 26
Views: 6157

TGHC wrote:I think it's about high time that Big A should have a credit on the load page along with Giles and Nosleep.
Yupp, for shure. :D :D
by Svengali
Sun Dec 30, 2007 6:15 pm
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1484
Views: 385920

SvengaliMathFuntions = Hehe, that sounds nice... But it is not my intention to get my very own library. I'm thinking of: this.name = "functionlib"; this.author = "Oolite BB"; this.copyright = "Creative Commons 2.0"; this.description = "OXP Function Library"; this.version = "1.00"; We are a communit...
by Svengali
Sun Dec 30, 2007 1:25 pm
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1484
Views: 385920

Yes, that is also one of the advantages of JS: you can define functions. And functions that are very useful for general use can be collected into one big library. This way not everybody needs to re-invent the wheel, but just can call a useful function from this library. I think it is important to h...
by Svengali
Fri Dec 28, 2007 1:00 pm
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1484
Views: 385920

WD Svengali, Eric Walsh is also doing a fine job updating old OXP's, so I guess you need to pm each other, to avoid duplication, or alternatively publish a list of candidate OXP's, and who is working on them, it may encourage others to join in, I would if I could, but I don't know how to. You COULD...
by Svengali
Thu Dec 27, 2007 4:56 pm
Forum: Discussion
Topic: Only Java-Script?
Replies: 4
Views: 1933

Ahruman wrote: The plan, such as it is, is to maintain support for the old scripting system but not add new features, and discourage its use once the mythical next stable release comes out. Thanks Ahruman, that was the question behind this thread. Eric wrote: But I agree that new functions should n...
by Svengali
Thu Dec 27, 2007 4:16 pm
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1484
Views: 385920

Ok. Here is the first one. I've used something similiar in the hyperradio.oxp and it works fine. // Get an random entry from descriptions.plist function GetDescriptionEntry(entrykey) { let entryname = "["+ExpandDescription(entrykey)+"]"; let Listofentries = [ExpandDescription(entryname), ExpandDescr...
by Svengali
Sun Dec 23, 2007 3:15 pm
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1484
Views: 385920

Eric wrote: Talking about a waist of execution time. When I started (it's only 4 month ago) scripting for Oolite, I took a look in a lot of OXPs and that's what i thought too. So I took a paper and wrote down all necessary conditions and splitted the big parts into small ones. That's no magic - just...
by Svengali
Sun Dec 23, 2007 2:29 pm
Forum: Expansion Pack
Topic: localhero oxp ALPHA
Replies: 178
Views: 39644

Please think of that this OXP does currently not work with Oolite 1.70. I'm planning to rescript it with Java-Script - but first I've to learn this language.

Version 1.00 is online:
http://wiki.alioth.net/index.php/Localhero_OXP
by Svengali
Sun Dec 23, 2007 2:16 pm
Forum: Testing and Bug reports
Topic: No roles
Replies: 16
Views: 6163

:shock: Maybe that's the same thing you have told me a while ago. I'm using some conditions in shipdata.plist. But the dump is made with 1.70 (Primary role)? I know that the localhero.oxp does not work with 1.70 and currently I'm learning JS to rescript this oxp. I should add a comment to the localh...
by Svengali
Sat Dec 22, 2007 9:09 pm
Forum: Discussion
Topic: Only Java-Script?
Replies: 4
Views: 1933

Only Java-Script?

Should Oolite only support Java-Script in future releases? Some thoughts about that. With JS we'll get a lot of new stuff to play with and if it's the only language any new scripter can learn it within 3-4 month. The development for Oolite will be a lot easier to handle and even the translation of '...
by Svengali
Sat Dec 22, 2007 6:55 pm
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1484
Views: 385920

But does it make sense to write something for the 'old' scripting method? I think most of the scripters will do any new work with JS. And it seems that JS is not so complicated - even if you haven't done anything with it before (like me). And to 'translate' old scripts should be possible after study...
by Svengali
Thu Dec 20, 2007 8:14 pm
Forum: Expansion Pack
Topic: hyperradio
Replies: 152
Views: 59013

Okay. It's on the WIKI
http://wiki.alioth.net/index.php/Hyperradio_js_OXP

But I'm not shure about placing this sweety on the OXP-Page. The question is what category is this one. It is related to the sound-, ship system- and eye(ear)candy-category. So what do you think?
by Svengali
Sun Dec 16, 2007 11:02 pm
Forum: Expansion Pack
Topic: hyperradio
Replies: 152
Views: 59013

Thanks Ahruman,

that would be a really helpful thing. Are you never sleeping?