RynthCore as of 2026-10-05 (internal 0d3c210): dashboard slide-outs on the left (Ranges with the selected monster, Files, Patrol), fixed draggable vital bar, click an item to add a loot rule, loot rules by WCID, chat and loot editor typing no longer leaks into the game, title-bar text size, plugin API v76 (close container), plugin exception traces, plates drawn under the game UI (in testing), launcher account passwords encrypted with Windows DPAPI (in testing), release 2026.10.5.1

This commit is contained in:
Tom Bohar 2026-10-05 08:03:08 -04:00
commit c3e15480e5
50 changed files with 3315 additions and 490 deletions

View file

@ -151,6 +151,8 @@ public struct RynthCoreApiNative
// v75: the character's titles and which server this is
public IntPtr GetCharacterTitlesFn; // int GetCharacterTitles(uint* ids, int maxCount, uint* currentTitle) -> count, -1 unknown
public IntPtr GetServerInfoFn; // int GetServerInfo(byte* worldName, int capacity) -> flags (bit0 Aelrynth, bit1 staging, bit2 world name known)
// v76: close an external container (corpse, chest) like the client's window close
public IntPtr CloseContainerFn; // int CloseContainer(uint containerId) -> 1 sent or queued
}
/// <summary>

View file

@ -136,6 +136,8 @@ public readonly unsafe struct RynthCoreHost
public bool HasGetCharacterTitles => _api.Version >= 75 && _api.GetCharacterTitlesFn != IntPtr.Zero;
/// <summary>v75: <see cref="TryGetServerInfo"/> (which server this is).</summary>
public bool HasGetServerInfo => _api.Version >= 75 && _api.GetServerInfoFn != IntPtr.Zero;
/// <summary>v76: <see cref="CloseContainer"/> (close a corpse or chest like the client's window close).</summary>
public bool HasCloseContainer => _api.Version >= 76 && _api.CloseContainerFn != IntPtr.Zero;
public bool HasGetPluginExportJson => _api.Version >= 66 && _api.GetPluginExportJsonFn != IntPtr.Zero;
public bool HasGetPluginInterface => _api.Version >= 68 && _api.GetPluginInterfaceFn != IntPtr.Zero;
public bool HasGetLiveObjectIds => _api.Version >= 69 && _api.GetLiveObjectIdsFn != IntPtr.Zero;
@ -1670,6 +1672,21 @@ public readonly unsafe struct RynthCoreHost
((delegate* unmanaged[Cdecl]<uint, uint, int>)_api.WieldItemFn)(objectId, equipMask) != 0;
}
/// <summary>
/// v76: close an external container (a corpse, a chest) the way the client does when its
/// window is closed: the 0x0195 NoLongerViewingContents game action. It is not an inventory
/// request, so it adds nothing to the busy count and doesn't hold the client's one pending
/// item request. The server closes the container (if this player is viewing it) and answers
/// with CloseGroundContainer, so <c>OnStopViewingObjectContents</c> follows. Queued on AC's
/// main thread ahead of any action queued after it (a following UseObject goes out after
/// it, in the same frame). False when the engine predates v76. Check <see cref="HasCloseContainer"/>.
/// </summary>
public bool CloseContainer(uint containerId)
{
return HasCloseContainer &&
((delegate* unmanaged[Cdecl]<uint, int>)_api.CloseContainerFn)(containerId) != 0;
}
/// <summary>
/// v71: submits this plugin's complete set of script windows (display-list format 1,
/// RynthSuite Docs/RYNTHLUA_WINDOWS_DESIGN.md §4.2). Call only from the plugin's own tick or