From c097a1e87cb3e02234648b56a4be0ed14faeb973 Mon Sep 17 00:00:00 2001 From: Bob Da Ross <52760019+BobDaRoss@users.noreply.github.com> Date: Mon, 22 Mar 2021 23:10:38 -0500 Subject: [PATCH] Fixed Versions --- SeamlessClient.cs | 2 +- Updater/UpdateChecker.cs | 13 ++----------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/SeamlessClient.cs b/SeamlessClient.cs index 307e36a..6464c9b 100644 --- a/SeamlessClient.cs +++ b/SeamlessClient.cs @@ -107,7 +107,7 @@ namespace SeamlessClientPlugin - public static string Version = "1.1.10"; + public static string Version = "1.2.10"; private bool Initilized = false; private bool SentPingResponse = false; public const ushort SeamlessClientNetID = 2936; diff --git a/Updater/UpdateChecker.cs b/Updater/UpdateChecker.cs index d807439..996160f 100644 --- a/Updater/UpdateChecker.cs +++ b/Updater/UpdateChecker.cs @@ -1,5 +1,4 @@ -using AutoUpdaterDotNET; -using ProtoBuf; +using ProtoBuf; using Sandbox.Graphics.GUI; using System; using System.Collections.Generic; @@ -23,19 +22,11 @@ namespace SeamlessClientPlugin.Updater public string PluginFolder; public string CurrentVersion; public bool DownloadUpdate; - - const int PORT_NO = 27010; - //AWS Website server - const string SERVER_IP = "3.80.137.183"; - private string GitHubAPILink = "https://api.github.com/repos/Casimir255/SeamlessClientPlugin/releases/latest"; - private string GitHubZipLink; + private WebClient Client; - private byte[] RecievedZipMememory; - - public UpdateChecker(bool AutoUpdate)