Ship Encounter Script Fixes
Description
– Fix 1: fixes ship boarding crime faction bug.
— This is just the fix from Ship Boarding Crime Faction Fix, included here because it is the same script file.
— Fixes some of the crew of hostile criminal ships having UC, Freestar, or Neon crime factions, which causes you to gain bounty when you board the ships and fight the crew.
— This fix applies to future encounters. Just load a save from before you docked with the broken ship.
– Fix 2: fixes landed Starborn ships never taking off.
— This is due to a bugged landing bay clearance check for Starborn ships. The landing bay for Starborn ships are never considered clear by the game, so the ships never take off.
— This fix marks the broken landing bays as clear instead of always not clear.
— This fix applies retroactively.
– Fix 3: fixes ship encounter quest getting stuck.
— This quest script is responsible for land-based and space-based ship encounters (it should probably have been split up for better separation of concerns). There are some inherent thread-safety and race condition issues with this script’s implementation that causes events to be received out of the expected order, causing the quest to get stuck.
— Since there can only be 1 instance of this quest running at once, once it is stuck, all future ship encounters are broken.
— This leads to bugs like boarding an hostile ship and finding it empty as the quest script isn’t available to generate the crew.
— This fix adds an extra layer of safety by ending the ship encounter quest automatically whenever you leave the encounter area.
— This fix applies retroactively, but you’ll need to change location at least once, and you need to dock with the broken ship again to fix those.
– See video for more explanation.
– Script-only.
– No Plugin.
Installation/Uninstallation/Update
Whenever. It doesn’t matter when.