feat: SK engine work through 2026-10-13 on 2026.10.13.3
Plugin API v86 after rynth's v84 GetObjectProperties: v85 confirmation answers (ArmConfirmation, GetLastConfirmation), v86 GetServerStateJson. - One plugin per server, server verdicts, per-character overrides and a server picker; skipped server plugins are listed and load when forced On. - Mini Remote sections and the sections rail; Session Stats; Char menu Fellowship and quests; known-server picker in the launcher. - Items damage-type colors, one Progression Attributes section, environment-hit throttle and per-monster attack power settings. - Security review fixes (SafeImGui, chat-origin checks, StatusAgent 1.0.1). See Changelog/2026-10-14-sk-engine-work-through-10-13.md.
This commit is contained in:
parent
67574b56e6
commit
e3222805cb
113 changed files with 6207 additions and 759 deletions
80
Changelog/2026-10-14-sk-engine-work-through-10-13.md
Normal file
80
Changelog/2026-10-14-sk-engine-work-through-10-13.md
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
# SK engine and UI work through 2026-10-13, on 2026.10.13.3
|
||||
|
||||
Everything from SK's build since the 2026-10-11 batch that main doesn't have yet, merged onto
|
||||
release 2026.10.13.3 with the conflicts resolved. Goes with RynthSuite's
|
||||
`Changelog/2026-10-14-sk-rynthai-work-through-10-13.md`.
|
||||
|
||||
Left out on purpose: SK's local installer scripts and release records, `.github` and
|
||||
`.gitignore` edits for SK's fork, `BUILD.md` notes about SK's release script, and the
|
||||
per-release changelogs (this file sums them up).
|
||||
|
||||
## Merge notes for 2026.10.13.3
|
||||
|
||||
- **Plugin API v86.** 2026.10.13.3 took v84 for `GetObjectProperties`, so SK's additions follow it:
|
||||
- v85: `ArmConfirmationFn`, `GetLastConfirmationFn` (craft-chance and other confirmation prompts);
|
||||
- v86: `GetServerStateJsonFn` (the engine's server verdicts for plugins).
|
||||
- `PluginContractVersion.Current` and `RynthCoreSdkApiVersion` are 86. In the SDK,
|
||||
`HasConfirmationAnswers` needs v85+ and `HasGetServerStateJson` v86+.
|
||||
- `tools/PluginManifestTests` checks the slot order (`GetObjectProperties` before `ArmConfirmation`).
|
||||
- Plugins built against an older SK SDK must be rebuilt.
|
||||
|
||||
## Confirmation answers (v85)
|
||||
|
||||
- `Compatibility/ConfirmationResponder.cs` (new) binds `CM_Character::Event_ConfirmationResponse`
|
||||
by byte pattern. `SmartBoxHooks` hands each ConfirmationRequest (game event 0x0274) to it.
|
||||
- A plugin arms one answer (`ArmConfirmation`); the next matching prompt is answered and the result
|
||||
is readable with `GetLastConfirmation`. Unarmed prompts go to the client as before.
|
||||
- Char menu > Crafting opens RynthAi's Crafting tab.
|
||||
|
||||
## One plugin per server, server verdicts (v86)
|
||||
|
||||
- **Server plugins.** A plugin's manifest can name a server (id, hosts, world names).
|
||||
`PluginManifestGate.SelectServerPlugins` loads only the matching server's plugin; with no match
|
||||
every server plugin loads (fail-open).
|
||||
- **Server verdicts.** The engine decides which servers are active (built-in ILT and Aelrynth, plus
|
||||
every server a plugin declares) and exports them as JSON through `GetServerStateJson`.
|
||||
- **Per-character override.** `ServerForce` / `ServerForceStore` save Auto, On or Off per
|
||||
character; `/rc server <id> auto|on|off` and a server picker in Options > Diagnostics set it.
|
||||
- **Diagnostics server list.** `ServerMenus.Tick` runs every frame, bar or rail, so the list fills
|
||||
in and each server plugin gets its "servermenu" verdict. Server plugins the gate skipped are
|
||||
listed as "installed but not loaded"; forcing one On loads only that plugin on the pump thread
|
||||
(`PluginManager.ServerPlugins.cs`, `UI/Sections/NotLoadedServers.cs`).
|
||||
- **Launcher.** The Server Profile dialog has a known-server picker
|
||||
(`src/RynthCore.App/KnownServerCatalog.cs`).
|
||||
- `IltInfo.Refresh` logs its verdict at Info once per world (`RynthLog.Milestone`).
|
||||
|
||||
## Mini Remote sections
|
||||
|
||||
- `SectionRegistry`, `SectionCatalog` and the sections rail: each section draws the engine panels
|
||||
that belong to it as tabs, then one collapsing group per active server. Plugins add sections
|
||||
through `RynthPluginGetSectionsJson`.
|
||||
- With the rail hidden, the plugin tabs come back in RynthAi's tab bar.
|
||||
- "Char" is now "Session Stats" (the id stays `char`). Character and Charms moved to RynthOracle,
|
||||
Banking to RynthInventory's Global Inventory.
|
||||
- Char menu: Fellowship, and the quests open RynthOracle. The separate Hub launcher is removed
|
||||
(the Mini Remote button, `/rc miniremote` and Char > Mini Remote open the same window).
|
||||
|
||||
## Panels and settings
|
||||
|
||||
- **Items panel:** weapons colored by damage type (UB-ILT palette, `DamageTypeColors`).
|
||||
- **Progression:** one Attributes section; Infinite Leaftide's infinite attributes appear under the
|
||||
retail XP costs when RynthILT reports them.
|
||||
- **Settings and Damage panel:** environment-hit throttle for missile and magic (move closer, new
|
||||
target or off) and per-monster attack power (High, Reckless, Variable, Reckless + Variable, with
|
||||
`VariablePowerMin` / `VariablePowerMax`).
|
||||
- **Session stats:** the luminance total behind luminance per hour is in the status JSON
|
||||
(`luminanceSession`, additive).
|
||||
|
||||
## Security review fixes
|
||||
|
||||
- **A `%` in shown text could crash the client.** `ImGui/SafeImGui.cs` doubles every `%` before
|
||||
ImGui formats it; 246 calls in 39 engine files use it.
|
||||
- **Spoofed server replies.** The engine's own `/mastery-data` and `/mule-data` readers skip player
|
||||
chat types (`Net/ChatOrigin.cs`), and the vault wire needs its marker at the start of the line.
|
||||
- **StatusAgent 1.0.1:** hardening of the status server before it is opened to other PCs.
|
||||
|
||||
## Tests
|
||||
|
||||
- `tools/PluginManifestTests` (236 assertions), `tools/SectionsTests` (148 checks),
|
||||
`tools/ObjectPropertyTests`, `EngineSettingsTests`, `LauncherSettingsTests`, `NetMessageTests`,
|
||||
`StatusAgentTests`: all pass on this commit.
|
||||
Loading…
Reference in a new issue