Commit graph

26 commits

Author SHA1 Message Date
Cursor Agent
d2161ccf25
docs: update Hub playbook for SummonPets + breeding
Mirror Suite tracking: Pet follow-on is SummonPets mechanics plus
server-gated breeding (pet_breeding_enabled).

Co-authored-by: BlankenshipG <BlankenshipG@users.noreply.github.com>
2026-10-04 18:21:30 +00:00
Cursor Agent
fc63fda092
docs: add UB Hub merge playbook for tracking
Mirror the ILT Hub done/remaining checklist under docs/ so Core can track
Suite feat/ilt-hub progress without implying Hub code lands here.

Co-authored-by: BlankenshipG <BlankenshipG@users.noreply.github.com>
2026-10-04 18:15:12 +00:00
BlankenshipG
eda3cdfa7f
Merge pull request #1 from BlankenshipG/cursor/fix-aelrynth-urls-1cc4
fix: replace dead tombohar URLs with aelrynth / sibling forks
2026-10-04 12:05:07 -04:00
Cursor Agent
4ddbb52eb2
feat: port aelrynth 2026.9.27.2 snapshot onto GitHub history
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>
2026-10-04 15:43:50 +00:00
Cursor Agent
ac0d743e16
fix: replace dead tombohar URLs with aelrynth/sibling forks
Point installer publisher URL at aelrynth.com/rynth.html and clone
RynthSuite from the same GitHub owner in release CI. Canonical public
source is https://aelrynth.com/git/RynthCore.git.

Co-authored-by: BlankenshipG <BlankenshipG@users.noreply.github.com>
2026-10-04 15:29:14 +00:00
8260c60494 Fix logout crash, add OnLogout plugin export, and read true buffed skill
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>
2026-04-25 23:36:56 -04:00
cd3ccfd550 Add power bar suppression API, pin imgui.ini, bump SDK to v56
- 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>
2026-04-25 10:03:58 -04:00
01c7a549bd Add radar/chat suppression hooks and custom-widget API
- 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.
2026-04-23 21:08:26 -04:00
2c3d2410a8 Add radar rect API, jump primitives, account profile tweaks
- Hook gmRadarUI::DrawObjects to capture the UI singleton; expose
  host.TryGetRadarRect via UIElement::GetSurfaceBox (API v53).
- Plumb CommenceJump/DoJump/LaunchJumpWithMotion through
  ClientActionHooks and PlayerPhysicsHooks.
- Account profile dialog + LaunchAccountProfile adjustments.
- Viewport platform backend tweak.
2026-04-22 21:28:29 -04:00
27d6e530e0 Fix installer: update publish paths from net9.0 to net10.0
All three projects target net10.0-windows now; Build-Installer.ps1 was still
pointing at net9.0-windows7.0 / net9.0-windows output directories.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 20:36:27 -04:00
0d8579b796 Add multi-viewport support, FPS governor, mana stone looting, and viewport focus fixes
Engine:
- ViewportPlatformBackend: Win32 platform backend for ImGui multi-viewport (pop-out windows)
- ViewportRendererBackend: D3D9 swap chain rendering for viewport windows
- ViewportPlatformBackend: WS_EX_NOACTIVATE + MA_NOACTIVATE always + SW_SHOWNA — viewport
  windows never steal focus; single click works without prior window activation
- ImGuiController/RynthCoreShell: wire multi-viewport callbacks, map always renders
  independent of main dashboard visibility
