From 36b273841b1c378fb746a422a3dce0c5de5ea0c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 30 Mar 2026 12:18:49 -0600 Subject: [PATCH] Add a couple known status pages --- UI/AdhocServerScreen.cpp | 6 +++++- assets/adhoc-servers.json | 20 +++++++++++--------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/UI/AdhocServerScreen.cpp b/UI/AdhocServerScreen.cpp index f3a875e6e2..7a09536941 100644 --- a/UI/AdhocServerScreen.cpp +++ b/UI/AdhocServerScreen.cpp @@ -254,7 +254,11 @@ void AdhocServerInfoScreen::CreatePopupContents(UI::ViewGroup *parent) { } } else { if (games_.empty()) { - content->Add(new TextView(ni->T("No games in progress on this server"))); + if (statusRequest_) { + // Still loading. TODO: Show a spinner or something. + } else { + content->Add(new TextView(ni->T("No games in progress on this server"))); + } } else { for (const AdhocGame &game : games_) { std::string title = game.name + " - " + ApplySafeSubstitutions(ni->T("players: %1"), game.usercount) + " " + ApplySafeSubstitutions(ni->T("groups: %1"), (int)game.groups.size()); diff --git a/assets/adhoc-servers.json b/assets/adhoc-servers.json index 85fcb087b9..03d0933ca9 100644 --- a/assets/adhoc-servers.json +++ b/assets/adhoc-servers.json @@ -46,7 +46,8 @@ "web": "https://jpa36a7.glddns.com", "location": "São Paulo Brazil", "description": "For players looking to play any games", - "data_mode": "AemuPostoffice" + "data_mode": "AemuPostoffice", + "status_xml": "https://jpa36a7.glddns.com/" }, { "name": "ArenaAnywhere SA", @@ -104,7 +105,8 @@ "web": "https://adhoc.gamesnexus.ovh", "location": "Milan Italy", "description": "For players looking to play any games", - "data_mode": "AemuPostoffice" + "data_mode": "AemuPostoffice", + "status_web": "https://adhoc.gamesnexus.ovh" }, { "name": "Sony PSP & PSVita Fans", @@ -116,13 +118,13 @@ "data_mode": "P2P" }, { - "name": "CVN-Play", - "host": "cvn-play.top", - "discord": "", - "web": "https://game.cvn-play.top/emu", - "location": "China", - "description": "For players looking to play any games", - "data_mode": "AemuPostoffice" + "name": "CVN-Play", + "host": "cvn-play.top", + "discord": "", + "web": "https://game.cvn-play.top/emu", + "location": "China", + "description": "For players looking to play any games", + "data_mode": "AemuPostoffice" } ] }