hey comanders i found whats been causeing some older oxp bug

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

Moderators: winston, another_commander

ashtiboy
Competent
Competent
Posts: 37
Joined: Thu Oct 29, 2015 9:41 pm

Re: hey comanders i found whats been causeing some older oxp

Post by ashtiboy »

by the way i found whats causeing blackmonks oxz to not work, theres a problem in the scripts folder in the blackmonk_main.js file theres a unexpected type error in line 608. another oxz that i found an error in is the station for extra planets oxz. theres another unexpected type error in the scripts foulder file sfep_script.js on line 64 as well. thats more info i found by looking thoue my logs
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: hey comanders i found whats been causeing some older oxp

Post by spara »

ashtiboy wrote:
by the way i found whats causeing blackmonks oxz to not work, theres a problem in the scripts folder in the blackmonk_main.js file theres a unexpected type error in line 608. another oxz that i found an error in is the station for extra planets oxz. theres another unexpected type error in the scripts foulder file sfep_script.js on line 64 as well. thats more info i found by looking thoue my logs
Those are probably caused by missing semicolon(s) in shipdata. Could you please post your log, so that we can better find the errors? I'm quite sure sure that most of these are shipdata problems, but seeing the log would help to rule other possibilities out. Thanks for reporting, shipdata problems with Apple computers are quite challenging because there seems to be no way of finding them without Apple computer.
User avatar
Day
---- E L I T E ----
---- E L I T E ----
Posts: 545
Joined: Tue Mar 03, 2015 11:35 am
Location: Paris

Re: hey comanders i found whats been causeing some older oxp

Post by Day »

spara wrote:
Thanks for reporting, shipdata problems with Apple computers are quite challenging because there seems to be no way of finding them without Apple computer.
Wouldn't it be possible to write a parser to check for this ?
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: hey comanders i found whats been causeing some older oxp

Post by spara »

Day wrote:
spara wrote:
Thanks for reporting, shipdata problems with Apple computers are quite challenging because there seems to be no way of finding them without Apple computer.
Wouldn't it be possible to write a parser to check for this ?
Now that would be really useful. :D
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: hey comanders i found whats been causeing some older oxp

Post by spara »

Found and fixed one missing semicolon from BlackMonks :D . Could not find anything missing from Station for Extra Planets :( . That log might help here :wink: .
User avatar
Venator Dha
---- E L I T E ----
---- E L I T E ----
Posts: 329
Joined: Sun Feb 23, 2014 11:26 am
Location: Sweden

Re: hey comanders i found whats been causeing some older oxp

Post by Venator Dha »

spara wrote:
Could not find anything missing from Station for Extra Planets :( . That log might help here :wink: .
Just to let you know that I've not been getting any errors for this OXP using the latest 1.8 on my mac.
Taurus Driving through the galaxy since... .
ashtiboy
Competent
Competent
Posts: 37
Joined: Thu Oct 29, 2015 9:41 pm

Re: hey comanders i found whats been causeing some older oxp

Post by ashtiboy »

my log says this on the stations for extra planets :

Code: Select all

[script.javaScript.exception.unexpectedType]:       /Users/kaylamiller/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.spara.stations_for_extra_planets.oxz/Scripts/sfep_script.js, line 64.
Last edited by ashtiboy on Mon Nov 02, 2015 10:53 pm, edited 1 time in total.
ashtiboy
Competent
Competent
Posts: 37
Joined: Thu Oct 29, 2015 9:41 pm

Re: hey comanders i found whats been causeing some older oxp

Post by ashtiboy »

and for the black monks oxz my log says this :

Code: Select all

[script.javaScript.exception.unexpectedType]:       /Users/kaylamiller/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.littlebear.blackmonks.oxz/Scripts/blackmonk_main.js, line 608.
Last edited by ashtiboy on Mon Nov 02, 2015 10:58 pm, edited 1 time in total.
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: hey comanders i found whats been causeing some older oxp

Post by Cody »

If you highlight any code and use the Code button, it's easier to read... thus:

Code: Select all

[script.javaScript.exception.unexpectedType]: /Users/kaylamiller/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.littlebear.blackmonks.oxz/Scripts/blackmonk_main.js, line 608.
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!
ashtiboy
Competent
Competent
Posts: 37
Joined: Thu Oct 29, 2015 9:41 pm

Re: hey comanders i found whats been causeing some older oxp

Post by ashtiboy »

thanks for the tip let me do that :

Code: Select all

[script.javaScript.exception.unexpectedType]:       /Users/kaylamiller/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.littlebear.blackmonks.oxz/Scripts/blackmonk_main.js, line 608.

does it work?
Post Reply