So, with the new mission screen handling ...

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3092
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

So, with the new mission screen handling ...

Post 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

User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post 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”.

User avatar
Thargoid
Thargoid
Thargoid
Posts: 5510
Joined: Thu Jun 12, 2008 6:55 pm

Post 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 ;)

User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

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

Post 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.

User avatar
docwild
Dangerous
Dangerous
Posts: 64
Joined: Thu Mar 29, 2007 1:36 pm

Post 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.

User avatar
Svengali
---- E L I T E ----
---- E L I T E ----
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Post 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.

User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1743
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post 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 :( )

User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1878
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post 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.
Riding the Rocket!

User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Hey, free OXPs: farsun v1.05 & tty v0.5! :0)

User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »


User avatar
Thargoid
Thargoid
Thargoid
Posts: 5510
Joined: Thu Jun 12, 2008 6:55 pm

Post 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...

User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1743
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post 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:

User avatar
Thargoid
Thargoid
Thargoid
Posts: 5510
Joined: Thu Jun 12, 2008 6:55 pm

Post 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).

User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post 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?
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)

User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post 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.

Post Reply