Oolite Bulletins Forum Index Oolite Bulletins
For information and discussion about Oolite.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Debuging and qualifying my f... OXP
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Oolite Bulletins Forum Index -> Expansion Pack
View previous topic :: View next topic  
Author Message
McDjanoff
Above Average
Above Average


Joined: 16 Apr 2010
Posts: 16
Location: Space Bars or somewhere in space

PostPosted: Thu Jul 08, 2010 8:44 am    Post subject: Debuging and qualifying my f... OXP Reply with quote

Hello,

I am exploring the OXP world and made some tests with.

My problem is to qualify the OXP.
I've read many wiki entries and forums but don't found what I seek. There is an interesting debug.oxp, the logginf capacity of oolite itself, but not so well documented.

I think experienced OXPers have some recipes to verify how their OXP works.

Could you please expose your methods to help me ?

Regards,
B.
_________________
"In the space bar, the barbarians of all races"
Back to top
View user's profile Send private message
Killer Wolf
---- E L I T E ----
---- E L I T E ----


Joined: 02 Jan 2007
Posts: 1192

PostPosted: Thu Jul 08, 2010 9:15 am    Post subject: Reply with quote

huh?
_________________
KW
//\oo/\\


http://wiki.alioth.net/index.php/Isis_Interstellar
Back to top
View user's profile Send private message
Smivs
---- E L I T E ----
---- E L I T E ----


Joined: 09 Feb 2010
Posts: 569
Location: Nottingham U.K. (Poor Industrial. Democracy. Tech Level 10)

PostPosted: Thu Jul 08, 2010 9:31 am    Post subject: Re: Debuging and qualifying my f... OXP Reply with quote

McDjanoff wrote:
Hello,

I am exploring the OXP world and made some tests with.

My problem is to qualify the OXP.
I've read many wiki entries and forums but don't found what I seek. There is an interesting debug.oxp, the logginf capacity of oolite itself, but not so well documented.

I think experienced OXPers have some recipes to verify how their OXP works.

Could you please expose your methods to help me ?

Regards,
B.


Hi McDjanoff,
So you've made an OXP and you want to know how to test it, is that right?
Probably a good start is to load it into your AddOns folder and actually play it to start with.
It might help a bit if you could give some more details, as this may affect how you test it. For instance is it a new ship, or variation on an existing one? Is it a mission? Is it some eye-candy to make Oolite look prettier?
If you can give us a better idea what you're doing, someone here will probably be able to help you out.
Regards,
Smivs.
_________________
Commander Smivs, *DEADLY* and currently exploring Galaxy Six in a Boa II Clipper.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
McDjanoff
Above Average
Above Average


Joined: 16 Apr 2010
Posts: 16
Location: Space Bars or somewhere in space

PostPosted: Thu Jul 08, 2010 2:12 pm    Post subject: Reply with quote

Hello,

Thank you for your anwers.

For my first OXP, I follow the tutorial found on the wiki : http://wiki.alioth.net/index.php/OXP_tutorial and work from ACDK's OXP : illicit unlock.

My goal is to fly with vessels not found on the market or some uniq models based on Griff's works as illicit unlock does, but with a better chance to found them.

So I've made duplicate illicit unlock directory, some haks on shipdata.plist and shipyard.plist and deploy the result in AddOns.
I code the same chance as for Adder, Python or Cobra MKI.

The logs indicate that oolite have took the OXP, but I never see one of my vessel proposed on the market.

I think there is something which don't work properly, and I don't want to spend too many hours in try and test if I can monitor my OXP process by oolite.

Regards,
B.

NB :
In my future projects I would like to have some better radar and hud functions as switching target, better target follow-up, display more informations ans so on ...
I would like also select the container to eject. A lot of small points in fact.
_________________
"In the space bar, the barbarians of all races"
Back to top
View user's profile Send private message
Smivs
---- E L I T E ----
---- E L I T E ----


Joined: 09 Feb 2010
Posts: 569
Location: Nottingham U.K. (Poor Industrial. Democracy. Tech Level 10)

