From b1b0c765067d0c91e420e175c6cc13d64ad38458 Mon Sep 17 00:00:00 2001 From: conker-rsc <16803725+conker-rsc@users.noreply.github.com> Date: Mon, 15 Sep 2025 22:29:13 -0500 Subject: [PATCH 1/2] Less scary messages --- src/Client/WorldPopulations.java | 6 +++--- src/Game/Renderer.java | 9 +++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/Client/WorldPopulations.java b/src/Client/WorldPopulations.java index 8dcdca6a..b26d5ee2 100644 --- a/src/Client/WorldPopulations.java +++ b/src/Client/WorldPopulations.java @@ -152,12 +152,12 @@ public void run() { } catch (UnknownHostException uhe) { Arrays.fill(worldOnlineTexts, "You're offline"); } catch (SocketTimeoutException ste) { - Arrays.fill(worldOnlineTexts, "Socket timeout"); + Arrays.fill(worldOnlineTexts, "? online"); } catch (IOException ioe) { if (ioe.toString().contains("Server returned HTTP response code: 521")) { - Arrays.fill(worldOnlineTexts, "Webserver offline"); + Arrays.fill(worldOnlineTexts, "offline"); } else { - Arrays.fill(worldOnlineTexts, "Webserver offline?"); + Arrays.fill(worldOnlineTexts, "?? online"); } } finally { running = false; diff --git a/src/Game/Renderer.java b/src/Game/Renderer.java index b37fe475..d368dd38 100644 --- a/src/Game/Renderer.java +++ b/src/Game/Renderer.java @@ -1758,8 +1758,13 @@ public static void present(Image image) { setAlpha(g2, 1.0f); g2.setColor(Color.WHITE); drawShadowText( - g2, errorInfo1, 7, height - 23 - (int) errorInfoBounds.getHeight(), Color.red, false); - drawShadowText(g2, errorInfo2, 7, height - 23, Color.red, false); + g2, + errorInfo1, + 7, + height - 23 - (int) errorInfoBounds.getHeight(), + Color.orange, + false); + drawShadowText(g2, errorInfo2, 7, height - 23, Color.orange, false); } } From e54874402177d8c04d30bcfed546611a26018bb6 Mon Sep 17 00:00:00 2001 From: conker-rsc <16803725+conker-rsc@users.noreply.github.com> Date: Mon, 15 Sep 2025 22:32:49 -0500 Subject: [PATCH 2/2] Source format --- src/Client/ConfigWindow.java | 57 +++++++++++++++++++++++------------- src/Client/Settings.java | 3 +- 2 files changed, 37 insertions(+), 23 deletions(-) diff --git a/src/Client/ConfigWindow.java b/src/Client/ConfigWindow.java index f14aab37..5746b204 100644 --- a/src/Client/ConfigWindow.java +++ b/src/Client/ConfigWindow.java @@ -7722,33 +7722,48 @@ public void updateRSCPlusDescription() { } public void updateAuthorTabAboutText() { - StringBuilder authorText = new StringBuilder(String.format("",osScaleMul(10), osScaleMul(15))); - authorText.append("

RSCPlus is a RuneLite-like client ") - .append("based on the 234 RSC client.
Learn more at https://rsc.plus.

") - .append("Thanks to the authors who made this software possible:

"); reindexSearch(() -> aboutText.setText(authorText.toString())); frame.revalidate(); diff --git a/src/Client/Settings.java b/src/Client/Settings.java index f5bbdd0c..e10576c2 100644 --- a/src/Client/Settings.java +++ b/src/Client/Settings.java @@ -2811,8 +2811,7 @@ public static void initDir() { JOptionPane.INFORMATION_MESSAGE, null, options, - null - ); + null); if (response == JOptionPane.YES_OPTION) { String portableModeAcceptMessage =