I'm running Windows XP SP3, oolite-trunk-1.75.3.4553-dev.win32.exe
I got this error message:
02:47:38.953 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (drones_Pickup 2.0): TypeError: this.ship.master is null
02:47:38.953 [script.javaScript.exception.unexpectedType]: ../AddOns/Armoury 1.07.oxp/Scripts/drones_Pickup.js, line 36.
I think it's reacting to this line:
if(this.ship.master.isPlayer) player.commsMessage(this.ship.name+": Attacking "+targets[0].displayName)
(I would've reported this in the Armory thread in Expansion Pack forum...but I couldn't find it. )
Armoury 1.07.oxp error spotted in my Latest.log
Moderators: winston, another_commander, Getafix
- maik
- Wiki Wizard
- Posts: 2028
- Joined: Wed Mar 10, 2010 12:30 pm
- Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)
Re: Armoury 1.07.oxp error spotted in my Latest.log
That's because it is Armoury Here it is.Switeck wrote:I would've reported this in the Armory thread in Expansion Pack forum...but I couldn't find it.
Re: Armoury 1.07.oxp error spotted in my Latest.log
It is indeed, and it's easily fixed. Just change
if(this.ship.master.isPlayer)
to
if(this.ship.master && this.ship.master.isPlayer)
and you're done. I'll tweak it in the next release of Armoury. All it does is check if the person who launched the drone is the player, and if it is then sends them a message update (not too much point in sending one to an NPC). But it does presume that they still exist, which may or may not be the case.
Anyway thanks, will tweak...
if(this.ship.master.isPlayer)
to
if(this.ship.master && this.ship.master.isPlayer)
and you're done. I'll tweak it in the next release of Armoury. All it does is check if the person who launched the drone is the player, and if it is then sends them a message update (not too much point in sending one to an NPC). But it does presume that they still exist, which may or may not be the case.
Anyway thanks, will tweak...
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Re: Armoury 1.07.oxp error spotted in my Latest.log
My bad, missed the u in searching for it.
"it does presume that they still exist"
They probably didn't exist anymore because of the tidal wave of Thargoid Warships and pirate ships loose in the system.
Change this also?:to:
"it does presume that they still exist"
They probably didn't exist anymore because of the tidal wave of Thargoid Warships and pirate ships loose in the system.
Change this also?:
Code: Select all
this.shipTargetDestroyed = function(target)
{
if(this.ship.master.isPlayer)
Code: Select all
this.shipTargetDestroyed = function(target)
{
if(this.ship.master && this.ship.master.isPlayer)
Re: Armoury 1.07.oxp error spotted in my Latest.log
Yes.
I'll fully go through the script when I update it.
I'll fully go through the script when I update it.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link