Oolite Bulletins

For information and discussion about Oolite.
It is currently Tue Sep 02, 2014 1:59 pm

All times are UTC




Post new topic Reply to topic  [ 70 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: OXPConfig
PostPosted: Mon Aug 04, 2008 11:04 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2121
OXPConfig
Image Image Image Image Image
This tool gives you the ability to configure several OXPs. It changes settings to enable (or disable) logging or audio functions and special settings to reckognize errors or to avoid clashes or to adjust numbers of planets/moons, etc. OXPs can use it in a lot of ways and in most cases it only needs a few additional lines of code.

A new feature is "User Definable Colors" - for OXPs which want to give users more configuration options without the need of scripting a own configuration menu.

OXPConfig runs without the debug-console and is primarily meant for non-scripters (and lazy scripters), but if you really need debug-options it is highly recommended to install the Basic-debug.oxp (written by Ahruman) and if necessary the console (written by Ahruman and ported to Windows by Kaks).

As example:
oxpA has declared this.logging = false, but possibly a player gets an error while using it. With the OXPConfig.oxp he can easily change this setting (while playing) to true, so the oxpA will write some status reports to the logfile (Latest.log) and to the debug console (if installed). oxpA is responsible for what kind of infos are logged and OXPConfig doesn't change anything else than the value of this property (and maybe some other specified properties too).

WIKI: OXPConfig
Documentation: [EliteWiki] OXPConfig Doc

_________________
Erm, ehh, oh! OXPs


Last edited by Svengali on Sun Jan 27, 2013 8:40 pm, edited 12 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 10, 2008 5:35 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2121
OXPConfig has reached v1.00. Storing and loading is implemented, so now it's time to join :-)

_________________
Erm, ehh, oh! OXPs


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 14, 2008 4:46 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2121
v1.01 is online

Changes:
- Six oxps included (released or coming): BuoyRepair, Famous_PlanetsA, Hyperradio, Localhero, ScriptTimer and Welcome Information.
- Automatic load of stored value.
- Fixed unavailable choices in some cases
- Introduced second variable to handle database-updates

http://wiki.alioth.net/index.php/OXPConfig

_________________
Erm, ehh, oh! OXPs


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 25, 2008 9:46 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2121
Ok v1.03 is online. OXPConfig is now configurable like any other oxp in the database. It has now all features I have had in mind - currently :-) - and the following versions will only update the database (I hope). So it is not only usable for non-scripters - it's also for lazy scripters :-)

Changes:
- Storing and loading of configurations tweaked
- Internal logging (configurable)
- Default configuration is stored and can be reloaded
- Automatic loading when Oolite is started (configurable)
- Selective loading of changed oxps (configurable)

http://wiki.alioth.net/index.php/OXPConfig

_________________
Erm, ehh, oh! OXPs


Last edited by Svengali on Fri Sep 26, 2008 6:12 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2008 8:14 am 
Offline
Deadly
Deadly
User avatar

Joined: Tue Jul 22, 2008 7:45 am
Posts: 165
Location: Sachsen
The link to version 1.02 in the wiki d/l version 1.01


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2008 10:08 am 
Offline
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
User avatar

Joined: Sat Jun 16, 2007 3:48 pm
Posts: 5521
Location: Netherlands
tinker wrote:
The link to version 1.02 in the wiki d/l version 1.01
Thanks, I just corrected it.

_________________
UPS-Courier & DeepSpacePirates & others at the box and some older versions


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2008 11:05 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2121
Thanks a lot (tinker and Eric) for your fast support :-)

Just tweaked it a little bit more to catch one nasty exception when a player loads a savedgame with values from versions before v1.02 and created some pics (3 different sizes) to implement them on the Wiki-Pages with compatible (in the database included) oxps.
Image
So v1.04 is online.
http://wiki.alioth.net/index.php/OXPConfig

EDIT: Fixed also the not executed reset on starting a new career directly after firing up Oolite. Thanks Thargoid for pointing on that.

_________________
Erm, ehh, oh! OXPs


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 30, 2008 4:43 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2121
v1.05 is online.

