NPC ship's Beacon status does not survive witchspace jump.

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.

NPC ship's Beacon status does not survive witchspace jump.

Post by Capt. Murphy »

Oolite 1.75.1

I've got an NPC ship with a custom role in a WIP OXP. It's shipdata.plist includes a Beacon = "M"; entry.

The ship is spawned on the players launch from a main station. At this point it shows up on the Advanced Space Compass as expected.

The ship hyper spaces to a specified system when the player approaches using ship.exitSystem from it's shipscript.

If the player follows to the new system the ship is there as expected but no longer shows up on the Advanced Space Compass. This is I think a bug. Cannot be easily rectified from script as Beacon and beaconCode are read only. I think the only workaround is to remove the entity and respawn it as the player enters the new system which is a pain.
[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
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: NPC ship's Beacon status does not survive witchspace jum

Post by JensAyton »

Bug #18068
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6633
Joined: Wed Feb 28, 2007 7:54 am

Re: NPC ship's Beacon status does not survive witchspace jum

Post by another_commander »

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

Re: NPC ship's Beacon status does not survive witchspace jum

Post by Capt. Murphy »

Thanks....... :D
[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
Post Reply