From bef262d889dd0d02b84810aea806f577eacacc56 Mon Sep 17 00:00:00 2001 From: esu Date: Tue, 10 Mar 2026 22:02:34 +0100 Subject: [PATCH 1/5] added username to rpc --- FortniteLauncher/Source/Core/Configuration/Definitions.cs | 2 +- FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FortniteLauncher/Source/Core/Configuration/Definitions.cs b/FortniteLauncher/Source/Core/Configuration/Definitions.cs index df004b7..a38856b 100644 --- a/FortniteLauncher/Source/Core/Configuration/Definitions.cs +++ b/FortniteLauncher/Source/Core/Configuration/Definitions.cs @@ -1,7 +1,7 @@ class Definitions { // API Endpoints - public const string CurrentVersion = "1.3.4"; + public const string CurrentVersion = "1.3.5"; public const string BaseURL = "https://services.eonfn.net"; public const string CDN_URL = "https://cdn.eonfn.dev"; diff --git a/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs b/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs index f6270fa..3cd0bc9 100644 --- a/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs +++ b/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs @@ -34,7 +34,7 @@ private static void UpdatePresence() Assets = new Assets { LargeImageKey = "fn17", - LargeImageText = "Eon" + LargeImageText = string.IsNullOrEmpty(GlobalSettings.Options.Username) ? "Eon" : "In Eon logged as " + GlobalSettings.Options.Username }, Buttons = new[] From 74bfcc06a22f829f0a9f5238f5ef21ed15e7c1f4 Mon Sep 17 00:00:00 2001 From: esu Date: Tue, 10 Mar 2026 22:13:10 +0100 Subject: [PATCH 2/5] skin url --- FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs b/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs index 3cd0bc9..31ca74b 100644 --- a/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs +++ b/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs @@ -33,7 +33,7 @@ private static void UpdatePresence() Assets = new Assets { - LargeImageKey = "fn17", + LargeImageKey = string.IsNullOrEmpty(GlobalSettings.Options.SkinUrl) ? "fn17" : GlobalSettings.Options.SkinUrl, LargeImageText = string.IsNullOrEmpty(GlobalSettings.Options.Username) ? "Eon" : "In Eon logged as " + GlobalSettings.Options.Username }, From cd28cdc07fc4072e86235b17bb0dd40180b6a322 Mon Sep 17 00:00:00 2001 From: esu Date: Tue, 10 Mar 2026 23:25:22 +0100 Subject: [PATCH 3/5] ok fix --- .../Source/Platform/Discord/DiscordRichPresence.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs b/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs index 31ca74b..42339f9 100644 --- a/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs +++ b/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs @@ -21,25 +21,27 @@ public static async void Start() }); } - private static void UpdatePresence() + public static void UpdatePresence() { if (!Client.IsInitialized) return; Client.SetPresence(new RichPresence { - State = "Chapter 2 Season 7 - OG Fortnite", + State = "Project Eon", + Details = "An OG Fortnite Experience", Timestamps = new Timestamps { Start = StartTimestamp }, Assets = new Assets { - LargeImageKey = string.IsNullOrEmpty(GlobalSettings.Options.SkinUrl) ? "fn17" : GlobalSettings.Options.SkinUrl, - LargeImageText = string.IsNullOrEmpty(GlobalSettings.Options.Username) ? "Eon" : "In Eon logged as " + GlobalSettings.Options.Username + SmallImageKey = string.IsNullOrEmpty(GlobalSettings.Options.SkinUrl) ? "" : GlobalSettings.Options.SkinUrl, + LargeImageKey = "fn17", + LargeImageText = "Playing Eon." }, Buttons = new[] { - new Button { Label = "Join Discord", Url = ProjectDefinitions.Discord }, + new Button { Label = "Join Discord", Url = ProjectDefinitions.Discord + "?u=" + GlobalSettings.Options.Username}, } }); } From b4a7eded619f252a2303fef9c13409cd6e93436d Mon Sep 17 00:00:00 2001 From: esu Date: Tue, 10 Mar 2026 23:25:29 +0100 Subject: [PATCH 4/5] Update LoginEndpoint.cs --- .../Source/Content/API/Authentication/LoginEndpoint.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FortniteLauncher/Source/Content/API/Authentication/LoginEndpoint.cs b/FortniteLauncher/Source/Content/API/Authentication/LoginEndpoint.cs index 77a0dbe..a8e20f6 100644 --- a/FortniteLauncher/Source/Content/API/Authentication/LoginEndpoint.cs +++ b/FortniteLauncher/Source/Content/API/Authentication/LoginEndpoint.cs @@ -27,6 +27,8 @@ public static async Task CheckLogin(string Email, string Password) if (Response.Status == VerifyLoginStatus.Success.ToString()) { + EonRPC.UpdatePresence(); + GlobalSettings.Options.Username = Response.Username; GlobalSettings.Options.Email = Response.Email; GlobalSettings.Options.SkinUrl = Response.Skin; From e55e4f2fb8cd09e421981ab8fd6dd53e75260b48 Mon Sep 17 00:00:00 2001 From: esu Date: Tue, 10 Mar 2026 23:28:47 +0100 Subject: [PATCH 5/5] fr --- .../Source/Platform/Discord/DiscordRichPresence.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs b/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs index 42339f9..da81b47 100644 --- a/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs +++ b/FortniteLauncher/Source/Platform/Discord/DiscordRichPresence.cs @@ -41,8 +41,9 @@ public static void UpdatePresence() Buttons = new[] { - new Button { Label = "Join Discord", Url = ProjectDefinitions.Discord + "?u=" + GlobalSettings.Options.Username}, + new Button { Label = "Join Discord", Url = $"{ProjectDefinitions.Discord}?u={GlobalSettings.Options.Username}", } + } }); } } \ No newline at end of file