Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Pages: 1 ... 4 5 [6] 7 8 ... 10

Author Topic: [0.9.1a] Version Checker v2.0b (released 2020-08-28)  (Read 367248 times)

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.9a] Version Checker v1.8b (released 2018-12-01)
« Reply #75 on: January 27, 2019, 08:20:04 PM »

It would be awesome if version checker could output a logfile with your list of mods and their version (and which need updating and whatnot), would make it even easier to look for issues.
It could even log when you add/remove/update mods.

I'll add a TODO to add a button to copy+log your modlist (the code already exists for the BugReport console command, so this is trivial to add). Keeping track of when you add/remove mods is also a fun idea - I can't promise it'll make it in, but I'll add it to the TODO list regardless.


Is it possible to have version checker work outside the game? Being able to check which mods updated before launching would be nice, since sometimes by the time I see which mods are updated I just want to keep playing vs update a bunch of mods.
Pretty sure it would need to be a separate program then. Now if we could get SS on a program like Vortex (AKA the new Nexus Mod Manager) then it would be easier to manage and update mods

Starsector support will be in the next release of Vortex.
« Last Edit: January 27, 2019, 08:23:22 PM by LazyWizard »
Logged

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2846
  • Your Friendly Forum Friend
    • View Profile
Re: [0.9a] Version Checker v1.8b (released 2018-12-01)
« Reply #76 on: January 27, 2019, 10:11:50 PM »

Is it possible to have version checker work outside the game? Being able to check which mods updated before launching would be nice, since sometimes by the time I see which mods are updated I just want to keep playing vs update a bunch of mods.
Pretty sure it would need to be a separate program then. Now if we could get SS on a program like Vortex (AKA the new Nexus Mod Manager) then it would be easier to manage and update mods
Starsector support will be in the next release of Vortex.
F*** YES!!
Logged
Help out MesoTroniK, a modder in need

2021 is 2020 won
2022 is 2020 too

Hague

  • Ensign
  • *
  • Posts: 36
    • View Profile
Re: [0.9a] Version Checker v1.8b (released 2018-12-01)
« Reply #77 on: March 12, 2019, 02:29:00 PM »

You get some serious repetitious message spam if you are unable to connect to the internet while Version Checker is active on a loaded save file. I found this out in a momentary lapse in internet connection this morning. Tried disabling it but it was apparently associated with the save file. I left it for when I had internet again to report this on account of not being sure how to surgically operate on my savefile to remove the instance of the plugin. Anyway, here's the exception it spammed from the logfile

Spoiler
140517 [Thread-4] ERROR exerelin.utilities.versionchecker.VersionChecker  - Failed to retrieve mod update info
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.NoSuchElementException
   at java.util.concurrent.FutureTask.report(Unknown Source)
   at java.util.concurrent.FutureTask.get(Unknown Source)
   at exerelin.utilities.versionchecker.UpdateNotificationScript.advance(UpdateNotificationScript.java:131)
   at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.util.NoSuchElementException
   at java.util.concurrent.FutureTask.report(Unknown Source)
   at java.util.concurrent.FutureTask.get(Unknown Source)
   at exerelin.utilities.versionchecker.VersionChecker$MainTask.call(VersionChecker.java:336)
   at exerelin.utilities.versionchecker.VersionChecker$MainTask.call(VersionChecker.java:151)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   ... 1 more
Caused by: java.util.NoSuchElementException
   at java.util.Scanner.throwFor(Unknown Source)
   at java.util.Scanner.next(Unknown Source)
   at exerelin.utilities.versionchecker.VersionChecker.getRemoteVersionFile(VersionChecker.java:89)
   at exerelin.utilities.versionchecker.VersionChecker.checkForUpdate(VersionChecker.java:129)
   at exerelin.utilities.versionchecker.VersionChecker.access$500(VersionChecker.java:27)
   at exerelin.utilities.versionchecker.VersionChecker$MainTask$SubTask.call(VersionChecker.java:376)
   at exerelin.utilities.versionchecker.VersionChecker$MainTask$SubTask.call(VersionChecker.java:364)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   ... 1 more
[close]
Logged

Blothorn

  • Commander
  • ***
  • Posts: 116
    • View Profile
Re: [0.9a] Version Checker v1.8b (released 2018-12-01)
« Reply #78 on: March 12, 2019, 02:36:42 PM »

VC should be a utility mod; SS will give a gentle notice if you try to load without it, but you should be able to ignore the notice.
Logged

Hague

  • Ensign
  • *
  • Posts: 36
    • View Profile
Re: [0.9a] Version Checker v1.8b (released 2018-12-01)
« Reply #79 on: March 12, 2019, 03:59:06 PM »