Just tweaked it a little bit more (grrr) to catch one more exception and removed a consoleMessage (forgot it).
http://wiki.alioth.net/index.php/OXPConfig

_________________
Erm, ehh, oh! OXPs


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 03, 2008 9:44 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2121
v1.06 is online.

Works in v1.72 and updated database.
http://wiki.alioth.net/index.php/OXPConfig

_________________
Erm, ehh, oh! OXPs


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 05, 2008 2:13 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Jul 04, 2007 3:37 pm
Posts: 353
Location: two strange quarks short of a graviton....
thank you!

_________________
arukibito ga michi wo erabu no ka, michi ga arukibito wo erabu no deshou ka?

Image
Play games. Win Amazon gift cards! Brag. Repeat.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 13, 2009 1:45 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2121
I'm currently preparing a new version - so if you think any other oxp should be included (and is prepared with the right properties), please post it here. I'll add it then and the next version will be tested and released after v1.73.

Just to give you 3 reasons:

a) Two (or even more) oxps are doing the same thing (maybe texturing the main planet or playing a musicfile). Only the last thing survives (or both will play their songs at the same time, urgs) and will be noticeable. A simple switch can avoid it.

b) A user has problems with a oxp. By enabling the logging in this oxp we all will get better infos where this problem is and under what kind of conditions it happens. And it will be a lot easier to fix then.

c) Give users a choice for features in your oxp. Lets say 4 oxps are providing features for texturing the main planet, adding secondary planets and moons, giving messages when player enters this system or leaves the station and playing music. Let the user decide what kind of feature he wants from all 4 oxps (e.g. MainPlanet textures from SystemRedux, secondary planets and moons from SystemRedux2, Messages from WelcomeMat and Music from FamousPlanets). Another example is the Hyperradio. The user can choose if she/he wants the automerge, music for launching the escapepod or if the stationlist should be shuffled. Simply by setting or disabling the switches - in the game. No need to frickle around with scripts and easy to use (for scripters and players). The settings in OXPConfig can be stored and will be restored when a savedgame is loaded.

So come on, don't be lazy. If you think that your oxp can collide with other oxps or if you want configurable features give it a try. We are getting more and more oxps and shiny new features from the engine. So clashes will happen. Help to avoid it and give users a vote :-)

_________________
Erm, ehh, oh! OXPs


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 16, 2009 2:31 pm 
Offline
Deadly
Deadly

Joined: Sat Aug 15, 2009 6:15 am
Posts: 213
I've just tested it with local hero, and it says that local hero needs to be of newer version.. it is 1.05.

I can't seem to find that newer version.. if it exists, that is.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 16, 2009 2:59 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2121
Chaky wrote:
I've just tested it with local hero, and it says that local hero needs to be of newer version.. it is 1.05.
I can't seem to find that newer version.. if it exists, that is.
Yupp. Correct. LH v1.05 is not supported, because it was written long before. OXPConfig needs fixed properties to work (logging,audio,extraA,extraB), so even if the oxp is in the list, but does not provide the right properties, OXPConfig informs you about it. LH2 will have these properties, but
a) it's still far away from being complete
b) it has nothing to do with the old 1.x version, so I'm going to v2.0
c) I won't release anything before v1.73 is there, even if it would be completed before and
d) the feature list is a lot longer now .-)

So take it as a testcase for OXPConfig then.
btw: v1.05 does not work in v1.72.x

_________________
Erm, ehh, oh! OXPs


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 16, 2009 11:31 pm 
Offline
Deadly
Deadly

Joined: Sat Aug 15, 2009 6:15 am
Posts: 213
I'm using trunk.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 01, 2009 12:33 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Sat Apr 02, 2005 9:32 am
Posts: 344
Location: Netherlands
Perhaps OXPConfig can be a way through which player can manage the various ship replacement sets.

I don't know if Griff and/or SimonB and/or others are interested, but they could let the user configure this way which of the ships in a collection will be used instead of a generic ship and which will not.

And then if the replacement ships are also given unique names, they can be re-used and modified other OXPs without messing too much with the look and feel that the owner want for his OOlite experience..

Just thinking out loud.

Best wishes,
Oscar


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 70 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group