PostPosted: Thu Jul 08, 2010 3:19 pm    Post subject: Reply with quote

McDjanoff wrote:
Hello,

Thank you for your anwers.

For my first OXP, I follow the tutorial found on the wiki : http://wiki.alioth.net/index.php/OXP_tutorial and work from ACDK's OXP : illicit unlock.

My goal is to fly with vessels not found on the market or some uniq models based on Griff's works as illicit unlock does, but with a better chance to found them.

So I've made duplicate illicit unlock directory, some haks on shipdata.plist and shipyard.plist and deploy the result in AddOns.
I code the same chance as for Adder, Python or Cobra MKI.

The logs indicate that oolite have took the OXP, but I never see one of my vessel proposed on the market.


The frequency of ships at shipyards is determined by the 'Chance' entry near the top of the shipyard.plist. This also determines the frequency of equipment fitted. The higher the number the more likely the ship is to appear. It is also dependent on Tech Level (near the bottom of the shipyard.plist). A lower number here will increase the frequency by making the ship available at more planets.

McDjanoff wrote:

NB :
In my future projects I would like to have some better radar and hud functions as switching target, better target follow-up, display more informations ans so on ...
I would like also select the container to eject. A lot of small points in fact.


You can already cycle through the cargo to decide what to eject. Use 'R' (Shift-r) to cycle through the cargo, then 'd' to eject what you've selected.
_________________
Commander Smivs, *DEADLY* and currently exploring Galaxy Six in a Boa II Clipper.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Disembodied
Intergalactic Spam Assassin
Intergalactic Spam Assassin


Joined: 12 Jul 2007
Posts: 1986
Location: In a glass, darkly

PostPosted: Thu Jul 08, 2010 3:28 pm    Post subject: Reply with quote

McDjanoff wrote:
In my future projects I would like to have some better radar and hud functions as switching target, better target follow-up, display more informations ans so on ...


You can switch between targets now, using the Multi-Targeting System and the Target System Memory Upgrade.
_________________
A Farewell to Arms, Legs, etc.
Back to top
View user's profile Send private message
McDjanoff
Above Average
Above Average


Joined: 16 Apr 2010
Posts: 16
Location: Space Bars or somewhere in space

PostPosted: Thu Jul 08, 2010 4:02 pm    Post subject: Reply with quote

Smivs wrote:


The frequency of ships at shipyards is determined by the 'Chance' entry near the top of the shipyard.plist. This also determines the frequency of equipment fitted. The higher the number the more likely the ship is to appear. It is also dependent on Tech Level (near the bottom of the shipyard.plist). A lower number here will increase the frequency by making the ship available at more planets.

[...]

You can already cycle through the cargo to decide what to eject. Use 'R' (Shift-r) to cycle through the cargo, then 'd' to eject what you've selected.


I've read the wiki documentation about "Chance" and "Tech Level" entries Smile, but I completely miss the Cargo Cycle command.

Thank you for your help Smivs.

Regards,
B.
_________________
"In the space bar, the barbarians of all races"
Back to top
View user's profile Send private message
McDjanoff
Above Average
Above Average


Joined: 16 Apr 2010
Posts: 16
Location: Space Bars or somewhere in space

PostPosted: Thu Jul 08, 2010 4:09 pm    Post subject: Reply with quote

Disembodied wrote:
McDjanoff wrote:
In my future projects I would like to have some better radar and hud functions as switching target, better target follow-up, display more informations ans so on ...


You can switch between targets now, using the Multi-Targeting System and the Target System Memory Upgrade.


Correct me if I am wrong, but you may cycle between already acquired targets, and you can't select target class as ennemies, cargo or all to scan the surround ?

I'll get a try next play time and thanks for your help.

Regards,
B.
_________________
"In the space bar, the barbarians of all races"
Back to top
View user's profile Send private message
McDjanoff
Above Average
Above Average


Joined: 16 Apr 2010
Posts: 16
Location: Space Bars or somewhere in space

PostPosted: Thu Jul 08, 2010 4:13 pm    Post subject: Reply with quote

This is what I name a good recipe :

