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
|
|
@ -450,6 +450,11 @@ internal struct RynthCoreAPI
|
|||
/// BF_DOOR = 0x1000, BF_VENDOR = 0x200, BF_CORPSE = 0x2000, etc.
|
||||
/// Returns 0 if the object is not found.</summary>
|
||||
public IntPtr GetObjectBitfieldFn;
|
||||
|
||||
/// <summary>Function pointer: void ForceResetBusyCount()
|
||||
/// Force-resets the client's ClientUISystem busy count to zero.
|
||||
/// Use after portal teleports that interrupt actions and leave the hourglass cursor stuck.</summary>
|
||||
public IntPtr ForceResetBusyCountFn;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -838,3 +843,6 @@ internal unsafe delegate int GetObjectStateCallbackDelegate(uint objectId, uint*
|
|||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
internal delegate uint GetObjectBitfieldCallbackDelegate(uint objectId);
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
internal delegate void ForceResetBusyCountCallbackDelegate();
|
||||
|
|
|
|||
Loading…
Reference in a new issue