this.shipDestroyedTarget deprecated? Wiki out of date.

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

this.shipDestroyedTarget deprecated? Wiki out of date.

Post by Capt. Murphy »

Hi,

Am I right in thinking that this.shipDestroyedTarget (and this.shipLostTarget) were deprecated back at 1.74?

They are still listed on the Event Handler pages on the Wiki and I've just spent a good hour of head scratching trying to work out why they weren't firing when expected. I think they are now this.shipTargetDestroyed and this.shipTargetLost?

If someone in the know can confirm I'll edit the relevant wiki pages.
[EliteWiki] Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: this.shipDestroyedTarget deprecated? Wiki out of date.

Post by Commander McLane »

Yep. The event handler pages are not under Ahruman's strict supervision (unlike the JS object pages).

If you like, you could go through all version announcements here on the boards, compare to the Wiki, and update where necessary.
User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

Re: this.shipDestroyedTarget deprecated? Wiki out of date.

Post by Capt. Murphy »

Might just do that. For the time being I've updated both the worldscript and shipscripts event handler pages on the wiki for those particular handlers.
[EliteWiki] Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: this.shipDestroyedTarget deprecated? Wiki out of date.

Post by Eric Walch »

Capt. Murphy wrote:
Hi,

Am I right in thinking that this.shipDestroyedTarget (and this.shipLostTarget) were deprecated back at 1.74?

They are still listed on the Event Handler pages on the Wiki and I've just spent a good hour of head scratching trying to work out why they weren't firing when expected. I think they are now this.shipTargetDestroyed and this.shipTargetLost?

If someone in the know can confirm I'll edit the relevant wiki pages.
That is the problem when you split pages with mainly identical info. I remember that I updated one of the two some time ago, but apparently only on the ships-handler page not on the one with worldScripts.

Thanks for fixing this correct now Capt. Murphy.

Eric
Post Reply