Ahruman wrote:
Oolite has what amounts to a spell checker for shipdata.plist, called the OXP verifier. It can currently only be invoked from the command line.

On Windows or Linux:
Code:
oolite.app/oolite --verify-oxp <path to OXP>

On Mac OS X:
Code:
Oolite.app/Contents/MacOS/Oolite --verify-oxp <path to OXP>


How can I have missed that ???

Regards,
B.
_________________
"In the space bar, the barbarians of all races"
Back to top
View user's profile Send private message
Disembodied
Intergalactic Spam Assassin
Intergalactic Spam Assassin


Joined: 12 Jul 2007
Posts: 1986
Location: In a glass, darkly

PostPosted: Thu Jul 08, 2010 4:39 pm    Post subject: Reply with quote

McDjanoff wrote:
Correct me if I am wrong, but you may cycle between already acquired targets, and you can't select target class as ennemies, cargo or all to scan the surround ?

I'll get a try next play time and thanks for your help.

Regards,
B.


No, you're right, you have to choose your targets manually, but once they're selected you can store them and select others, and then swap between the targets that you've picked. And you can't automatically select all cargo canisters as targets, or all enemies.
_________________
A Farewell to Arms, Legs, etc.
Back to top
View user's profile Send private message
McDjanoff
Above Average
Above Average


Joined: 16 Apr 2010
Posts: 16
Location: Space Bars or somewhere in space

PostPosted: Fri Jul 09, 2010 1:30 pm    Post subject: Reply with quote

Hello,

I would like this for canister hunting because I am fed up to seek them in the dark Confused.
I've check my aboard computer and I found a ... ZX-81, so I understand better the poor capacities of the tracking system. I must upgrade it.

Regards,
B.
_________________
"In the space bar, the barbarians of all races"
Back to top
View user's profile Send private message
Disembodied
Intergalactic Spam Assassin
Intergalactic Spam Assassin


Joined: 12 Jul 2007
Posts: 1986
Location: In a glass, darkly

PostPosted: Fri Jul 09, 2010 1:50 pm    Post subject: Reply with quote

If you're finding it difficult tracking down cargo canisters, try zooming in the scanner when you're at close range (the default key is "z", I think). In the absence of sophisticated onboard automation it makes scooping cans a lot easier!
_________________
A Farewell to Arms, Legs, etc.
Back to top
View user's profile Send private message
Commander McLane
Intergalactic Spam Assassin
Intergalactic Spam Assassin


Joined: 14 Dec 2006
Posts: 4930
Location: a Hacker Outpost in a very remote area

PostPosted: Fri Jul 09, 2010 2:01 pm    Post subject: Reply with quote

McDjanoff wrote:
I've check my aboard computer and I found a ... ZX-81...

Laughing Laughing Laughing
_________________
All you ever wanted to know--and more.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
McDjanoff
Above Average
Above Average


Joined: 16 Apr 2010
Posts: 16
Location: Space Bars or somewhere in space

PostPosted: Thu Jul 15, 2010 10:56 am    Post subject: Get my first OXP works ! but .... Reply with quote

Hello,

I've succeed to have my first OXP working. I thank every body for the help.
I can now fly with 'illicit vessels' which have no other interest than my curiosity.

During the tests, I've got a weird thing : the change I've made don't take effect at the next reload of the game as there is a persistant layer keeping the old data. I've seek for a cache or similar thing and don't ffind anything.

Is the normal way of working for Oolite app ?

Regards,
B.
_________________
"In the space bar, the barbarians of all races"
Back to top
View user's profile Send private message
Ahruman
Supreme Grand Admiral
Supreme Grand Admiral


Joined: 02 Apr 2005
Posts: 5677
Location: Sweden

PostPosted: Thu Jul 15, 2010 11:00 am    Post subject: Reply with quote

Yes, there is a cache. It is refreshed if the immediate contents of the AddOns folder change, but not if OXP contents change. Hold down shift during startup to flush it (or use the always-flush-cache hidden setting).
_________________
E-mail: ahruman@oolite.org
Twitter: Oolite
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Oolite Bulletins Forum Index -> Expansion Pack All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group