diff --git a/core/src/mindustry/ui/dialogs/JoinDialog.java b/core/src/mindustry/ui/dialogs/JoinDialog.java index a0987c5a49..81d4e628ab 100644 --- a/core/src/mindustry/ui/dialogs/JoinDialog.java +++ b/core/src/mindustry/ui/dialogs/JoinDialog.java @@ -1,6 +1,7 @@ package mindustry.ui.dialogs; import arc.*; +import arc.Net.*; import arc.graphics.*; import arc.input.*; import arc.math.*; @@ -501,9 +502,16 @@ public class JoinDialog extends BaseDialog{ Core.settings.remove("server-list"); } + var url = becontrol.active() ? serverJsonBeURL : serverJsonV6URL; + Log.info("Fetching community servers at @", url); + //get servers - Core.net.httpGet(becontrol.active() ? serverJsonBeURL : serverJsonV6URL, result -> { + Core.net.httpGet(url, result -> { try{ + if(result.getStatus() != HttpStatus.OK){ + Log.warn("Failed to fetch community servers: @", result.getStatus()); + return; + } Jval val = Jval.read(result.getResultAsString()); Core.app.post(() -> { @@ -519,8 +527,8 @@ public class JoinDialog extends BaseDialog{ } defaultServers.add(new ServerGroup(name, addresses)); }); - Log.info("Fetched @ global servers.", defaultServers.size); - }catch(Throwable ignored){ + Log.info("Fetched @ community servers.", defaultServers.size); + }catch(Throwable e){ Log.err("Failed to parse community servers."); } }); diff --git a/fastlane/metadata/android/en-US/changelogs/29736.txt b/fastlane/metadata/android/en-US/changelogs/29736.txt new file mode 100644 index 0000000000..d8fa4d35cc --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/29736.txt @@ -0,0 +1,23 @@ +[This is a truncated changelog, see Github for full notes] +After more than 9 months of development, 6.0 is finally here. There have been far too many changes to reasonably list here, so I'll go over the highlights. + +Units: + +- The unit system has been completely reworked +- All unit sprites have been re-drawn and cleaned up +- Many new unit types have been added +- Player-specific pads and unit-specific factories have been removed + + +Campaign: + + + + + + + + + +Maps: + diff --git a/fastlane/metadata/android/en-US/changelogs/29738.txt b/fastlane/metadata/android/en-US/changelogs/29738.txt new file mode 100644 index 0000000000..d8fa4d35cc --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/29738.txt @@ -0,0 +1,23 @@ +[This is a truncated changelog, see Github for full notes] +After more than 9 months of development, 6.0 is finally here. There have been far too many changes to reasonably list here, so I'll go over the highlights. + +Units: + +- The unit system has been completely reworked +- All unit sprites have been re-drawn and cleaned up +- Many new unit types have been added +- Player-specific pads and unit-specific factories have been removed + + +Campaign: + + + + + + + + + +Maps: +