Page 1 of 1
Problems With OXPConfig2.2.4
Posted: Sun Jan 27, 2013 3:20 am
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.
Re: Problems With OXPConfig2.2.4
Posted: Sun Jan 27, 2013 1:24 pm
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.
Re: Problems With OXPConfig2.2.4
Posted: Sun Jan 27, 2013 1:29 pm
by Cody
Hi Scoria... and welcome. Just to check - you are using Oolite 1.77, yes?
Re: Problems With OXPConfig2.2.4
Posted: Sun Jan 27, 2013 1:54 pm
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.
Re: Problems With OXPConfig2.2.4
Posted: Sun Jan 27, 2013 3:12 pm
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.
Re: Problems With OXPConfig2.2.4
Posted: Sun Jan 27, 2013 8:00 pm
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...
Re: Problems With OXPConfig2.2.4
Posted: Sun Jan 27, 2013 9:04 pm
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.