diff --git a/MP-LAND/Controllers/HomeController.cs b/MP-LAND/Controllers/HomeController.cs index 5a6f298b..3636dd80 100644 --- a/MP-LAND/Controllers/HomeController.cs +++ b/MP-LAND/Controllers/HomeController.cs @@ -15,6 +15,15 @@ namespace MP.Controllers { public class HomeController : Controller { + #region Protected Fields + + /// + /// Controller versioni e download autenticato + /// + protected UpdateMan updManAuth = new UpdateMan("SWDownloader", "viaD@nte16"); + + #endregion Protected Fields + #region Protected Methods /// @@ -60,6 +69,14 @@ namespace MP.Controllers return string.Format("http://seriate.steamware.net:8083/SWS/MAPO/{0}/{1}/manifest.xml", package, memLayer.ML.CRS("appVers")); } + /// + /// URL stringa di UPDATE su area nexus (protetta)... + /// + protected string updateUrlNexus(string package) + { + return string.Format("http://nexus.steamware.net/repository/SWS/{0}/{1}/0/manifest.xml", package, memLayer.ML.CRS("appVers")); + } + /// /// Costruzione URL da base path + URL specifico finale /// @@ -330,6 +347,17 @@ namespace MP.Controllers ViewBag.VersMpMag = "ND"; ViewBag.MagDisabled = "disabled"; } + // Recupero info CTRACK... + updArgs = updManAuth.getUpdateInfo(updateUrlNexus("MP-STATS")); + if (updArgs.IsUpdateAvailable) + { + ViewBag.VersMpStats = updArgs.CurrentVersion; + } + else + { + ViewBag.VersMpStats = "ND"; + ViewBag.StatsDisabled = "disabled"; + } // salvo risultati... ViewBag.Results = results; using (var ctx = new MoonProEntities()) diff --git a/MP-LAND/MP-LAND.csproj b/MP-LAND/MP-LAND.csproj index 886c7b7b..d0a6c6e8 100644 --- a/MP-LAND/MP-LAND.csproj +++ b/MP-LAND/MP-LAND.csproj @@ -329,11 +329,9 @@ - Always - @@ -366,8 +364,6 @@ - - @@ -462,8 +458,6 @@ - - diff --git a/MP-LAND/Views/Home/Packages.cshtml b/MP-LAND/Views/Home/Packages.cshtml index 48176ade..c99227b8 100644 --- a/MP-LAND/Views/Home/Packages.cshtml +++ b/MP-LAND/Views/Home/Packages.cshtml @@ -75,6 +75,15 @@ @ViewBag.VersMpTab +
+

+ MP-STATS + +

+ + @ViewBag.VersMpStats + +
@{ if (ViewBag.CTrack_Enb) { diff --git a/MP-LAND/libmongocrypt.dylib b/MP-LAND/libmongocrypt.dylib deleted file mode 100644 index 91418d4d..00000000 Binary files a/MP-LAND/libmongocrypt.dylib and /dev/null differ diff --git a/MP-LAND/libmongocrypt.so b/MP-LAND/libmongocrypt.so deleted file mode 100644 index 2e6bae00..00000000 Binary files a/MP-LAND/libmongocrypt.so and /dev/null differ diff --git a/MP-LAND/libzstd.dll b/MP-LAND/libzstd.dll deleted file mode 100644 index e669123c..00000000 Binary files a/MP-LAND/libzstd.dll and /dev/null differ diff --git a/MP-LAND/mongocrypt.dll b/MP-LAND/mongocrypt.dll deleted file mode 100644 index 39d7e016..00000000 Binary files a/MP-LAND/mongocrypt.dll and /dev/null differ diff --git a/MP-LAND/snappy32.dll b/MP-LAND/snappy32.dll deleted file mode 100644 index afc82ca4..00000000 Binary files a/MP-LAND/snappy32.dll and /dev/null differ diff --git a/MP-LAND/snappy64.dll b/MP-LAND/snappy64.dll deleted file mode 100644 index 36cd5fe7..00000000 Binary files a/MP-LAND/snappy64.dll and /dev/null differ