Page 1 of 2

So, with the new mission screen handling ...

Posted: Wed Jul 21, 2010 7:37 pm
by Lestradae
... what of backwards compatibility?

Will old mission oxps like "Long Way Around" or "Lovecats" still work or will they be quietly deprecated lest someone comes along and updates them?

Curious & unsure about that

L

Posted: Wed Jul 21, 2010 8:09 pm
by JensAyton
Quietly? The old approach to mission screens is – for JavaScript – explicitly deprecated. Scripts that use it will not work in the stable release. This is, again, what we mean by “unstable”.

Posted: Wed Jul 21, 2010 8:15 pm
by Thargoid
Sounds like we need a list of such orphaned OXPs. There's enough scripters around I think to update the JS code from 1.73.x mission scripting to 1.74.x and beyond. It shouldn't be as much work as updating from legacy script to JS.

Some are already done (Eric has done Lovecats I believe, plus some others), but there are going to be orphans still to be updated.

And yes, that is me volunteering to pick up some of the slack ;)

Re: So, with the new mission screen handling ...

Posted: Wed Jul 21, 2010 9:48 pm
by Eric Walch
Lestradae wrote:
Will old mission oxps like "Long Way Around" or "Lovecats" still work or will they be quietly deprecated lest someone comes along and updates them?
The legacy scripts still will function in the next stable release. And the two you mentioned are legacy.
The only problem are the older JS scripts, but for those the authors are still around to update their work.

Posted: Wed Jul 21, 2010 10:17 pm
by docwild
The two I've been noticing recently are the Vector and blackbaron which both use mission.choice. I look at them in the logs, but I haven't got round to fixing them.

I deserve a good shouting at really, because I've fixed several and since forgotten which.

Sorry.

Posted: Thu Jul 22, 2010 9:45 am
by Svengali
docwild wrote:
The two I've been noticing recently are the Vector and blackbaron which both use mission.choice. I look at them in the logs, but I haven't got round to fixing them.
Don't worry about Vector. The new version is nearly done. caracal is currently doing a testrun, so we can sort out the last remaining things and balance it properly. It will come soon.

Posted: Thu Jul 22, 2010 1:50 pm
by Rxke
I wrote Black Baron, but never got my head sufficiently around how JS works, so as far as I'm concerned, it is in a way orphaned (Would love to fix it, but don't have enough free time to get into it at the moment :( )

Posted: Thu Jul 22, 2010 1:56 pm
by Arexack_Heretic
Are the JS references in the wiki updated to the latest standard? Or at least the depricated references marked clearly as such.

'cause I would not see the difference,
having ignored JS in oolite as much as possible until recently.

Posted: Thu Jul 22, 2010 2:16 pm
by Kaks

Posted: Thu Jul 22, 2010 3:01 pm
by JensAyton

Posted: Thu Jul 22, 2010 4:17 pm
by Thargoid
Rxke wrote:
I wrote Black Baron, but never got my head sufficiently around how JS works, so as far as I'm concerned, it is in a way orphaned (Would love to fix it, but don't have enough free time to get into it at the moment :( )
If no-one else is on the case, I'm happy to have a look over it for you if you want...

Posted: Thu Jul 22, 2010 4:44 pm
by Rxke
Thargoid wrote:

If no-one else is on the case, I'm happy to have a look over it for you if you want...
I'd feel humbly honoured. Mind you, you won't be the first one to update this old clunker! :lol:

Posted: Thu Jul 22, 2010 7:40 pm
by Thargoid
Rxke wrote:
I'd feel humbly honoured. Mind you, you won't be the first one to update this old clunker! :lol:
There's a link to an updated version for 1.74 (only) in your PMs. Give it a play-test, and if it does the job then please upload it to wherever you have this OXP hosted (and I'll remove the link in the PM).

Posted: Thu Jul 22, 2010 8:42 pm
by Kaks
Oops, I think that the previous Black Baron update was done & uploaded by me via a now dead computer, so we'll need a completely new location for the new version of this OXP... :(

Before I forget, I suppose I'll have to reopen the OXP orphanage... do we have a list of orphaned OXPs anywhere?

Posted: Thu Jul 22, 2010 9:42 pm
by Eric Walch
Kaks wrote:
do we have a list of orphaned OXPs anywhere?
What about this sticky a few topics higher. Its has had no new posts for a good year now. Is that good or bad?

It does not contain many oxp's, so nobody sees orphaned stuff around.