Page 1 of 1
Trying to get an old OXP working - solved thanks!
Posted: Sat Feb 04, 2012 6:33 pm
by Davidtq
Right I think Im currently playing oolite 1.75.3
I have some old OXP's that I put together and I know were working back in 2009...
Ive got about 5 oxp's of which 3 are still working and 2 are only partially working...
Ive went into the shipyard list and increased the chance to 1.0 and changed the tech level to 1 to get it showing in as many shipyards as possible but I cant get any of the 3 ships appearing in the shipyard in any of my saved games however the ships are showing in the ship demo at the beginning...
Ive also removed as many other oxps as possible to increase their chance of showing, but with no luck.
Is there any sort of error log I can look at to see whats wrong with the oxp?
Re: Trying to get an old OXP working
Posted: Sat Feb 04, 2012 6:43 pm
by Smivs
Hi davidtq,
You can find the log in the same folder as your AddOns folder, and you might find the answer there.
It might also help if you can be more specific about the OXPs/ships involved as very old ones might not work in more recent versions of Oolite. Also check the
OXP table to make sure you have the latest version of all the OXPs you use.
And on that subject, you really should upgrade to Oolite v1.76 (stable). 1.75.3 is now out of date. 1.76 is much more stable, and includes countless worthwhile improvements to the game.
Re: Trying to get an old OXP working
Posted: Sat Feb 04, 2012 7:09 pm
by Davidtq
The OXP's I'm having trouble with are ones I made up, that I never got round to releasing.
The thread when I started working is here :-
https://bb.oolite.space/viewtopic.ph ... it=kintari
Ive updated to 1.76 now
Ive updated the existing downloaded OXP's that I had
Im not seeing anything I recognise as a log file in c:\Oolite\AddOns Ive looked in the c:\Oolite\AddOns\Basic-debug.xp folder as well.
I picked up the game again a little while ago, got myself to deadly, saved up enough for a wolfmk2SE then decided to do a custom paint job on a Wolf Mk1 instead, all of which went well. Then I came up with an idea for a new paintjob for my old Kintari ships and discovered they were no longer working.
Re: Trying to get an old OXP working
Posted: Sat Feb 04, 2012 7:11 pm
by Cody
Logs should be here: C:\Oolite\oolite.app\Logs
Re: Trying to get an old OXP working
Posted: Sat Feb 04, 2012 7:21 pm
by Davidtq
ah ha thanks for that got this :-
18:59:58.209 [plist.parse.failed]: Failed to parse ../AddOns/Kintari.oxp/Config/shipyard.plist as a property list.
failed to parse as XML property list
Which Im assuming means something wrong in the shipyard list
Heres my shipyard list, will go over it again... Even if I dont get round to doing up all the nice textured versions would be nice to at least get the ship models out there...
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Kintari-scout-player</key>
<dict>
<key>chance</key>
<real>0.9</real>
<key>optional_equipment</key>
<array>
<string>EQ_ECM</string>
<string>EQ_FUEL_SCOOPS</string>
<string>EQ_ENERGY_BOMB</string>
<string>EQ_DOCK_COMP</string>
<string>EQ_WEAPON_MILITARY_LASER</string>
<string>EQ_SCANNER_SHOW_MISSILE_TARGET</string>
<string>EQ_MULTI_TARGET</string>
<string>EQ_GAL_DRIVE</string>
<string>EQ_ADVANCED_COMPASS</string>
</array>
<key>price</key>
<integer>109670</integer>
<key>standard_equipment</key>
<dict>
<key>extras</key>
<array>
<string>EQ_ESCAPE_POD</string>
<string>EQ_FUEL_INJECTION</string>
</array>
<key>forward_weapon_type</key>
<string>WEAPON_MILITARY_LASER</string>
<key>missiles</key>
<integer>2</integer>
</dict>
<key>techlevel</key>
<integer>7</integer>
<key>weapon_facings</key>
<integer>3</integer>
</dict>
<key>kintari-heavy-player</key>
<dict>
<key>chance</key>
<real>0.9</real>
<key>optional_equipment</key>
<array>
<string>EQ_CARGO_BAY</string>
<string>EQ_ECM</string>
<string>EQ_FUEL_SCOOPS</string>
<string>EQ_PASSENGER_BERTH</string>
<string>EQ_ENERGY_BOMB</string>
<string>EQ_DOCK_COMP</string>
<string>EQ_WEAPON_MILITARY_LASER</string>
<string>EQ_SCANNER_SHOW_MISSILE_TARGET</string>
<string>EQ_MULTI_TARGET</string>
<string>EQ_GAL_DRIVE</string>
<string>EQ_ADVANCED_COMPASS</string>
</array>
<key>price</key>
<integer>126,000</integer>
<key>standard_equipment</key>
<dict>
<key>extras</key>
<array>
<string>EQ_ESCAPE_POD</string>
<string>EQ_FUEL_INJECTION</string>
</array>
<key>forward_weapon_type</key>
<string>WEAPON_MILITARY_LASER</string>
<key>missiles</key>
<integer>4</integer>
</dict>
<key>techlevel</key>
<integer>7</integer>
<key>weapon_facings</key>
<integer>3</integer>
</dict>
<key>kintaritrad-player</key>
<dict>
<key>chance</key>
<real>0.9</real>
<key>optional_equipment</key>
<array>
<string>EQ_CARGO_BAY</string>
<string>EQ_ECM</string>
<string>EQ_FUEL_SCOOPS</string>
<string>EQ_PASSENGER_BERTH</string>
<string>EQ_ENERGY_BOMB</string>
<string>EQ_ENERGY_UNIT</string>
<string>EQ_NAVAL_ENERGY_UNIT</string>
<string>EQ_DOCK_COMP</string>
<string>EQ_WEAPON_MILITARY_LASER</string>
<string>EQ_SCANNER_SHOW_MISSILE_TARGET</string>
<string>EQ_MULTI_TARGET</string>
<string>EQ_GAL_DRIVE</string>
<string>EQ_ADVANCED_COMPASS</string>
<string>EQ_SHIELD_BOOSTER</string>
<string>EQ_NAVAL_SHIELD_BOOSTER</string>
</array>
<key>price</key>
<integer>195300</integer>
<key>standard_equipment</key>
<dict>
<key>extras</key>
<array>
<string>EQ_ESCAPE_POD</string>
<string>EQ_FUEL_INJECTION</string>
</array>
<key>forward_weapon_type</key>
<string>WEAPON_MILITARY_LASER</string>
<key>missiles</key>
<integer>1</integer>
</dict>
<key>techlevel</key>
<integer>7</integer>
<key>weapon_facings</key>
<integer>3</integer>
</dict>
</dict>
Re: Trying to get an old OXP working
Posted: Sat Feb 04, 2012 7:53 pm
by Smivs
Just had a quick look and there seems to be a missing
at line 35. There may be others, but TBH I really don't get on well with XML. If you're looking to fix it you might want to spend a bit of time converting plists to openstep which is the recommended method for Oolite today.
Edit:- I suspect there are several <dict> and </dict> missing. Each opening <dict> needs a closing </dict>.
Re: Trying to get an old OXP working
Posted: Sat Feb 04, 2012 7:58 pm
by Davidtq
Smivs wrote:Just had a quick look and there seems to be a missing
at line 35. There may be others, but TBH I really don't get on well with XML. If you're looking to fix it you might want to spend a bit of time converting plists to openstep which is the recommended method for Oolite today.
Edit:- I suspect there are several <dict> and </dict> missing. Each opening <dict> needs a closing </dict>.
Thanks for that.
Got it working... a missing </plist> at the end.
Dont see when it dissappeared looked through archived versions of the oxp and its not there on any versions, yet I definetely had the oxp working before...
Still its there an working