- Win32Backend: improved input handling for viewport windows
- EndSceneHook: FPS governor (focused/background targets), periodic FPS measurement
- D3D9VTable: vtable discovery improvements
- PluginContract/PluginManager/RynthCoreHost: expose UseObjectOn, GetItemType,
  GetObjectIntProperty to plugins

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 20:29:34 -04:00
fb4fe05657 Fix temp .iss path: write alongside original, not in Output subdir
Relative paths in RynthCore.iss (SetupIconFile, Source staging\app\*)
are relative to installer\. Writing the temp file to installer\Output\
shifted these paths one level up, causing 'path not found' errors.
Write to installer\RynthCore.tmp.iss instead and clean up after ISCC.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 13:48:04 -04:00
540a062733 Eliminate ISPP from installer; add ISS line-count debug output
Replace all {#define}/{#macro} usages with literal values so ISPP has
no directives to process (avoids the CI line-101 preprocessor error).
Version is now injected via PowerShell text substitution on a temp copy
of the .iss before ISCC runs, rather than via /DAppVersion= flag.
Adds a line-count + commit-hash log line to diagnose stale checkout.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 13:42:48 -04:00
511d75a6bd Remove [Code] section from installer to fix ISPP CI error
Inno Setup 6.7.1's ISPP preprocessor misidentifies Pascal #char literals
(#13#10) as directives even mid-line. The WMI running-check isn't needed
(plugin DLLs are shadow-copied so AC doesn't lock them), and the finish
instructions are covered by the GitHub Release notes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 13:36:00 -04:00
47a87bd66f Fix ISPP preprocessor error: collapse standalone #13#10 lines
Inno Setup 6.7.1 ISPP treats #charcode at the start of a line as a
preprocessor directive. Collapse all standalone '#13#10 +' continuation
lines so the # character never appears as the first token on a line.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 13:26:59 -04:00
59b84a61d6 Fix CI: clone RynthSuite as sibling repo so csproj paths resolve
The plugin's project references use ..\..\..\RynthCore\ (3 levels up),
assuming the two repos sit under a common parent. The previous checkout
nested RynthSuite inside RynthCore's workspace, breaking path resolution.
Now we git clone RynthSuite to Split-Path($GITHUB_WORKSPACE)\..\RynthSuite
so the layout matches local C:\Projects\RynthCore + C:\Projects\RynthSuite.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 13:19:11 -04:00
8d9a3a83af Add GitHub Actions release workflow
Adds .github/workflows/release.yml that builds the full installer and
publishes a GitHub Release. Triggered manually (Actions tab) or on v* tags.
Updates Build-Installer.ps1 with -RynthSuiteRoot and -Version parameters
so the CI runner can pass paths and version without hardcoded conventions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 13:06:01 -04:00
445bd1d39e Add installer documentation to BUILD.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 22:16:07 -04:00
ba7b7d8375 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>
2026-04-17 22:08:27 -04:00
215280dad4 Add Inno Setup installer and build script
Build-Installer.ps1 publishes all three components (launcher, engine,
plugin) and stages them for ISCC. RynthCore.iss installs to
C:\Games\RynthCore with data dirs at C:\Games\RynthSuite\RynthAi,
checks for running acclient.exe, and shows getting-started instructions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 19:24:56 -04:00
36e8208caa Add Plugins tab, remove WinForms launcher, add BUILD.md
- 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>
2026-04-16 17:08:26 -04:00
ccb08ecb4a Add door/vendor/motion hooks, auto-ID service, and int property caching
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>
2026-04-14 20:24:46 -04:00
610c9feaec Add skill level, attribute, vitals, and appraisal engine API
- 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>
2026-04-12 21:06:22 -04:00
c2ca425f87 Add salvage, appraisal, account, teleport hooks and expand engine API
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>
2026-04-12 00:27:17 -04:00
bb4399b69e Remove HelloBox plugin, disable desktop log file, update ImGui theme
- Delete HelloBox plugin and its panel (RynthCore.sln updated accordingly)
- Remove File.AppendAllText from EntryPoint.Log() — no longer writes to Desktop\RynthCore.log; in-memory buffer (RecentLogLines) retained
- Tune RynthCoreShell ImGui color theme (darker blues, frame borders, unified slider/tab palette)
- Add AGENTS.md, find_bytes.cs, loot-port-plan.txt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 01:06:27 -04:00
80b71d295d Initial commit
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.
2026-04-10 18:38:07 -04:00