From 76dab05cbd58b8fc7183b0d8aaf64cbab057f191 Mon Sep 17 00:00:00 2001 From: Haselnussbomber Date: Wed, 29 Oct 2025 02:11:46 +0100 Subject: [PATCH 1/3] Allow auto updates when on Free Trial --- Dalamud/Plugin/Internal/AutoUpdate/AutoUpdateManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dalamud/Plugin/Internal/AutoUpdate/AutoUpdateManager.cs b/Dalamud/Plugin/Internal/AutoUpdate/AutoUpdateManager.cs index 169864bdf..23ddbd993 100644 --- a/Dalamud/Plugin/Internal/AutoUpdate/AutoUpdateManager.cs +++ b/Dalamud/Plugin/Internal/AutoUpdate/AutoUpdateManager.cs @@ -497,7 +497,8 @@ internal class AutoUpdateManager : IServiceType condition.OnlyAny(ConditionFlag.NormalConditions, ConditionFlag.Jumping, ConditionFlag.Mounted, - ConditionFlag.UsingFashionAccessory); + ConditionFlag.UsingFashionAccessory, + ConditionFlag.OnFreeTrial); } private bool IsPluginManagerReady() From e6df536ceb0af1d1fd3cc89ff1188a092692a957 Mon Sep 17 00:00:00 2001 From: Haselnussbomber Date: Wed, 29 Oct 2025 02:13:58 +0100 Subject: [PATCH 2/3] Don't always flag as idle when on Free Trial --- Dalamud/Game/ClientState/ClientState.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dalamud/Game/ClientState/ClientState.cs b/Dalamud/Game/ClientState/ClientState.cs index e92af21c3..d90308e55 100644 --- a/Dalamud/Game/ClientState/ClientState.cs +++ b/Dalamud/Game/ClientState/ClientState.cs @@ -249,7 +249,8 @@ internal sealed class ClientState : IInternalDisposableService, IClientState ConditionFlag.NormalConditions, ConditionFlag.Jumping, ConditionFlag.Mounted, - ConditionFlag.UsingFashionAccessory]); + ConditionFlag.UsingFashionAccessory, + ConditionFlag.OnFreeTrial]); blockingFlag = blockingConditions.FirstOrDefault(); return blockingFlag == 0; From 08a39988547f41574616c98cc040480fdce87f18 Mon Sep 17 00:00:00 2001 From: Haselnussbomber Date: Wed, 29 Oct 2025 02:31:42 +0100 Subject: [PATCH 3/3] Use IsClientIdle in CanUpdateOrNag --- Dalamud/Plugin/Internal/AutoUpdate/AutoUpdateManager.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dalamud/Plugin/Internal/AutoUpdate/AutoUpdateManager.cs b/Dalamud/Plugin/Internal/AutoUpdate/AutoUpdateManager.cs index 23ddbd993..3fc011a68 100644 --- a/Dalamud/Plugin/Internal/AutoUpdate/AutoUpdateManager.cs +++ b/Dalamud/Plugin/Internal/AutoUpdate/AutoUpdateManager.cs @@ -491,14 +491,10 @@ internal class AutoUpdateManager : IServiceType private bool CanUpdateOrNag() { - var condition = Service.Get(); + var clientState = Service.Get(); return this.IsPluginManagerReady() && !this.dalamudInterface.IsPluginInstallerOpen && - condition.OnlyAny(ConditionFlag.NormalConditions, - ConditionFlag.Jumping, - ConditionFlag.Mounted, - ConditionFlag.UsingFashionAccessory, - ConditionFlag.OnFreeTrial); + clientState.IsClientIdle(); } private bool IsPluginManagerReady()