Alternative Contracts Interface

General discussion for players of Oolite.

Moderators: winston, another_commander

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

Re: Alternative Contracts Interface

Post by Thargoid »

Why would you want to copy anything from there from install to install?

All you should need are AddOns and your save files, plus perhaps your logs? There shouldn't be anything under Resources that needs copying.
User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Re: Alternative Contracts Interface

Post by Tricky »

cim wrote:

Code: Select all

Exception: TypeError: system.mainStation is null
    Active script: oolite-contracts-parcels 1.77
    oolite-contracts-parcels.js, line 193:

system.mainStation.setInterface("oolite-contracts-parcels",null);
The thing is, line 193 in the current code is just '{' which can not plausibly give that error.

In r5334, it's "system.mainStation.setInterface("oolite-contracts-parcels",null);" which obviously can.

Is it possible that you have an old copy of the script still in your folder despite having installed r5390?
What happens if you type worldScripts["oolite-contracts-parcels"].shipWillExitWitchspace in the debug console?
Doh! :oops:
Copied current Resources over and no more errors. :oops:
User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Re: Alternative Contracts Interface

Post by Tricky »

Thargoid wrote:
Why would you want to copy anything from there from install to install?

All you should need are AddOns and your save files, plus perhaps your logs? There shouldn't be anything under Resources that needs copying.
I have 4 versions.
  • 1.76.1
    trunk (with OXPs from 1.76.1)
    trunk (with minimal OXPs)
    ShadyPlanets
EDIT: Thinking of creating a 5th - 1.76.1 with minimal OXPs.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Alternative Contracts Interface

Post by Thargoid »

With the exception of the Shady Planets trunk version, there's nothing in there that has anything to do with the resources folder. All you need to be doing is controlling the content of the AddOns folder. That is entirely separate.

Indeed normally if there's anything that needs to be tweaked in the plists under resources, it's better done via a separate plist under the AddOns folder via a Config folder therein (an example being keyconfig.plist).

The only other exception is editing of the GNUstep defaults, but that's fairly rare too.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Alternative Contracts Interface

Post by Cody »

Thargoid wrote:
... if there's anything that needs to be tweaked in the plists under resources, it's better done via a separate plist under the AddOns folder via a Config folder therein (an example being keyconfig.plist).
The one exception seems to be the equipment.plist - I have to tweak that within Oolite's resources.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Alternative Contracts Interface

Post by Thargoid »

Not that I saw - Vortex makes a minor tweak to passenger berths and that seems to work fine from the OXP plist? I guess it might depend on what you're doing though.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Alternative Contracts Interface

Post by Cody »

Thargoid wrote:
I guess it might depend on what you're doing though.
Yeah... re-ordering my equipment list on F5, is what I'm doing.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: Alternative Contracts Interface

Post by Switeck »

The same hours to days conversion really needs to be done on the Galactic Chart as well, for consistency.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Alternative Contracts Interface

Post by Diziet Sma »

Something I've noticed, whenever I go to the chart to check out a contract, whether passenger, parcel or freight, is a superfluous (and non-functional) "Press Space Commander" at the bottom of the screen. It doesn't appear on the other pages.

(The message, "Development version 1.77.0.xxxx" could stand being moved a few pixels to the left, as well :wink:)

Image
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Alternative Contracts Interface

Post by cim »

Hmm... that suggests that it isn't clearing your HUD successfully, or at least quickly enough. Does it still happen with no OXPs installed?
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: Alternative Contracts Interface

Post by Eric Walch »

is a superfluous (and non-functional) "Press Space Commander" at the bottom of the screen
It certainly is not visible on all systems. Comparing your screen with mine, it suggests that the text would have been drawn outside the Oolite window on my screen.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Alternative Contracts Interface

Post by Cody »

No 'Press Space Commander' on my display (that really should have a comma after Space).
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Alternative Contracts Interface

Post by Commander McLane »

El Viejo wrote:
No 'Press Space Commander' on my display (that really should have a comma after Space).
I have always wondered about this one (but then again, English punctuation still mystifies me in general; personally, I have settled for a "what feels right" approach :wink: ).
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2453
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Alternative Contracts Interface

Post by Wildeblood »

El Viejo wrote:
No 'Press Space Commander' on my display (that really should have a comma after Space).
Something I pointed out more than a year ago, but the devs have apparently dug in their heels over this one.
Commander McLane wrote:
I have always wondered about this one...
This is easy. "Commander" is not part of the sentiment the sentence is expressing, and is therefore set off by a comma. You can substitute another word - "Press space, fella" - without changing the meaning. (Compare if you substitute something else for the first noun - "Press F7, commander" - you do change the sentence's meaning.)
User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Re: Alternative Contracts Interface

Post by Tricky »

I fear Godwin's law is around the corner.

"Press Space Commander" does not need to be commified (made up word), and even if it did, the original and seminal work that Oolite is based upon did not have the comma.
Post Reply