Jump to content

[1.8.0] KSP-AVC Add-on Version Checker Plugin - MiniAVC-V2 Now available


linuxgurugamer

Recommended Posts

  • 3 weeks later...

Apparently, neither KSP-AVC nor MiniAVC notify me about updates anymore:


mhIeyzG.png


As you can see, CKAN tells me about updates for RCS Build Aid and ToolbarControl but AVC just tells me about the 'incompatible' version of SVE and SVT.
Even when I install a mod in a wrong version on purpose (i.e. TAC Fuel Balancer), it will be listed as 'incompatible' but still no 'update available' notification :(

Log: https://www.dropbox.com/s/5bb31h1k7jb9t4y/output_log - AVC.txt?dl=0

Link to comment
Share on other sites

  • 2 weeks later...
On 8/21/2018 at 3:58 PM, 4x4cheesecake said:

Apparently, neither KSP-AVC nor MiniAVC notify me about updates anymore:


mhIeyzG.png


As you can see, CKAN tells me about updates for RCS Build Aid and ToolbarControl but AVC just tells me about the 'incompatible' version of SVE and SVT.
Even when I install a mod in a wrong version on purpose (i.e. TAC Fuel Balancer), it will be listed as 'incompatible' but still no 'update available' notification :(

Log: https://www.dropbox.com/s/5bb31h1k7jb9t4y/output_log - AVC.txt?dl=0

That might be related to an inability to contact the online version of the file.  It's quite possible that Github was throttling connections at this time.

Link to comment
Share on other sites

2 hours ago, linuxgurugamer said:

That might be related to an inability to contact the online version of the file.  It's quite possible that Github was throttling connections at this time.

Well, the issue persists. Is there an (easy) way to test the connection to github? Maybe it is caused by some local settings on my pc...I can't remember changing anything but maybe a windows update broke something (KSP is still whitelisted in the firewall).

edit: miniAVC even recognize that there is a newer version of toolbar controller:

MiniAVC -> C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program 1.4.5\GameData\001_ToolbarControl\ToolbarControl.version
	NAME: ToolbarControl
	URL: https://raw.githubusercontent.com/linuxgurugamer/ToolbarControl/master/ToolbarControl.version
	DOWNLOAD: https://github.com/linuxgurugamer/ToolbarControl/releases
	GITHUB: linuxgurugamer/ToolbarControl
		LatestRelease: NULL
		AllowPreRelease: False
	VERSION: 0.1.6.14
	KSP_VERSION: 1.4.1
	KSP_VERSION_MIN: 1.4.1
	KSP_VERSION_MAX: 1.4.99
	CompatibleKspVersion: False
	CompatibleKspVersionMin: True
	CompatibleKspVersionMax: True
	CompatibleGitHubVersion: True
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

MiniAVC -> https://raw.githubusercontent.com/linuxgurugamer/ToolbarControl/master/ToolbarControl.version
	NAME: ToolbarControl
	URL: https://raw.githubusercontent.com/linuxgurugamer/ToolbarControl/master/ToolbarControl.version
	DOWNLOAD: https://github.com/linuxgurugamer/ToolbarControl/releases
	GITHUB: linuxgurugamer/ToolbarControl
		LatestRelease: 0.1.6.15
		AllowPreRelease: False
	VERSION: 0.1.6.15
	KSP_VERSION: 1.4.1
	KSP_VERSION_MIN: 1.4.1
	KSP_VERSION_MAX: 1.4.99
	CompatibleKspVersion: False
	CompatibleKspVersionMin: True
	CompatibleKspVersionMax: True
	CompatibleGitHubVersion: True
	UpdateAvailable: False

I'm confused about 'CompatibleKspVersion: False' and 'UpdateAvailable: False'.
The running game version is ksp 1.4.5

Edited by 4x4cheesecake
Link to comment
Share on other sites

  • 3 weeks later...

Hi, here is a log: https://www.dropbox.com/s/5sdzcbltobydaoj/saves for LoadingScreenManager.1.output_log.rar?dl=0

Yes it is the same log as the other post I made, the below stuff is also in it.

I get some of this:

Spoiler

KSP-AVC -> System.IndexOutOfRangeException: Array index is out of range.
  at UnityEngineInternal.WebRequestUtils.MakeInitialUrl (System.String targetUrl, System.String localUrl) [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.UnityWebRequest.set_url (System.String value) [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.UnityWebRequest..ctor (System.String url, System.String method, UnityEngine.Networking.DownloadHandler downloadHandler, UnityEngine.Networking.UploadHandler uploadHandler) [0x00000] in <filename unknown>:0
  at UnityEngine.Networking.UnityWebRequest.Get (System.String uri) [0x00000] in <filename unknown>:0
  at UnityEngine.WWW..ctor (System.String url) [0x00000] in <filename unknown>:0
  at KSP_AVC.AddonInfo.FetchChangeLog () [0x00000] in <filename unknown>:0
  at KSP_AVC.AddonInfo.FetchRemoteData () [0x00000] in <filename unknown>:0
  at KSP_AVC.Addon.SetRemoteAvcInfo (UnityEngine.WWW www) [0x00000] in <filename unknown>:0
  at KSP_AVC.Addon.FetchRemoteInfo () [0x00000] in <filename unknown>:0
  at KSP_AVC.Addon.ProcessRemoteInfo (System.Object state) [0x00000] in <filename unknown>:0
 

 

Link to comment
Share on other sites

Hi LGG, having an issue with MiniAVC

Here's the log file

https://pastebin.com/X9BAWtaQ

First there's a sharing violation with the .xml.  Not sure if that's having an effect.  I'm using Mini for several different mods.  I have it installed in the GameData directory and the version files are in the directory with it.

I recently updated a mod and was checking to see if MAVC would notify of the update.  The local copy of the .version file shows this in the log

[Log 11:30:36.9209196]: E:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\MiniAVC\KELights.version
	NAME: KerbalElectric
	URL: http://www.datainterlock.com/Kerbaltopia/AVCCheck.php?id=4
	DOWNLOAD: http://kerbal.curseforge.com/projects/kerbal-electric
	GITHUB: NULL
	VERSION: 0.1.0.2
	KSP_VERSION: 1.4
	KSP_VERSION_MIN: 1.4
	KSP_VERSION_MAX: 1.4.99
	CompatibleKspVersion: False
	CompatibleKspVersionMin: True
	CompatibleKspVersionMax: True
	CompatibleGitHubVersion: True

The remote version shows this

[Log 11:30:36.9229187]: http://www.datainterlock.com/Kerbaltopia/AVCCheck.php?id=4
	NAME: KerbalElectric
	URL: http://www.datainterlock.com/Kerbaltopia/AVCCheck.php?id=4
	DOWNLOAD: http://kerbal.curseforge.com/projects/kerbal-electric
	GITHUB: NULL
	VERSION: 0.1.0.5
	KSP_VERSION: 1.4
	KSP_VERSION_MIN: 1.4
	KSP_VERSION_MAX: 1.4.99
	CompatibleKspVersion: False
	CompatibleKspVersionMin: True
	CompatibleKspVersionMax: True
	CompatibleGitHubVersion: True
	UpdateAvailable: False

The versions are different but for some reason, MAVC says the UpdateAvailable is false.  For all the other mods that aren't updated it's giving the proper

[Log 11:30:36.9189184]: Identical remote version found: Using remote version information only.

 

Link to comment
Share on other sites

8 hours ago, Fengist said:

First there's a sharing violation with the .xml

If you have a sharing violation, then there is another MiniAVC.dll installed.

FYI, it wasn't intended to be used this way.  If you want a single DLL to check everything, install the full KSP-AVC , and optionally ZeroMiniAvc to delete the MiniAVC.dlls

Next:

I have been able to replicate the problem, I'll look into it in the next day or so.

Link to comment
Share on other sites

32 minutes ago, linuxgurugamer said:

If you have a sharing violation, then there is another MiniAVC.dll installed.

FYI, it wasn't intended to be used this way.  If you want a single DLL to check everything, install the full KSP-AVC , and optionally ZeroMiniAvc to delete the MiniAVC.dlls

Next:

I have been able to replicate the problem, I'll look into it in the next day or so.

I shall upgrade. Thanks LG.

Link to comment
Share on other sites

On 8/21/2018 at 7:58 PM, 4x4cheesecake said:

Apparently, neither KSP-AVC nor MiniAVC notify me about updates anymore:

On 9/1/2018 at 10:55 AM, linuxgurugamer said:

That might be related to an inability to contact the online version of the file.  It's quite possible that Github was throttling connections at this time.

I bet this is due to GitHub requiring TLS1.2. KSP mods must be compiled for .NET 3.5, which doesn't support TLS1.2 (the minimum requirement is .NET 4.5). So this is AVC's version of the GitHub apocalypse from February:

Probably an unsolvable problem unless SQUAD and Unity update to a later version of .NET (or GitHub relaxes their TLS requirement, which they won't do).

Link to comment
Share on other sites

39 minutes ago, HebaruSan said:

I bet this is due to GitHub requiring TLS1.2. KSP mods must be compiled for .NET 3.5, which doesn't support TLS1.2 (the minimum requirement is .NET 4.5). So this is AVC's version of the GitHub apocalypse from February:

Probably an unsolvable problem unless SQUAD and Unity update to a later version of .NET (or GitHub relaxes their TLS requirement, which they won't do).

Wouldn't this only affect AVC when it attempts to get a remote .version file from GitHub?  Mine are a on web server and spat out via .php.

Link to comment
Share on other sites

4 minutes ago, Fengist said:

Wouldn't this only affect AVC when it attempts to get a remote .version file from GitHub?  Mine are a on web server and spat out via .php.

Yes. I was responding to the comments I quoted about RCSBuildAid and ToolbarControl, which have this in their .version files:

  "URL": "https://raw.githubusercontent.com/linuxgurugamer/RCSBuildAid/master/RCSBuildAid.version",
    "URL"      : "https://raw.githubusercontent.com/linuxgurugamer/ToolbarControl/master/ToolbarControl.version",

 

Link to comment
Share on other sites

1 hour ago, HebaruSan said:

I bet this is due to GitHub requiring TLS1.2. KSP mods must be compiled for .NET 3.5, which doesn't support TLS1.2 (the minimum requirement is .NET 4.5). So this is AVC's version of the GitHub apocalypse from February:

Probably an unsolvable problem unless SQUAD and Unity update to a later version of .NET (or GitHub relaxes their TLS requirement, which they won't do).

Ummm, I haven't had this problem before.  All of my mods reference Github, and from the lgo file, I see that it has accessed the file

Link to comment
Share on other sites

1 minute ago, HebaruSan said:

Client side? Because .NET 3.5 definitely still attempts to request the URLs; they just fail when the server is actually contacted. A client side log would show those attempts and may or may not show that they failed.

AVC shows that the local and remote versions are identical or not.  I've tested by changing a local file which is identical to the remote, and then changing it, and saw a definite difference in the log file

Link to comment
Share on other sites

21 minutes ago, linuxgurugamer said:

AVC shows that the local and remote versions are identical or not.  I've tested by changing a local file which is identical to the remote, and then changing it, and saw a definite difference in the log file

OK, maybe that makes sense. I just remembered that unlike CKANall users of AVC are running Mono instead of .NET. Maybe Unity's embedded Mono has patches applied for TLS1.2 support (as my Ubuntu also seemed to have, since I could only reproduce CKAN#2293 on Windows).

Link to comment
Share on other sites

  • 4 weeks later...

New release, 1.2.0.3

  • Fixed MiniAVC.dll to not show the same .version file if there are multiplie copies of the MiniAVC.dll in the path, thanks @HebaruSan
  • Moved initialization for the  Logger class into the Awake() method
  • Fixed error in full KSP-AVC where it wasn't showing available updates
Link to comment
Share on other sites

I'm getting an issue with AVC not reporting a newer version available.
I have AVC online set up as shown and the version file bundled with the current (test) version of UvSii is shown.

When running for the first time the mod does ask if I want to check for versions, but it doesn't report that a newer version (1.5.1.0) is available for download, despite the .version file having 1.4.5.4

This is running KSP 1.5.0

image.png

image.png

image.png

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...
19 minutes ago, AdmiralSirJohn said:

I don't know what's actually causing it, but KSP-AVC (in all of its forms) are creating a lot of exceptions in my KSP log.  Could some kind soul take a look and either confirm or deny what's doing it?

https://www.dropbox.com/s/t0siz4w91wz5fww/KSP (MiniAVC Removed).log?dl=0

Wow, that's some serious log spam :o

It looks like, you installed the old version for KSP 1.2 and 1.3 instead of the adopted version of LGG.
Try it again with this one:

https://github.com/linuxgurugamer/KSPAddonVersionChecker/releases/latest

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...