Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95.1a is out! (12/10/21); Blog post: Uniquifying the Factions, Part 2 (04/30/22)

Author Topic: [0.95.1a] Scan Those Gates (v1.3)  (Read 5468 times)

AERO

  • Ensign
  • *
  • Posts: 12
    • View Profile
[0.95.1a] Scan Those Gates (v1.3)
« on: May 26, 2022, 10:35:46 AM »


Scans all gates that do not have 'Inactive' in their name at the beginning of a save when Nexerelin 'Skip Story' option or the Skip Story mod is enabled.
Has no effect if you complete the Galatia quests yourself. This mod is safe to remove from an active game.

A very big thank you to Wispborne, Timid, SafariJohn and ruddygreat for their help getting this working and fixing bugs.

Changelog
Spoiler
v1.3: Fixed a crash caused by not having Nexerelin enabled, added support for the Skip Story mod.

v1.2: Added version checker integration.

v1.1: Fixed crash caused by some gates added by mods, added error logging to starsector.log to identify which gates are causing issues.
[close]
« Last Edit: May 30, 2022, 06:26:48 PM by AERO »
Logged

AERO

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: [0.95.1a] Scan Those Gates (v1.1)
« Reply #1 on: May 27, 2022, 11:49:07 AM »

v1.1 released, fixed crashes caused by gates added by mods that do not have expected gateData. Adds error logging
Logged

LinWasTaken

  • Commander
  • ***
  • Posts: 162
    • View Profile
Re: [0.95.1a] Scan Those Gates (v1.1)
« Reply #2 on: May 28, 2022, 02:36:47 AM »

thank you kind sir

AERO

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: [0.95.1a] Scan Those Gates (v1.2)
« Reply #3 on: May 30, 2022, 03:44:16 PM »

v1.2 released, added version checker integration.
Logged

n3xuiz

  • Commander
  • ***
  • Posts: 160
    • View Profile
Re: [0.95.1a] Scan Those Gates (v1.2)
« Reply #4 on: May 30, 2022, 05:39:36 PM »

when you say "that don't have inactive in them" does that mean all the gates in the core/modded systems? so only gates in undiscovered systems remain unscanned?
Logged

AERO

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: [0.95.1a] Scan Those Gates (v1.3)
« Reply #5 on: May 30, 2022, 06:21:16 PM »

v1.3: Fixed a crash caused by not having Nexerelin enabled, added support for the Skip Story mod.
Logged

AERO

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: [0.95.1a] Scan Those Gates (v1.2)
« Reply #6 on: May 30, 2022, 06:22:52 PM »

Currently, the mod checks the names of the gates to determine what gets scanned. All of the core system gates are named after the system they are in, so they get scanned. The procedurally generated gates are called "Inactive Gate" so they do not get scanned. This makes it so it will also scan gates that are added by mods that create custom systems.
« Last Edit: May 31, 2022, 05:55:31 PM by AERO »
Logged

n3xuiz

  • Commander
  • ***
  • Posts: 160
    • View Profile
Re: [0.95.1a] Scan Those Gates (v1.3)
« Reply #7 on: May 30, 2022, 06:30:46 PM »

ok thx for the answer. honestly i've been waiting for a mod like this for some time. after having explored everything in those systems sometimes i just want to start with the gates unlocked..
Logged

TheHZDev

  • Ensign
  • *
  • Posts: 25
    • View Profile
    • Email
Re: [0.95.1a] Scan Those Gates (v1.3)
« Reply #8 on: May 31, 2022, 09:48:30 PM »

Sir, can you allow me to update this mod to the Chinese Starsector Forum(https://fossic.org)?
Thank you very much.
Logged

AERO

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: [0.95.1a] Scan Those Gates (v1.3)
« Reply #9 on: June 01, 2022, 03:46:31 PM »

Sir, can you allow me to update this mod to the Chinese Starsector Forum(https://fossic.org)?
Thank you very much.

Sure, you have my permission.
Logged

TheHZDev

  • Ensign
  • *
  • Posts: 25
    • View Profile
    • Email
Re: [0.95.1a] Scan Those Gates (v1.3)
« Reply #10 on: June 02, 2022, 09:58:23 PM »

Sir, I have a problem.
Will this mod work unusually if inactive gate's name is not "Inactive Gate" in other localization?
Logged

AERO

  • Ensign
  • *
  • Posts: 12
    • View Profile
Re: [0.95.1a] Scan Those Gates (v1.3)
« Reply #11 on: June 03, 2022, 08:07:14 AM »

Sir, I have a problem.
Will this mod work unusually if inactive gate's name is not "Inactive Gate" in other localization?

There are a few things that could cause it to not work properly. The mod checks for the presence of either 'nexerelin' or 'skipStory' in the mod manager before doing anything, so if those mods have a different id in your localization, that would cause the mod to do nothing. Another issue is the method used to scan the gates, if it cannot find 'Inactive' in the name of gates, it will scan every gate it finds.

The source code is included with the download in the jars folder as a src.7z file if you would like to compile it yourself. Alternatively, I could help with that if you provide me with the characters used for 'Inactive' in the localization, and the mod ID from translated versions of Nexerelin and Skip Story
Logged