As suggested by cim I'm now testing with the latest Mac-nightly (1.77.1-130908).
I have also removed all OXPs except the thargoid_carrier2.1.oxp, my own ship (impcourier2.oxp) and Hud.oxp, bioSphere.oxp, Superhubv1.0.oxp, Debug.oxp, and my custom keyconfig.plist.
Still, traders and escort groups without mothers launch from (or appear to be launching from) the carrier. Here's a screen shot showing what it looks like:
The Sidewinder Scout Ship currently targeted is the last one of four escorts without a mother, still being in STATUS_LAUNCHED.
Meanwhile, I have this in the log:
Code: Select all
12:14:20.452 [station.launchShip.failed]: Cancelled launch for a Anaconda with role trader, as it is too large for the docking port of the Thargoid Carrier.
12:14:20.453 [station.launchShip.failed]: Cancelled launch for a Python with role trader, as it is too large for the docking port of the Thargoid Carrier.
12:14:20.456 [station.launchShip.failed]: Cancelled launch for a Python with role trader, as it is too large for the docking port of the Thargoid Carrier.
12:14:20.459 [station.launchShip.failed]: Cancelled launch for a Cobra Mark III with role trader, as it is too large for the docking port of the Thargoid Carrier.
12:14:20.460 [station.launchShip.failed]: Cancelled launch for a Python with role trader, as it is too large for the docking port of the Thargoid Carrier.
12:14:20.463 [station.launchShip.failed]: Cancelled launch for a Python with role trader, as it is too large for the docking port of the Thargoid Carrier.
12:14:20.464 [station.launchShip.failed]: Cancelled launch for a Cobra Mark III with role trader, as it is too large for the docking port of the Thargoid Carrier.
It is possible that all the escorts that have launched are in fact escorts of the Anaconda and the Pythons whose launch had failed, and this would explain the escorts' lack of owners.
Why are the traders considered too large for the carrier's docking bay, especially as it's considerably larger than the standard docking bay? I have no idea.
Why is the game even trying to launch them in the first place? I have no idea, because
Code: Select all
> S.shipsWithRole("thargoid_carrier")[0].hasNPCTraffic
false
It gets weirder, though. Because I have put some logging into the carrier's scripts. This is in the carrier's ship script:
Code: Select all
this.stationLaunchedShip = function(ship)
{
// some of the thargoids launched as defense ships can have escorts, which launch with a non-thargoid scanClass
// in order to avoid this and the subsequent fighting amongst the thargoids, those are removed upon launch
log("thargoidcarrier", "Thargoid Carrier launched " + ship);
if(!ship.isThargoid && !ship.isPlayer)
{
ship.remove(true);
}
}
(Note that this code should also remove any trader or escort upon launch, but only after they've been logged as launching.)
And this is in the carrier dock's ship script:
Code: Select all
this.acceptLaunchingRequestFrom = function(ship)
{
log("thargoidcarrier", "Thargoid Carrier Dock got launching request from " + ship);
}
And here comes the weird part: there is
nothing in the log. The excerpt from above is all there is. The carrier dock has not logged a launching request, and the carrier itself has not logged a launch event, even though the vicinity is filled with just-launched-escorts.
It is as if there is an invisible and undetectable entity right on top of the carrier that launches all these ships, except that the carrier itself illegally tries to launch traders. However, if there is a ghost entity involved, it is truly a ghost, because
Code: Select all
> S.allShips
[[PlayerShip "Imperial Courier" position: (-17288.6, -61382.6, 439549) scanClass: CLASS_PLAYER status: STATUS_IN_FLIGHT], [Ship "Sidewinder Scout Ship" position: (-19854.6, -59088.8, 438003) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Mamba Escort" position: (-20670.1, -59606.4, 437257) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Sidewinder Scout Ship" position: (-19884.2, -57654.4, 439378) scanClass: CLASS_NEUTRAL status: STATUS_LAUNCHING], [Station "Thargoid Carrier" "Thargoid Carrier" position: (-20149.6, -57031.5, 439719) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT], [Ship "Sidewinder Scout Ship" position: (-20167, -57087.3, 440252) scanClass: CLASS_NEUTRAL status: STATUS_LAUNCHING], [Ship "Sidewinder Scout Ship" position: (-20169.8, -57088.5, 440250) scanClass: CLASS_NEUTRAL status: STATUS_LAUNCHING], [Ship "Mamba Escort" position: (-20098.9, -56914.4, 440384) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Mamba Escort" position: (-20114.9, -56920.9, 440372) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Mamba Escort" position: (-20524.1, -57276.9, 440684) scanClass: CLASS_NEUTRAL status: STATUS_LAUNCHING], [Ship "Sidewinder Scout Ship" position: (-18846.9, -56204.9, 439878) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Sidewinder Scout Ship" position: (-20319.7, -57043.6, 440776) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Sidewinder Scout Ship" position: (-19438.5, -56273.3, 440329) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Mamba Escort" position: (-19372, -55942.5, 439744) scanClass: CLASS_NEUTRAL status: STATUS_LAUNCHING], [Ship "Sidewinder Scout Ship" position: (-20022.8, -56399.5, 440945) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Sidewinder Scout Ship" position: (-22149.6, -61976.9, 436177) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Mamba Escort" position: (-18619.8, -54735.4, 440776) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Boa Class Cruiser" position: (-16163.5, -56247.1, 434791) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Mamba Escort" position: (-19071.1, -54404.9, 438236) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Sidewinder Scout Ship" position: (-22547.7, -56166.4, 441516) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Thargoid Warship" position: (-15899, -55616.4, 444454) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT], [Ship "Thargoid Warship" position: (-15494.7, -54416.4, 434842) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT], [Ship "Thargoid Warship" position: (-24759.5, -59517.6, 443580) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT], [Ship "Sidewinder Scout Ship" position: (-17511.7, -53706.3, 435267) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Sidewinder Scout Ship" position: (-16901.3, -53626.6, 435174) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Moray Medical Boat" position: (-16843.3, -54979.6, 433083) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Boa" position: (-16161.7, -53469.8, 435026) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], [Ship "Thargoid Warship" position: (-24354.1, -58315.7, 433956) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT], [Ship "Python" position: (-12147.8, -783.65, 461629) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT], ...
The final Python is the first ship that's not part of this constellation, and there is nothing in the immediate vicinity of the carrier that would also have a dock. I note, by the way, that there are some Boas and BCCs. These seem not too big for the carrier dock, but they still haven't triggered the carrier's
stationLaunchedShip
event.
I cannot but conclude that the bug lies either somewhere in thargoid_carrier2.1.oxp itself, or in Oolite. Other OXPs can be ruled out as culprits at this point, I believe.
One final piece of information: my Oolite has currently hiccups because of too many browser windows open. I was first flying alongside the carrier and everything seemed to be in order. Then I looked away for a second (or fraction thereof), and suddenly all the yellow blips had appeared. It didn't look as if all these ships had actually launched one after the other, which would have taken quite some time. So, there is the possibility that some mechanism spawned all those ships and made them appear as if being launched, without actually sending them to a launch queue. (Yet, the targeted escort
does appear to be launching straight out of the docking bay. And yet, the log says that ships
wanted to launch and were taken out of the queue.) I can't make sense of it.
Also, note this:
Code: Select all
> S.allShips[1].spawnTime
109.50740814208984
> S.allShips[2].spawnTime
109.50740814208984
> S.allShips[3].spawnTime
109.50740814208984
> S.allShips[4].spawnTime
49.50062561035156
> S.allShips[5].spawnTime
109.50740814208984
> S.allShips[6].spawnTime
109.50740814208984
> S.allShips[7].spawnTime
109.50740814208984
> S.allShips[8].spawnTime
109.50740814208984
> S.allShips[9].spawnTime
109.50740814208984
> S.allShips[10].spawnTime
109.50740814208984
(S.allShips[4] is the carrier.) All the mysterious traders and escorts have the exact same spawn time. They were created and spawned all at once, even though the log shows slightly different time stamps for the failed launches.
Is there any other useful information I can gather? I have the game still paused at the same point.
EDIT: One system reboot later (just in case there was a memory corruption involved), the problem persists. New symptom: the carrier can't launch Thargoids as defense ships anymore. At least the dock logging works:
Code: Select all
13:49:45.825 [thargoidcarrier]: Thargoid Carrier Dock got launching request from [Ship "Thargoid Warship" position: (0, 0, 0) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT]
13:49:45.829 [station.launchShip.failed]: Cancelled launch for a Thargoid Warship with role thargoid, as it is too large for the docking port of the Thargoid Carrier.
13:49:47.164 [thargoidcarrier]: Thargoid Carrier Dock got launching request from [Ship "Thargoid Warship" position: (0, 0, 0) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT]
13:49:47.167 [station.launchShip.failed]: Cancelled launch for a Thargoid Warship with role thargoid, as it is too large for the docking port of the Thargoid Carrier.
13:50:38.676 [thargoidcarrier]: Thargoid Carrier Dock got launching request from [Ship "Thargoid Warship" position: (0, 0, 0) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT]
13:50:38.679 [station.launchShip.failed]: Cancelled launch for a Thargoid Warship with role thargoid, as it is too large for the docking port of the Thargoid Carrier.
13:50:39.356 [thargoidcarrier]: Thargoid Carrier Dock got launching request from [Ship "Thargoid Warship" position: (0, 0, 0) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT]
13:50:39.360 [station.launchShip.failed]: Cancelled launch for a Thargoid Warship with role thargoid, as it is too large for the docking port of the Thargoid Carrier.
13:50:39.866 [thargoidcarrier]: Thargoid Carrier Dock got launching request from [Ship "Thargoid Warship" position: (0, 0, 0) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT]
13:50:39.875 [station.launchShip.failed]: Cancelled launch for a Thargoid Warship with role thargoid, as it is too large for the docking port of the Thargoid Carrier.
Launching of defense ships definitely worked in Oolite 1.76.1, and there were no code changes to the OXP since (except for the insertion of the
log
line).
Maybe something with the docking bay, or the way the docking bay is handled, broke between 1.76.1 and 1.77?
Also, I have now visually witnessed that traders + escorts don't actually launch from the carrier, but appear out of thin air around (and some maybe within) the carrier, each time as a complete group. Like they were the result of a
spawn()
command performed on the carrier. Except that
spawn()
wouldn't set up escorts, and Anacondas, Pythons, and Cobby IIIs are still reported as being removed from the launch queue by Oolite.
Hypothesis: Can the problem be related to the code for multiple docks that's new in 1.77?