RynthSuite as of 2026-11-19 (internal 48a8cc7e): release 2026.11.19.1

This commit is contained in:
Tom Bohar 2026-11-19 21:35:23 -05:00
commit 660e6b5b1c
31 changed files with 1381 additions and 29 deletions

View file

@ -126,6 +126,8 @@ internal static class MoveAudit
private static readonly System.Collections.Generic.HashSet<uint> _motionsOn = new();
private static readonly System.Collections.Generic.HashSet<string> _actionHoldLogged = new();
private static long _actionHoldLoggedFor = long.MinValue;
private static readonly System.Collections.Generic.HashSet<string> _handHoldLogged = new();
private static long _handHoldLoggedRun = -1;
/// <summary>Callers whose movement is never held: the cast nudge, a macro stop, typed commands.</summary>
internal static bool IsExemptFromActionHold(string who) =>
@ -151,6 +153,23 @@ internal static class MoveAudit
lock (Gate) moving = motion != 0 ? _motionsOn.Contains(motion) : (_autoRunOn || _motionsOn.Count > 0);
if (moving) return false; // a real stop always goes through, however old the start
}
// The player casting by hand (2026-11-18, R-20261118-214609-a9a8): a start or a turn of ours would
// move the character in the player's cast windup. Stops are left to the rules below.
if (!isStop && ActionPacer.HandCasting(host))
{
bool logHand;
lock (Gate)
{
if (_handHoldLoggedRun != ActionPacer.HandCastRuns) { _handHoldLoggedRun = ActionPacer.HandCastRuns; _handHoldLogged.Clear(); }
logHand = Enabled && _handHoldLogged.Add(who);
}
if (logHand)
{
try { host.Log($"[Move] {PluginName}/{who} {call} held (move/turn): the player is casting by hand"); }
catch { }
}
return true;
}
var pending = ActionPacer.Current(host);
if (pending == null) return false;
if (!ActionPacer.HoldsMovement(host, out string what)) return false;