From 8b71320912ba744f9133983b25f5cdb01d8906d5 Mon Sep 17 00:00:00 2001 From: Loporrit <141286461+loporrit@users.noreply.github.com> Date: Thu, 3 Jul 2025 08:34:18 +0000 Subject: [PATCH] Hack change gpose sync timer to 2 seconds --- .../Services/CharaData/CharaDataGposeTogetherManager.cs | 4 ++-- MareSynchronos/UI/CharaDataHubUi.GposeTogether.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MareSynchronos/Services/CharaData/CharaDataGposeTogetherManager.cs b/MareSynchronos/Services/CharaData/CharaDataGposeTogetherManager.cs index 351f2f8..9eaad31 100644 --- a/MareSynchronos/Services/CharaData/CharaDataGposeTogetherManager.cs +++ b/MareSynchronos/Services/CharaData/CharaDataGposeTogetherManager.cs @@ -363,7 +363,7 @@ public class CharaDataGposeTogetherManager : DisposableMediatorSubscriberBase while (!ct.IsCancellationRequested) { - await Task.Delay(TimeSpan.FromSeconds(10), ct).ConfigureAwait(false); + await Task.Delay(TimeSpan.FromSeconds(2), ct).ConfigureAwait(false); if (!_dalamudUtil.IsInGpose) continue; if (_usersInLobby.Count == 0) continue; @@ -415,7 +415,7 @@ public class CharaDataGposeTogetherManager : DisposableMediatorSubscriberBase { while (!ct.IsCancellationRequested) { - await Task.Delay(TimeSpan.FromSeconds(_dalamudUtil.IsInGpose ? 10 : 1), ct).ConfigureAwait(false); + await Task.Delay(TimeSpan.FromSeconds(_dalamudUtil.IsInGpose ? 2 : 1), ct).ConfigureAwait(false); // if there are no players in lobby, don't do anything if (_usersInLobby.Count == 0) continue; diff --git a/MareSynchronos/UI/CharaDataHubUi.GposeTogether.cs b/MareSynchronos/UI/CharaDataHubUi.GposeTogether.cs index dab9e52..b1db44f 100644 --- a/MareSynchronos/UI/CharaDataHubUi.GposeTogether.cs +++ b/MareSynchronos/UI/CharaDataHubUi.GposeTogether.cs @@ -32,7 +32,7 @@ internal sealed partial class CharaDataHubUi + "To use GPose together you either create or join a GPose Together Lobby. After you and other people have joined, make sure that everyone is on the same map. " + "It is not required for you to be on the same server, DC or instance. Users that are on the same map will be drawn as moving purple wisps in the overworld, so you can easily find each other." + UiSharedService.DoubleNewLine + "Once you are close to each other you can initiate GPose. You must either assign or spawn characters for each of the lobby users. Their own poses and positions to their character will be automatically applied." + Environment.NewLine - + "Pose and location data during GPose are updated approximately every 10-20s."); + + "Pose and location data during GPose are updated approximately every few seconds."); using var disabled = ImRaii.Disabled(!_charaDataManager.BrioAvailable || !_uiSharedService.ApiController.IsConnected);