Yeah, I thought that was the case too, but disabling the mod and reloading the game still had the version tracker script running on it. Filled the screen with "Unable to connect" and "Check the log" spam. Same result as with it enabled.
Logged

Wyvern

  • Admiral
  • *****
  • Posts: 3786
    • View Profile
Re: [0.9a] Version Checker v1.8b (released 2018-12-01)
« Reply #80 on: March 12, 2019, 04:15:35 PM »

You're probably using Nexerelin, then, which has an integrated copy of version checker.
Logged
Wyvern is 100% correct about the math.

Hague

  • Ensign
  • *
  • Posts: 36
    • View Profile
Re: [0.9a] Version Checker v1.8b (released 2018-12-01)
« Reply #81 on: March 12, 2019, 05:03:55 PM »

That makes perfect sense! I was unaware Nexerelin had that. I was wondering why "exerelin" appeared in that exception report. Should I report this to the Nex thread in-case the issue might be on their end?
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4661
    • View Profile
    • GitHub profile
Re: [0.9a] Version Checker v1.8b (released 2018-12-01)
« Reply #82 on: March 13, 2019, 05:05:37 AM »

Next versions of both Version Checker and Nexerelin will fix the issue
Logged

Carroy

  • Ensign
  • *
  • Posts: 22
    • View Profile
Re: [0.9a] Version Checker v1.8b (released 2018-12-01)
« Reply #83 on: March 17, 2019, 06:19:10 AM »

Would it be possible to add a button that crashes my pc opens browser tabs for all outdated mods?
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.9a] Version Checker v2.0 (released 2019-03-19)
« Reply #84 on: March 19, 2019, 07:19:13 PM »

Version 2.0 is up, get it here (mirror).

Note to modders: this release adds a new (optional) field to the .version file format. Make sure to add "modNexusId" to your .version file if you've uploaded your mod to the Starsector Nexus!

Changelog:
Quote
Version 2.0 (March 19, 2019)
==============================
Added "nexusModId" field to .version file format:
 - Optional field, adds support for nexusmods.com
 - ID is an integer, and should be the mod ID in the Nexus mod page's URL
   Ex: https://www.nexusmods.com/starsector/mods/3 has an ID of 3
Added "preferNexusLinks" to data/config/version/version_checker.json:
 - When true, will open a mod's Nexus page instead of its forum thread,
   provided it has one listed in its .version file
Added an option that opens threads for all updatable mods in one click
Fixed RecheckVersions command not updating the version info dialog
Fixed message spam when a user's connection drops during an update check
Logged

Alemismun

  • Ensign
  • *
  • Posts: 26
  • Im just some weeb
    • View Profile
Re: [0.9.1a] Version Checker v2.0 (released 2019-03-19)
« Reply #85 on: August 11, 2019, 03:57:35 PM »

Sorry if someone has asked before but I seem to be getting an error when trying to implement this.
Logged

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.9.1a] Version Checker v2.0 (released 2019-03-19)
« Reply #86 on: August 11, 2019, 04:01:03 PM »

You need to point to the raw JSON file. In this case you'd want the following URL: https://raw.githubusercontent.com/randoomx8/Industro-VERCHK-DATA/master/industromechs.version
Logged

Alemismun

  • Ensign
  • *
  • Posts: 26
  • Im just some weeb
    • View Profile
Re: [0.9.1a] Version Checker v2.0 (released 2019-03-19)
« Reply #87 on: August 12, 2019, 09:24:00 AM »

You need to point to the raw JSON file. In this case you'd want the following URL: https://raw.githubusercontent.com/randoomx8/Industro-VERCHK-DATA/master/industromechs.version
Youre right, my bad.
It all works perfectly now, thanks!
Logged

Sarissofoi

  • Captain
  • ****
  • Posts: 405
    • View Profile
Re: [0.9a] Version Checker v1.8b (released 2018-12-01)
« Reply #88 on: August 19, 2019, 08:57:01 AM »

You're probably using Nexerelin, then, which has an integrated copy of version checker.

How to disable it?
It breaks my immersion.

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: [0.9.1a] Version Checker v2.0 (released 2019-03-19)
« Reply #89 on: August 19, 2019, 09:02:51 AM »

You'd have to ask Histidine to add an option to disable it in Nexerelin, but I wouldn't recommend it. Outdated mods can cause problems, especially when combined with other mods like in a Nexerelin setup.

The version check notification should pop up only once each time you play the game, though. Is it showing up more than that for you?
« Last Edit: August 19, 2019, 09:04:22 AM by LazyWizard »
Logged
Pages: 1 ... 4 5 [6] 7 8 ... 10