Problems With OXPConfig2.2.4

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

Moderators: winston, another_commander

Post Reply
User avatar
Scoria
Above Average
Above Average
Posts: 22
Joined: Sun Jan 27, 2013 3:14 am
Location: Christchurch, New Zealand

Problems With OXPConfig2.2.4

Post by Scoria »

Hey guys,

I am having trouble with OXPConfig not finding Lave Academy 1.32 and was wondering if anyone had any ideas for a fix.
Sorry if this post isn't in the right place but I'm new here and didn't know where to post it.
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: Problems With OXPConfig2.2.4

Post by Lone_Wolf »

1 of these would be a good spot :

Lave academy thread : https://bb.oolite.space/viewtopic.php?f=4&t=5842

Oxpconfig thread : https://bb.oolite.space/viewtopic.php?f=4&t=4908

I'd recommend the first one, and you'll need to supply more info about what's going wrong.
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
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: Problems With OXPConfig2.2.4

Post by Cody »

Hi Scoria... and welcome. Just to check - you are using Oolite 1.77, yes?
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
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Problems With OXPConfig2.2.4

Post by Diziet Sma »

Confirmed.. Oolite 1.77, Lave Academy 1.32 and OXPConfig 2.2.4.

OXPConfig does not appear to detect Lave Academy at all.
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
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Problems With OXPConfig2.2.4

Post by Thargoid »

I'll check my end of it when I get chance, but as that OXP hasn't changed (at least in relation to OXPConfig) in several updates, I would suspect that tweaking OXPConfig for 1.77 may have bent something outta shape.
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: Problems With OXPConfig2.2.4

Post by Svengali »

Scoria wrote:
I am having trouble with OXPConfig not finding Lave Academy 1.32 and was wondering if anyone had any ideas for a fix.
Thargoid wrote:
I'll check my end of it when I get chance, but as that OXP hasn't changed (at least in relation to OXPConfig) in several updates, I would suspect that tweaking OXPConfig for 1.77 may have bent something outta shape.
Nope. I guess it happened already a lot earlier, when OXPConfig has switched to the required settings object (with version 2.0, see https://bb.oolite.space/viewtopic.php?f= ... 8&start=20). It probably affects Thargoids other OXPs as well. Let's have a look...
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: Problems With OXPConfig2.2.4

Post by Svengali »

@Thargoid: A quick fix would be to use

Code: Select all

this.oxpcSettings = {
	Info: {Name:this.name,Display:this.name,InfoB:"1 - If false only appear at Lave, nowhere else - ignore extraB.\n2 - Single or multiple academies if extraA set. False gives 1 per galaxy, true gives 5."},
	Bool0: {Name:"extraA",Def:true,Desc:"Academies in all galaxies?"},
	Bool1: {Name:"extraB",Def:false,Desc:"Multiple academies per galaxy."}
};
this.extraA = true;	//	Academies in all galaxies? If false only appear at Lave, nowhere else - ignore extraB
this.extraB = false;	//	Single or multiple academies if extraA set. False gives 1 per galaxy, true gives 5
Note: The properties .extraA and .extraB are now in the scripts body instead of .startUp. This way you don't have to care for the loading order.

And sorry, Thargoid, for the extra work.
Post Reply