Patch the appraisal cache from PublicUpdateProperty messages and fall back to the update cache off-thread, so a refilled pet essence no longer reads 0 charges from a stale ID snapshot.
Co-authored-by: Cursor <cursoragent@cursor.com>
LayeredWindow.Dispose now destroys inline when the caller owns the HWND, else posts WM_RYNTH_SELF_DESTROY to the panel itself. Floating-panel restore at login waits for Win32Backend.CanRunOnGameThread so the HWND is created on AC's game thread.
Co-authored-by: Cursor <cursoragent@cursor.com>
The snapshot publish sat unreachable after a return in TryGetCanonicalPath, so RenderAll/RenderOverlayAll iterated an empty list and no plugin ImGui window (e.g. ILT Hub) ever drew. CS0162 is now a build error.
Co-authored-by: Cursor <cursoragent@cursor.com>
The delegate lacked [UnmanagedFunctionPointer(Cdecl)], so x86 marshalled a stdcall thunk; cdecl callers popped args twice and AutoStack corrupted RynthAi's stack until the client died. SDK now requires v69 before calling it; release build rejects any non-cdecl API delegate. Adds one-time RenderOverlay diagnostics.
Co-authored-by: Cursor <cursoragent@cursor.com>
RynthAi Avalonia panel gains an ILT Hub button (hub show via ApplyRemoteCommand). ImGui draw data is submitted after the Avalonia blit and ImGui gets mouse priority when hovered. Engine reads LoggingLevel (now incl. Off) and LogCategories from engine.json live; launcher 0.1.5 edits engine and RynthAi log levels on the fly.
Co-authored-by: Cursor <cursoragent@cursor.com>
Main-thread position walk now captures stack size, max stack, container, wielder, location, capacities and material so off-thread reads stop returning unknown (finding #24). MergeStackInternal records every outcome; new GetMergeStackResult API slot exposes it to plugins.
Co-authored-by: Cursor <cursoragent@cursor.com>
CreateObject hook reads _name/_type from the PublicWeenieDesc so off-thread lookups work before the 500 ms identity snapshot resolves names (empty for ~10 s after login).
SehTrampoline v2: stack sweep bounded by StackBase, per-thread guards for self-faults and SEH_* wrapper AVs, unhandled-exception filter for fatal crashes, NativeAOT-module AVs logged immediately, other first-chance AVs deferred to a ring flushed only if the process dies.
Co-authored-by: Cursor <cursoragent@cursor.com>
PluginManager.RenderOverlayAll runs the optional export when EnableImGuiShell is off (engine.json EnablePluginOverlayWindows, default true). A throw disables only that plugin's overlay, never the plugin. Fixes RynthAi ILT Hub window never showing.
Co-authored-by: Cursor <cursoragent@cursor.com>
The 1s poll rebuilt the whole panel including a new ScrollViewer, snapping the list to the top and eating clicks. Keep one ScrollViewer, restore its offset, rebuild only on changed JSON, and defer while the pointer is over the list.
Co-authored-by: Cursor <cursoragent@cursor.com>
SK-local's cimgui de-duplication deleted the plain cimgui.dll that
Build-Installer.ps1 requires in Runtime\ and plugins import by name; the
DesktopLog reference is no longer used by the engine or injector.
Co-authored-by: Cursor <cursoragent@cursor.com>
Integrates the aelrynth snapshot port (main), the full installer, the
tmds.dbus advisory fix and all launcher/engine work into SK-local.
Conflict resolutions:
- Logging: keep SK-local's level-based logging (EngineLogLevel, ShouldLog,
engine.json LoggingLevel) and adopt full-installer's tagged WRN/ERR,
LastIssue and per-PID logs; the Desktop rolling log is superseded.
- Launcher: keep the inject-all-sessions toggle and Logging level combo
alongside the new stagger/crash-relaunch/stuck-client options; the
LoggingLevel is now written through EngineJsonStore.SetString.
- PluginManager: keep SK-local's basename/canonical-path de-duplication,
drop the default-directory scan (opt-in via PluginPaths).
- Injector, installer, CI workflow, BUILD.md: take full-installer.
- Solution: add DesktopLog + Loader, drop the stale Plugins/RynthAi stub.
Co-authored-by: Cursor <cursoragent@cursor.com>
Direct reference overrides Avalonia's vulnerable transitive 0.20.x in App.Avalonia and Engine. Release notes in Changelog/.
Co-authored-by: Cursor <cursoragent@cursor.com>
Overlay upstream/main (9b5e276) onto BlankenshipG main without rewriting
history. Keep origin-only Decal/plugin/docs trees. Re-apply aelrynth.com
and sibling-fork URL fixes that aelrynth git still has as tombohar links.
Co-authored-by: BlankenshipG <BlankenshipG@users.noreply.github.com>
The long-standing "DX9 error / client crash on logout" was ChatHooks.TickHide
calling SetVisible() on a stale gmMainChatUI pointer that AC frees during the
world-to-charselect transition. TickHide now gates on HasObservedLoginComplete
and the cached instance is reset in DispatchPendingLogout. CrashLogger gained a
register dump + EBP-frame walk + ESP sweep with module resolution that made
this trace possible.
Plugin contract bumped to v57 with optional RynthPluginOnLogout export.
LogoutLifecycleHooks hooks CPlayerSystem::ExecuteLogOff (fires after the user
confirms the logoff prompt — not RecvNotice_EndCharacterSession which fires on
the menu click before the prompt) plus RecvNotice_Logoff as fallback.
RynthCoreShell + PluginManager.RenderAll gate on HasObservedLoginComplete so
the bar/plugins hide between sessions.
ClientObjectHooks.TryGetObjectSkill now calls CACQualities::InqSkill(raw=0)
for the truly buffed skill — the old code returned InitialLevel +
LevelFromPracticePoints which is just the base trained level, missing
attribute / augmentation / spell-buff contributions.
CharacterCaptureHooks latches _autoLoginEverFired so manual logout doesn't
re-fire auto-login from the next 0xF658 packet. AccountProfileDialog drops
the now-redundant Character/Slot field. UpdateObjectInventoryHooks pack scan
also matches by wielderID so wielded items are picked up.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- New PowerbarHooks scaffold hooking gmPowerbarUI's RecvNotice_Begin/Level/
Finish trio. SetPowerbarSuppressed exposed via the plugin contract; current
implementation no-ops the notices (a deeper SetVisible/HidePowerBar path
crashed on the captured pointer, so full hide is parked for later).
- ImGuiController pins io.IniFilename to a stable absolute path
(C:\Games\RynthSuite\RynthAi\imgui.ini) so window positions, sizes, and
dock layout persist across RL hot-reload and AC restarts. Default ImGui
behavior wrote into the host process working dir which varied per launch.
- PluginContract version bumped to 56 with SetPowerbarSuppressedFn added to
RynthCoreAPI; SDK exposes Has/Set methods on RynthCoreHost.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- ChatHooks: captures gmMainChatUI via ListenToElementMessage and hides it
via UIElement::SetVisible(false), re-asserted every frame from EndSceneHook.
Suppression toggle restores visibility when flipped off.
- RadarHooks: also suppresses gmRadarUI::DrawChildren (bezel/compass/coords)
alongside DrawObjects so the whole retail radar goes blank.
- PluginContract v55: SetRadarSuppressed + SetChatSuppressed fn pointers
exposed to plugins via RynthCoreHost.
- 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>
- Add Plugins tab to Avalonia launcher with add/remove plugin DLL management
- Plugin paths sync to engine.json for runtime loading
- Engine loads plugins from custom DLL paths via EngineSettings
- Remove defunct WinForms launcher (RynthCore.App project, MainForm, Program)
- Shared source files remain in src/RynthCore.App for Avalonia and Engine
- Add BUILD.md with full publish/deploy instructions for all components
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds engine-side support for door interaction (DoMotion, SmartBoxSetState,
physics state, bitfield reading), vendor open/close events, automatic
object identification service, int property appraisal caching, container
item counts, and property update hooks. Cleans up verbose inventory logging.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- InqSkill with raw param (0=buffed, 1=base incl. attribute contribution)
- InqAttribute for primary attributes (Str/End/Qui/Coo/Foc/Self, buffed + base)
- InqAttribute2nd for max vitals base level (health/stamina/mana)
- InqInt64 delegate for quad properties
- AppraisalHooks: full item appraisal support via AC client appraisal path
- PlayerVitalsHooks and BusyCountHooks additions
- Expose all new hooks through PluginContract/PluginManager/RynthCoreApiNative/RynthCoreHost (contract version 46)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
New hooks:
- AppraisalHooks: hook CM_Examine::SendNotice_SetAppraiseInfo (0x006B05B0) to
cache bool properties from server appraisal data; fixes wobjectgetboolprop
returning 0 for inventory items whose m_pQualities is null in client memory
- SalvageHooks: hook gmSalvageUI::OpenSalvagePanel to capture singleton instance
for use by SalvagePanelAddItem and SalvagePanelExecute
- AccountHooks: capture account name and world/server name from login flow
- TeleportStateHooks: track teleport/portal state via SmartBox
ClientObjectHooks: check AppraisalHooks cache before CBaseQualities::InqBool in
TryGetObjectBoolProperty so identified inventory items return correct values
API v40 additions (PluginContract / PluginManager / PluginSdk):
- GetCurrentCombatMode: direct read from ClientCombatSystem without hook
- SalvagePanelOpen / SalvagePanelAddItem / SalvagePanelExecute
- GetVitae: reads vitae multiplier via CACQualities::GetVitaeValue
- GetAccountName / GetWorldName
- GetObjectWcid: reads PublicWeenieDesc._wcid fast path
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
A modern .NET 9 NativeAOT framework for Asheron's Call client modding.
Self-contained injection system that hooks D3D9 EndScene to render an
ImGui overlay inside the AC client process.