From 9c5274d656eb34f83d14137f4af1dfe311e2c4ed Mon Sep 17 00:00:00 2001 From: Madpeter <57852827+Madpeterz@users.noreply.github.com> Date: Thu, 5 Feb 2026 22:18:50 +0000 Subject: [PATCH] Shorten avatar check interval, add guest log Reduce the avatar tracking throttle from 30s to 10s to make avatar updates more responsive (update conditional and comment). Also add an informational log when the guest list becomes ready to track. No other functional changes. --- SecondBotEvents/Services/TriggerOnEventService.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/SecondBotEvents/Services/TriggerOnEventService.cs b/SecondBotEvents/Services/TriggerOnEventService.cs index 39257c6..cf91072 100644 --- a/SecondBotEvents/Services/TriggerOnEventService.cs +++ b/SecondBotEvents/Services/TriggerOnEventService.cs @@ -722,9 +722,9 @@ namespace SecondBotEvents.Services protected void TrackAvatarsOnParcel() { long dif = SecondbotHelpers.UnixTimeNow() - lastAvUpdate; - if (dif < 30) + if (dif < 10) { - // only check for changes every 30 secs + // only check for changes every 10 secs return; } lastAvUpdate = SecondbotHelpers.UnixTimeNow(); @@ -743,6 +743,10 @@ namespace SecondBotEvents.Services return; } avatarhash = hash; + if (GuestListLoaded == false) + { + LogFormater.Info("OnEvent Service [Guest list ready to track]"); + } if (GuestListLoaded == true) {