From a507c693730c34ef42175ced86262d2ca307822f Mon Sep 17 00:00:00 2001 From: Jeffrey Han Date: Sat, 9 Sep 2017 15:49:15 -0700 Subject: [PATCH 1/2] Re-enable Hexide server. --- src/itdelatrisu/opsu/downloads/servers/HexideServer.java | 5 +++-- src/itdelatrisu/opsu/states/DownloadsMenu.java | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/itdelatrisu/opsu/downloads/servers/HexideServer.java b/src/itdelatrisu/opsu/downloads/servers/HexideServer.java index 69dd9530..00661c08 100644 --- a/src/itdelatrisu/opsu/downloads/servers/HexideServer.java +++ b/src/itdelatrisu/opsu/downloads/servers/HexideServer.java @@ -35,8 +35,6 @@ /** * Download server: https://osu.hexide.com/ - *

- * This server is offline as of March 2017. */ public class HexideServer extends DownloadServer { /** Server name. */ @@ -146,4 +144,7 @@ public DownloadNode[] resultList(String query, int page, boolean rankedOnly) thr @Override public int totalResults() { return totalResults; } + + @Override + public boolean disableSSLInDownloads() { return true; } } diff --git a/src/itdelatrisu/opsu/states/DownloadsMenu.java b/src/itdelatrisu/opsu/states/DownloadsMenu.java index 371d0d30..d02b8ecc 100644 --- a/src/itdelatrisu/opsu/states/DownloadsMenu.java +++ b/src/itdelatrisu/opsu/states/DownloadsMenu.java @@ -34,9 +34,10 @@ import itdelatrisu.opsu.downloads.DownloadNode; import itdelatrisu.opsu.downloads.servers.BloodcatServer; import itdelatrisu.opsu.downloads.servers.DownloadServer; -import itdelatrisu.opsu.downloads.servers.RippleServer; +import itdelatrisu.opsu.downloads.servers.HexideServer; import itdelatrisu.opsu.downloads.servers.MengSkyServer; import itdelatrisu.opsu.downloads.servers.MnetworkServer; +import itdelatrisu.opsu.downloads.servers.RippleServer; import itdelatrisu.opsu.options.Options; import itdelatrisu.opsu.ui.Colors; import itdelatrisu.opsu.ui.DropdownMenu; @@ -90,6 +91,7 @@ public class DownloadsMenu extends BasicGameState { new MengSkyServer(), new RippleServer(), new MnetworkServer(), + new HexideServer(), new BloodcatServer() }; From 0da1f6d1813381d30e66c0d16a3bbf641f7765c2 Mon Sep 17 00:00:00 2001 From: Jeffrey Han Date: Sat, 9 Sep 2017 16:01:56 -0700 Subject: [PATCH 2/2] Removed MengSky server. Apparently changed into inso.link. :/ --- src/itdelatrisu/opsu/downloads/servers/MengSkyServer.java | 2 ++ src/itdelatrisu/opsu/states/DownloadsMenu.java | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/itdelatrisu/opsu/downloads/servers/MengSkyServer.java b/src/itdelatrisu/opsu/downloads/servers/MengSkyServer.java index 7e064138..9e68b4c9 100644 --- a/src/itdelatrisu/opsu/downloads/servers/MengSkyServer.java +++ b/src/itdelatrisu/opsu/downloads/servers/MengSkyServer.java @@ -37,6 +37,8 @@ /** * Download server: http://osu.mengsky.net/ + *

+ * This server is offline as of September 2017. */ public class MengSkyServer extends DownloadServer { /** Server name. */ diff --git a/src/itdelatrisu/opsu/states/DownloadsMenu.java b/src/itdelatrisu/opsu/states/DownloadsMenu.java index d02b8ecc..6579fd19 100644 --- a/src/itdelatrisu/opsu/states/DownloadsMenu.java +++ b/src/itdelatrisu/opsu/states/DownloadsMenu.java @@ -35,7 +35,6 @@ import itdelatrisu.opsu.downloads.servers.BloodcatServer; import itdelatrisu.opsu.downloads.servers.DownloadServer; import itdelatrisu.opsu.downloads.servers.HexideServer; -import itdelatrisu.opsu.downloads.servers.MengSkyServer; import itdelatrisu.opsu.downloads.servers.MnetworkServer; import itdelatrisu.opsu.downloads.servers.RippleServer; import itdelatrisu.opsu.options.Options; @@ -88,7 +87,6 @@ public class DownloadsMenu extends BasicGameState { /** Available beatmap download servers. */ private static final DownloadServer[] SERVERS = { - new MengSkyServer(), new RippleServer(), new MnetworkServer(), new HexideServer(),