Fix hourglass cursor after UseObject portal, add CastSpell client path, quiet logging
- Fix stuck hourglass after UseObject portal teleport by directly zeroing ClientUISystem.m_cBusy and calling UpdateCursorState to force cursor re-eval - Add CommandInterpreter::ClearAllCommands and TakeControlFromServer for post-teleport action cleanup - Switch CastSpell to ClientMagicSystem::CastSpell (0x00568DE0) with game action 0x4A fallback — fixes ring spell casting - Move all success/info Compat log calls to Verbose; log file now errors-only Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
215280dad4
commit
ba7b7d8375
44 changed files with 337 additions and 159 deletions
|
|
@ -53,7 +53,7 @@ internal static class SmartBoxSetStateHooks
|
|||
// Physics state is now read directly from CPhysicsObj+0xA8 via TryGetObjectPhysicsState.
|
||||
// Hook not installed; TryGetObjectState remains available for future use.
|
||||
_statusMessage = "Disabled — using direct CPhysicsObj state read instead.";
|
||||
RynthLog.Compat("Compat: smartbox-setstate hook skipped — direct read via CPhysicsObj+0xA8 in use.");
|
||||
RynthLog.Verbose("Compat: smartbox-setstate hook skipped — direct read via CPhysicsObj+0xA8 in use.");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -74,7 +74,7 @@ internal static class SmartBoxSetStateHooks
|
|||
|
||||
int n = Interlocked.Increment(ref _debugLogCount);
|
||||
if (n <= 60)
|
||||
RynthLog.Compat($"SetState#{n} obj=0x{objectId:X8} state=0x{newState:X8}");
|
||||
RynthLog.Verbose($"SetState#{n} obj=0x{objectId:X8} state=0x{newState:X8}");
|
||||
}
|
||||
catch { }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue