Snapshot for release 2026.10.13.1 (internal 90a2f4a)
This commit is contained in:
parent
b0f9d74b21
commit
1d86acdf27
218 changed files with 24019 additions and 1517 deletions
45
Changelog/2026-10-11-character-and-server-menus.md
Normal file
45
Changelog/2026-10-11-character-and-server-menus.md
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# Char and Mini Remote menus: Character on top, server plugin windows below
|
||||
|
||||
## What changed
|
||||
|
||||
- **New server-section registry** (`UI/ServerMenus.cs`).
|
||||
- Each server is defined once, with how to detect it and the command that forces it.
|
||||
- Each installed plugin with windows for that server adds its items.
|
||||
- A section shows only while its server is detected or forced, and only when it has at least
|
||||
one item. So it appears exactly when you're on that server with one of its plugins
|
||||
installed.
|
||||
- Infinite Leaftide is registered in `EntryPoint.RegisterServerMenus`:
|
||||
- detection: `IltInfo.IsIlt`;
|
||||
- force: `/rc ilt on`;
|
||||
- with RynthAi installed: the Mini Remote's Character, Quests, Pets, Banking, Gear and Games
|
||||
tabs, Guardian, and Progression;
|
||||
- with RynthILT installed: Bounties.
|
||||
- Items are `/rc` commands, so the engine and RynthAi run the same thing.
|
||||
- The engine pushes the sections to RynthAi as the `"servermenu"` remote command. It sends them
|
||||
whenever they change (checked once a second from the bar's draw) and again every 30 s.
|
||||
- **RynthAi dashboard, Char right-click menu:**
|
||||
- Top, **Character**: Mini Remote, Spells, Skills, Inventory and Item Count.
|
||||
- Bottom: the active server sections (`ServerMenus.DrawImGuiMenu`).
|
||||
- When server plugins are installed but none matches the world, the bottom half shows a note
|
||||
and "Treat this world as <server>".
|
||||
- The menu's fixed list of ILT tabs, Guardian and Progression is replaced by the registry.
|
||||
- **New and extended `/rc` commands:**
|
||||
- `/rc spells [show|hide|toggle]`: RynthAi's Spells window.
|
||||
- `/rc skills [show|hide|toggle]`: the Skills panel.
|
||||
- `/rc progression`: the Skills panel on its Progression tab.
|
||||
- `/rc miniremote tab <tab>`: opens the Mini Remote window on one of RynthAi's tabs.
|
||||
|
||||
## Files
|
||||
|
||||
- `src/RynthCore.Engine/UI/ServerMenus.cs`: new.
|
||||
- `src/RynthCore.Engine/EntryPoint.cs`: `RegisterServerMenus`.
|
||||
- `src/RynthCore.Engine/ImGui/ImGuiBar.cs`: calls `ServerMenus.Tick()` each frame.
|
||||
- `src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs`: the Char menu (`CharMenu`,
|
||||
`PanelMenuItem`) and the launcher tooltip.
|
||||
- `src/RynthCore.Engine/Compatibility/RynthCoreChatCommands.cs`: `/rc spells`, `/rc skills`,
|
||||
`/rc progression` and `/rc miniremote tab`.
|
||||
|
||||
## Testing
|
||||
|
||||
- The engine builds in Release, and ItemHudTests pass.
|
||||
- In-game checks are listed in the matching RynthSuite changelog.
|
||||
46
Changelog/2026-10-11-gametick-chatclient-guard.md
Normal file
46
Changelog/2026-10-11-gametick-chatclient-guard.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Game-tick crash guard (chatclient.dll null read)
|
||||
|
||||
RynthCore.SehTrampoline.dll native version 4 (previous: 3).
|
||||
|
||||
## The crash
|
||||
|
||||
On 2026-10-11 two idle clients died in the same second. Both CoreCLR dumps show the same fault on
|
||||
AC's main thread:
|
||||
|
||||
- AC's `Client::UseTime` called into `chatclient.dll` (Turbine's chat client in the AC folder).
|
||||
Three calls in, a `rep movsd` copy of about 2 MB read from address 0
|
||||
(`chatclient.dll+0x1050`, read of 0x00000000).
|
||||
- Both clients at once, both idle: most likely a bad or oversized message from the chat server.
|
||||
- The fault unwound into the engine's managed `UseTime` detour. CoreCLR treats a native access
|
||||
violation there as an unhandled exception and ends the process, so AC's own handlers never ran.
|
||||
Windows reported the follow-on fault in `coreclr.dll+0x2c27ae`, which is the runtime's fail-fast
|
||||
path, not the cause.
|
||||
- `native-crash.log` had no record: a null read is held back until the process exits normally,
|
||||
and the fail-fast skipped that.
|
||||
|
||||
## The fix
|
||||
|
||||
- `native/SehTrampoline/SehTrampoline.c`: new export `SEH_GameTickThiscall` calls
|
||||
`int __thiscall fn(this)` under `__try`. On an access violation it returns 0 with the faulting
|
||||
address (module-relative), the data address and the module name, and writes a full record
|
||||
(registers and stack sweep) to `native-crash.log`, at most 16 per process.
|
||||
- `Compatibility/GameTickHooks.cs`: AC's original `UseTime` goes through that wrapper when the
|
||||
loaded trampoline is version 4 or later. A caught fault drops that one tick, logs an `[ERR]`
|
||||
line, and returns 1 so AC's game loop keeps running (0 would make AC shut down). After 5 faults
|
||||
within 30 seconds the guard turns itself off for the session, so a client whose state is
|
||||
really broken still ends instead of spinning.
|
||||
- `Compatibility/SehTrampoline.cs`: the P/Invoke, and `NativeVersion` (cached). A running client
|
||||
keeps the trampoline DLL it started with, so a hot-reloaded engine meeting a v3 DLL logs
|
||||
"native AV guard OFF" and calls `UseTime` directly, as before.
|
||||
- `native/SehTrampoline/Build-SehTrampoline.ps1`: `-NoDeploy` builds into `bin\` without
|
||||
copying to the runtime folder.
|
||||
- `scripts/Publish-EngineCoreClr.ps1`: a trampoline DLL held by a running client is now moved
|
||||
aside (`.old-<time>`) like the loader and shim, so new launches get the new one. Before, it
|
||||
was skipped with a warning and every launch stayed on the old version until all clients closed.
|
||||
|
||||
## Tests
|
||||
|
||||
- The engine builds in Release (CoreCLR host).
|
||||
- An x86 harness against the new DLL: a clean call returns its value, a null read is caught and
|
||||
attributed to the right module, and a call after the caught fault works. Version reports 4.
|
||||
- Not yet seen in game: the chat-server fault can't be reproduced on demand.
|
||||
72
Changelog/2026-10-11-inventory-attribute-filter-charms.md
Normal file
72
Changelog/2026-10-11-inventory-attribute-filter-charms.md
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
# Inventory: filter by item attributes; Charms moved to the ILT Mini Remote
|
||||
|
||||
## Inventory attribute filter
|
||||
|
||||
- **New button in the tools row:** a list-check icon between the search box and the sort picker.
|
||||
- In the Modern look it is always visible.
|
||||
- In the Classic look, open the tools row first (the funnel in the title bar).
|
||||
- **The popup editor:**
|
||||
- Filter on/off;
|
||||
- "Keep items matching all rules / any rule";
|
||||
- up to 12 rules, each made of an attribute, an operator and a value;
|
||||
- Add rule, Clear rules, Close.
|
||||
- **Attributes known without an identify:** Name, Value, Burden, Workmanship, Stack size, Material,
|
||||
Fits slot (Head ... Aetheria), Equipped, Casts a spell.
|
||||
- **Attributes that need an identify (marked \*):**
|
||||
- Armor level, Max damage, Speed;
|
||||
- Attack bonus %, Melee / Missile / Magic defense %, Elemental damage %, Mana conversion %;
|
||||
- Damage, Damage resist, Crit, Crit resist, Crit damage, Crit damage resist, Healing boost and
|
||||
Vitality ratings;
|
||||
- Level to wield, Arcane lore, Spellcraft, Max mana, Times tinkered, Max item level;
|
||||
- Armor set (name text), Spells (any spell's name contains the text);
|
||||
- Imbued, Bonded, Attuned, Retained.
|
||||
- **Operators:**
|
||||
- numbers: >=, <=, =, !=;
|
||||
- yes / no flags: yes, no;
|
||||
- text: contains, doesn't contain (case-insensitive);
|
||||
- slot: is, is not.
|
||||
- **Missing values:** an attribute the item doesn't have counts as 0, no, or empty text. For
|
||||
example, "Level to wield <= 150" keeps items with no level requirement.
|
||||
- **Items the server hasn't identified yet:** a rule that needs an identify can't judge them, so
|
||||
they are hidden and counted.
|
||||
- The count appears in the header ("N not ID'd"), the button's tooltip and the popup.
|
||||
- "Identify N" in the popup asks the server about them, 4 a second while the panel is open.
|
||||
"Stop" empties the queue.
|
||||
- Items already identified, or asked about in the last minute, are skipped.
|
||||
- While such a rule is on, the list refreshes once a second so new answers show up.
|
||||
- **Saving and Clear:**
|
||||
- The rules are saved in `%LOCALAPPDATA%\RynthCore\inventory_settings.txt`, on the
|
||||
`attrfilter=` line, when the popup closes.
|
||||
- Clear (closing the Classic tools row) turns the filter off but keeps its rules.
|
||||
- In Classic, the filter only applies while the tools row is open, so nothing is ever hidden
|
||||
without a visible control.
|
||||
- **Behaves like the search and category filters:**
|
||||
- Classic lists matches from all packs;
|
||||
- grid cells stop acting as slots, and drops refuse to reorder;
|
||||
- "Nothing matches." shows when no item matches.
|
||||
|
||||
## Charms
|
||||
|
||||
- Settings > Charms Tracking is removed. It is now the Charms tab in RynthAi's Mini Remote
|
||||
(the matching RynthSuite change). Its poller (`UI/Data/CharmsData.cs`) and its `UiSources` registration are
|
||||
removed.
|
||||
- The ILT server menu (right-click the Mini Remote) gains Charms after Gear. It opens with
|
||||
`/rc miniremote tab charms`.
|
||||
|
||||
## Files
|
||||
|
||||
- `Compatibility/InventoryAttributeFilter.cs` (new): the attributes, operators, matching (Match /
|
||||
NoMatch / Unknown), material and set names, and the saved line. It has no dependencies, so the
|
||||
RynthSuite host tests link it.
|
||||
- `Compatibility/InventoryFilterFacts.cs` (new): an item's values from the panel's item and the
|
||||
appraisal cache (render thread, no AC reads).
|
||||
- `Compatibility/InventoryModel.cs`: the identify queue (`QueueIdentify`, `IdentifyQueueCount`,
|
||||
`ClearIdentifyQueue`), sent on AC's main thread and cleared on a character change.
|
||||
- `ImGui/Panels/InventoryFace.AttrFilter.cs` (new): the button, the popup and the per-item check.
|
||||
- `ImGui/Panels/InventoryFace.cs`, `InventoryFace.Classic.cs`: wiring, `FiltersOn`, and the
|
||||
`attrfilter` setting.
|
||||
- `ImGui/Panels/SettingsFace.cs`, `UI/Data/UiSources.cs`, `UI/Data/CharmsData.cs` (deleted),
|
||||
`EntryPoint.cs`: the Charms move.
|
||||
|
||||
The engine builds in Release. The filter has 5 new host tests in RynthSuite
|
||||
(`InventoryAttributeFilterTests`), and all of them pass. Not yet tested in game.
|
||||
84
Changelog/2026-10-11-inventory-multi-select.md
Normal file
84
Changelog/2026-10-11-inventory-multi-select.md
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
# Inventory: pick several items, then Drop, Give or Move them
|
||||
|
||||
**Date:** 2026-10-11
|
||||
**Area:** Engine (`RynthCore.Engine`), Inventory panel (both looks: Modern and Classic) and
|
||||
`InventoryModel`.
|
||||
|
||||
## What's new
|
||||
|
||||
The Inventory window can select several items and act on all of them at once.
|
||||
|
||||
- **Picking items** (in both looks):
|
||||
- **Click:** selects one item, as before.
|
||||
- **Ctrl+click:** adds an item to the selection, or removes it if it is already selected.
|
||||
- **Shift+click:** selects every item from the last clicked item to this one, in the order the
|
||||
grid shows them. **Ctrl+Shift+click** adds that run to the current selection.
|
||||
- **Right-click > Select all shown:** selects every item the grid shows, meaning the open pack or
|
||||
the search's matches. The menu item shows the count.
|
||||
- **Right-click > Select only this item** returns to a single item.
|
||||
- **Acting on the selection** when more than one item is selected:
|
||||
- The zones read **Drop N** and **Give N: <target>**. Clicking a zone, or dragging any selected
|
||||
item onto it, acts on the whole selection.
|
||||
- Dragging a selected item onto a pack (the pack column, or a pack in the grid) moves the whole
|
||||
selection there. The drag ghost shows the count.
|
||||
- The right-click menu on a selected item shows *N items selected*, then **Drop N items**,
|
||||
**Give N items to <target>** and **Move N items to >** (with a list of your packs).
|
||||
- The status row shows the size of the selection and how to use it.
|
||||
- **Confirmation:** Drop and Give of several items open a confirmation that lists the items by name
|
||||
(for example "Pyreal x3", up to 10 lines). Give adds "Given items can't be taken back." Move
|
||||
starts straight away.
|
||||
- **Progress and Stop:** while the items are sent, the status row shows progress such as
|
||||
*Giving 3 of 12 to Bob*, with a **Stop** button. When the run ends, the status row and the log
|
||||
show a summary such as *Gave 10 of 12 items to Bob; 2 failed (first: …).* or *Stopped: dropped
|
||||
3 of 12 items; 9 not sent.*
|
||||
|
||||
## Behaviour
|
||||
|
||||
- AC still gets one item action at a time. The batch passes each item to the same request path a
|
||||
single click uses, so every item is checked, sent and watched exactly as before, including the
|
||||
wait for AC's action gate. The next item goes only after the previous one has ended (done,
|
||||
refused, gone or timed out), with a short gap of 0.25 s.
|
||||
- The batch keeps running with the Inventory window closed and ends by itself.
|
||||
- Some items are left out of a run, and the confirmation or the status row says how many and why:
|
||||
- Worn and wielded items.
|
||||
- Packs and foci sent to a side pack (they only fit in the main pack).
|
||||
- Items that have already left the inventory.
|
||||
- Items already in the target pack are skipped quietly, as a single item's drop on its own pack
|
||||
is. A group dropped back onto its own pack does nothing.
|
||||
- A Give stops early, and counts the remaining items as failed, if the target disappears or you
|
||||
leave the world.
|
||||
- At most 400 items per run.
|
||||
- While a run is going, single item actions (Use, Split, Equip and so on) are refused with
|
||||
"Several items are being sent; wait, or press Stop." A run can't start while a single action is
|
||||
still waiting.
|
||||
- Items that leave the inventory (given, dropped or merged) drop out of the selection
|
||||
automatically.
|
||||
- A plain click on one item of a selection keeps the selection if you drag, and narrows it to that
|
||||
item if you release without dragging, as in Windows Explorer.
|
||||
- No keyboard shortcuts were added (such as Ctrl+A or Delete). Keys may belong to AC, so selection
|
||||
uses mouse modifiers only.
|
||||
|
||||
## Files
|
||||
|
||||
- `src/RynthCore.Engine/ImGui/Panels/InventorySelection.cs` (new): the selection itself (ids, picked
|
||||
order, anchor, ranges, select all, prune). It has no engine state, so it is unit-tested.
|
||||
- `src/RynthCore.Engine/ImGui/Panels/InventoryFace.MultiSelect.cs` (new): clicks, group actions,
|
||||
the confirmation, labels, the group menu, the status row's progress and Stop button, and the
|
||||
drag badge.
|
||||
- `src/RynthCore.Engine/Compatibility/InventoryModel.Batch.cs` (new): `RequestBatch`,
|
||||
`CancelBatch`, `Batch` and `BatchRunning`, plus the main-thread runner that feeds items one at a
|
||||
time.
|
||||
- `src/RynthCore.Engine/Compatibility/InventoryModel.cs`: the model is now a partial class. Single
|
||||
requests are refused during a run, and the tick drives the runner even with the panel closed.
|
||||
- `src/RynthCore.Engine/ImGui/Panels/InventoryFace.cs` and `InventoryFace.Classic.cs`: grid clicks,
|
||||
selection highlight, zone labels, drag release, context menu and status row now use the
|
||||
selection.
|
||||
- `tools/InventorySelectionTests` (new): 42 checks covering click, Ctrl+click, Shift and Ctrl+Shift
|
||||
runs in both directions, a missing anchor, select all, prune and id 0.
|
||||
Run with `dotnet run -c Release`.
|
||||
|
||||
## Verification
|
||||
|
||||
- `dotnet build -c Release` for the engine: no errors and no new warnings.
|
||||
- `tools/InventorySelectionTests`: 42/42 checks passed.
|
||||
- Not yet tested in game.
|
||||
16
Changelog/2026-10-11-items-remove-missing.md
Normal file
16
Changelog/2026-10-11-items-remove-missing.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Items panel: Remove Missing button
|
||||
|
||||
## What changed
|
||||
|
||||
- `ImGui/Panels/ItemsFace.cs`: a "Remove Missing" button at the top of the Items panel, above the
|
||||
lists (which can run long), with a tooltip. `AddSelected` takes an optional tooltip.
|
||||
- `UI/Data/ItemsData.cs`: `ItemsCommands.CleanMissing()` calls RynthAi's `RynthPluginCleanItems`
|
||||
export, then refreshes the panel.
|
||||
- What RynthAi does when the button is clicked:
|
||||
- removes listed weapons and consumables that are no longer in your inventory;
|
||||
- re-points an entry at an unlisted item of the same name, when your pack has one;
|
||||
- does nothing while your inventory is still loading;
|
||||
- reports in chat what it removed and re-pointed.
|
||||
- With a RynthAi that lacks `RynthPluginCleanItems`, the click is logged and nothing happens.
|
||||
|
||||
The engine builds in Release. Not yet tested in game.
|
||||
47
Changelog/2026-10-11-mini-remote-ilt-tabs-guardian.md
Normal file
47
Changelog/2026-10-11-mini-remote-ilt-tabs-guardian.md
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Mini Remote gets the ILT tabs; Guardian moves under the ILT button
|
||||
|
||||
## What changed
|
||||
|
||||
- **The Mini Remote window hosts the ILT Hub's sections as tabs.** RynthAi draws them on its
|
||||
`"miniremote-window"` surface: Remote, then on ILT worlds Character, Quests, Pets, Banking, Gear
|
||||
and Games. The window already fits itself to the size the plugin asks for, so it refits when the
|
||||
tab changes.
|
||||
- **New Guardian panel** (`GuardianFace`) in the ILT section.
|
||||
- It hosts RynthAi's Temple guardian tools through the new embed surface `"guardian"`.
|
||||
- It is registered when `RynthCore.Plugin.RynthAi.dll` is installed.
|
||||
- Like Bounties, it has no bar button of its own. The bar's ILT button lists it, on Infinite
|
||||
Leaftide only. With Bounties and Guardian both present, the ILT button opens a menu.
|
||||
- The panel is user-sized (540x520 by default), and the plugin fills its body.
|
||||
- Until RynthAi can draw it, the body says why: not loaded, not logged in, or the embed failed.
|
||||
- **`/rc guardian [show|hide|toggle]`** is new. **`/rc bounties`** and **`/rc miniremote`** now
|
||||
take `show|hide|toggle` too; with no argument they toggle, as before. RynthAi uses these to open
|
||||
the panels from `/ra guardian window` and `/ra bounty`.
|
||||
- **`/rc ilt`** also reports whether RynthAi's Guardian panel and ILT tabs are available.
|
||||
- **RynthAi dashboard, Char launcher.**
|
||||
- Left-click opens the Mini Remote window on its Character tab.
|
||||
- Right-click lists the Mini Remote, its six ILT tabs, Guardian (when registered) and
|
||||
Progression. The old "Mini Remote (ILT Hub)" entry and the per-section windows are gone.
|
||||
- **Wording.**
|
||||
- Settings > trace categories: "ILT Hub on" is now "ILT on".
|
||||
- The Mini Remote drawer tooltip now points to the window's ILT tabs.
|
||||
- The Skills panel's Progression message now says "ILT features".
|
||||
|
||||
## Files
|
||||
|
||||
- `src/RynthCore.Engine/ImGui/Panels/GuardianFace.cs`: new.
|
||||
- `src/RynthCore.Engine/EntryPoint.cs`: registers `GuardianFace` with RynthAi.
|
||||
- `src/RynthCore.Engine/ImGui/ImGuiBar.cs`: `IltPanels` now includes Guardian.
|
||||
- `src/RynthCore.Engine/Compatibility/RynthCoreChatCommands.cs`:
|
||||
- `/rc bounties|guardian|miniremote [show|hide|toggle]`;
|
||||
- the helpers `TryPanelMode`, `SetPanelOpen` and `IltPanel`;
|
||||
- the extra `/rc ilt` line.
|
||||
- `src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs`: the Char launcher and menu
|
||||
(`ShowMiniRemoteTab`).
|
||||
- `src/RynthCore.Engine/ImGui/Panels/RynthAiFace.Drawers.cs`, `SettingsFace.cs`,
|
||||
`SkillsFace.Progression.cs` and `MiniRemoteFace.cs`: wording and comments.
|
||||
|
||||
## Testing
|
||||
|
||||
- ItemHudTests: 63 assertions pass.
|
||||
- Engine and plugin both build in Release.
|
||||
- In-game checks are listed in the matching RynthSuite changelog.
|
||||
40
Changelog/2026-10-11-mini-remote-merge.md
Normal file
40
Changelog/2026-10-11-mini-remote-merge.md
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Mini Remote: one window, resizable quick-launch boxes
|
||||
|
||||
## What changed
|
||||
|
||||
RynthCore's "Mini Remote" window and RynthAi's floating "MINI REMOTE" are merged into one window.
|
||||
|
||||
- **`MiniRemoteFace` hosts RynthAi's Mini Remote** through the new plugin embed surface
|
||||
`"miniremote-window"`. That covers stats, target, pet, item slots, toggles, bank, rebuff,
|
||||
translate and the guardian answer, with RynthAi's own Options menu.
|
||||
- The window fits itself to the size the plugin asks for (`FitWindow`, capped to the screen
|
||||
height; popped-out windows are left alone).
|
||||
- RynthAi hides its floating copy while this window shows it.
|
||||
- Without RynthAi, or when its embed fails, the window falls back to the engine's own slot grid
|
||||
(per-character `item_huds.txt` slots, More/Fewer slots, drag-and-drop), as before.
|
||||
- **Grow and shrink the quick-launch boxes** in the fallback grid:
|
||||
- Ctrl+mouse wheel over the grid changes the box size by 4 px per notch.
|
||||
- The right-click menu has "Bigger boxes (N px now)", "Smaller boxes" and "Default box size".
|
||||
- Saved per character in `item_huds.txt` as `slotsize=<px>` (24-72, default 36). The line is
|
||||
written only when the size isn't the default, so existing files don't change.
|
||||
- RynthAi's hosted grid has its own size control: Ctrl+wheel, or Options > Slot size.
|
||||
- **Hub launcher** on the RynthAi dashboard: left-click now toggles this Mini Remote window instead
|
||||
of RynthAi's floating one. Right-click still opens the Mini Remote drawer, or the window when
|
||||
the dashboard is popped out.
|
||||
|
||||
## Files
|
||||
|
||||
- `src/RynthCore.Engine/ImGui/Panels/MiniRemoteFace.cs`: rewritten to host the plugin, with the
|
||||
fallback grid, the box size controls and the window fit.
|
||||
- `src/RynthCore.Engine/UI/Data/ItemHudModel.cs`: `ItemHudCharacter.SlotSize`, `WithSlotSize`,
|
||||
and parsing and writing `slotsize=`.
|
||||
- `src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs`: the Hub launcher opens the Mini Remote window.
|
||||
- `tools/ItemHudTests/Program.cs`: new `SlotSizes` case covering clamping, edits, round-trip,
|
||||
default not written, and bad values.
|
||||
|
||||
Works best with the matching RynthAi change. An older plugin doesn't know `"miniremote-window"`, so
|
||||
the window shows the engine grid instead.
|
||||
|
||||
## Tests
|
||||
|
||||
- ItemHudTests: PASS (63 assertions).
|
||||
19
Changelog/2026-10-11-nav-closest-waypoint-setting.md
Normal file
19
Changelog/2026-10-11-nav-closest-waypoint-setting.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Settings: Navigation > Getting Back On Route > Go To Closest Waypoint
|
||||
|
||||
## What changed
|
||||
|
||||
- `UI/Data/SettingsData.cs`:
|
||||
- new `NavResumeNearest` property (default true);
|
||||
- new "Getting Back On Route" section on the Navigation page, with a "Go To Closest Waypoint"
|
||||
checkbox.
|
||||
- With the option on, RynthAi:
|
||||
- heads for the closest waypoint on the route at macro start, when a Circular or Linear route
|
||||
loads, and when nav takes over again after a fight, loot, buff or door that moved the
|
||||
character 10 yd or more;
|
||||
- skips a waypoint the character has already walked past.
|
||||
- With the option off, nav carries on to the waypoint it was heading for, and a loaded route
|
||||
starts at its first point.
|
||||
- An older RynthAi ignores the new field. The matching RynthAi keeps its own value when an older
|
||||
engine doesn't send it.
|
||||
|
||||
Not yet tested in game.
|
||||
43
Changelog/2026-10-11-popout-embed-crash.md
Normal file
43
Changelog/2026-10-11-popout-embed-crash.md
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# Fix: a popped-out Mini Remote or Guardian crashed the client
|
||||
|
||||
Follows the menu changes (`2026-10-11-character-and-server-menus.md`). Pairs with the RynthSuite
|
||||
change that draws `:popout` surfaces in the current context.
|
||||
|
||||
## The crash
|
||||
|
||||
Four crashes on 2026-10-11 had the same stack:
|
||||
|
||||
```
|
||||
EndSceneDetour -> EngineFrameController.OnEndScene -> ImGuiPopOuts.RenderAll
|
||||
-> ImGuiPanelHost.DrawPopped -> MiniRemoteFace.Draw -> DrawRynthAi
|
||||
-> PluginManager.RenderEmbed -> (RynthAi) -> access violation in coreclr
|
||||
```
|
||||
|
||||
- `ImGuiPopOuts` gives every popped-out panel its own ImGui context.
|
||||
- `PluginManager.RenderEmbed` called RynthAi from inside it. RynthAi then switched
|
||||
to the main context, which isn't mid-frame there, and faulted.
|
||||
- An access violation isn't an exception `RenderEmbed`'s try/catch can stop, so the client died.
|
||||
- The "MAIN THREAD HANG DETECTED" line before each exit was the runtime writing the 700 MB crash
|
||||
dump.
|
||||
|
||||
## Fix
|
||||
|
||||
- `PluginManager.RenderEmbed` checks the current ImGui context. When it isn't the one plugins
|
||||
were given (a pop-out), the surface goes out as `name:popout`.
|
||||
- RynthAi with the matching RynthSuite change draws it in the current context.
|
||||
- Older plugins don't know the name and decline. The Mini Remote then shows the engine's own
|
||||
slot grid, and the Guardian panel its "not ready" state, instead of crashing.
|
||||
- This covers every embedded surface: the Mini Remote window, the RynthAi dashboard's Mini Remote
|
||||
drawer, and the Guardian panel.
|
||||
- It also returns "not ready" when no ImGui context is current.
|
||||
|
||||
## Files
|
||||
|
||||
- `src/RynthCore.Engine/Plugins/PluginManager.cs`: `RenderEmbed` (context check and the
|
||||
`:popout` name), with the export call moved to `RenderEmbedCore`.
|
||||
- `src/RynthCore.Engine/ImGui/Panels/MiniRemoteFace.cs`: header note on the fallback.
|
||||
|
||||
## Testing
|
||||
|
||||
- The engine builds in Release, and ItemHudTests pass.
|
||||
- Not yet checked in game: the popped-out Mini Remote, with a current and with an older RynthAi.
|
||||
20
Changelog/2026-10-11-recall-on-death-setting.md
Normal file
20
Changelog/2026-10-11-recall-on-death-setting.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Settings: On Death > Recall On Death
|
||||
|
||||
## What changed
|
||||
|
||||
- `UI/Data/SettingsData.cs`:
|
||||
- new properties `DeathRecallMode` (0 off, 1 spell, 2 item), `DeathRecallSpellId` (default 48,
|
||||
Primary Portal Recall) and `DeathRecallItem`;
|
||||
- a new "On Death" section after Safety Stops, with three rows:
|
||||
- "Recall On Death": Off, Cast a recall spell, or Use a recall item;
|
||||
- "Recall Spell": the nav editor's recall spells (`NavCommands.RecallIds`), shown only for
|
||||
the spell choice;
|
||||
- "Recall Item": the item name, shown only for the item choice.
|
||||
- The spell names fill in from the client's spell table as it loads; until then they show as
|
||||
"Spell N (N)".
|
||||
- What RynthAi does with it: after a death while the macro runs, once respawned, it casts the
|
||||
recall or uses the item, retries a fizzle, then rejoins the nav route and starts Travel Back To
|
||||
My Corpse from the landing spot.
|
||||
- An older RynthAi ignores the new fields.
|
||||
|
||||
The engine builds in Release. Not yet tested in game.
|
||||
90
Changelog/2026-10-11-sk-engine-work-through-10-10.md
Normal file
90
Changelog/2026-10-11-sk-engine-work-through-10-10.md
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
# SK engine and UI work through 2026-10-10, rebased on 2026.10.12.1
|
||||
|
||||
Replaces the closed per-feature PRs RynthCore #1-#5 and the earlier `sk` commits. This commit
|
||||
carries everything from those PRs that main doesn't already have, merged onto release 2026.10.12.1
|
||||
with the conflicts resolved. Work from 2026-10-11 follows in separate commits.
|
||||
|
||||
Nothing here changes what 2026.10.12.1 already does unless a setting below says so.
|
||||
|
||||
## Merge notes for 2026.10.12.1
|
||||
|
||||
- **API v81:** 2026.10.12.1 took v80 for `GetContainerOrder` and `PutItemInContainer`, so
|
||||
`GetMergeStackResult` moves to v81, after them (engine table, SDK table,
|
||||
`RynthCoreSdkApiVersion`, `HasGetMergeStackResult`, and the manifest test's slot order).
|
||||
Plugins built against the earlier SK SDK must be rebuilt.
|
||||
- **Chat routing:** `ChatRouter` now lives in `UI/Data/ChatRouting.cs`. The standard-filter step
|
||||
(`RynthChatPresets`) is added there instead of in `ChatData.cs`.
|
||||
- **Settings:** `LoggingLevel` and `EnablePluginOverlayWindows` sit next to the new
|
||||
`CloseOnServerDisconnect`; the Items payload keeps both `missingIds` and `autoEquipShield`.
|
||||
|
||||
## Launcher and logging
|
||||
|
||||
- **Logging level** in the launcher (Error, Warning, Info, Debug, Trace), saved as `LoggingLevel`
|
||||
in `engine.json`. The engine reads it at start and watches it while running
|
||||
(`LogSettings`, `LoggingSettingsStore`, `MainWindow.Logging`). Per-category trace switches are
|
||||
shown with a warning when a category is hidden by the level.
|
||||
- The heartbeat line is always written, whatever the level, because the launcher uses it to tell
|
||||
a client is alive (`RynthLog.Heartbeat`).
|
||||
- `RynthCore.DesktopLog` (new project): rolling launcher log and the .NET desktop x64 prerequisite
|
||||
check, with host diagnostics in the launcher (`LauncherHostDiagnostics`).
|
||||
- Install-aware paths: the launcher, injector, loader and status agent find the install folder the
|
||||
installer recorded (`InstallerHandoff`, `LogPaths`) instead of assuming `C:\Games\RynthCore`.
|
||||
|
||||
## Plugin windows and ImGui
|
||||
|
||||
- **Plugin overlay windows** while the ImGui shell is off: a plugin that exports
|
||||
`RynthPluginRenderOverlay` draws its extra ImGui windows over the Avalonia UI.
|
||||
`engine.json` `"EnablePluginOverlayWindows": false` turns this off. Plugins get the engine's
|
||||
ImGui context for these windows.
|
||||
- ImGui draw data is submitted after the Avalonia blit, so ImGui windows stay on top.
|
||||
- Panel windows are destroyed on the thread that owns them, and a login pop-out waits until the
|
||||
game window is hooked.
|
||||
- Docked panels open clear of popped-out windows (`LayeredWindow`).
|
||||
- `CS0162` (unreachable code) is an error in the engine project: a misplaced statement after a
|
||||
`return` once left the plugin render snapshot unpublished.
|
||||
|
||||
## Items, drag and drop, object data
|
||||
|
||||
- **Item drag bridge** (`ItemDragBridge`, `DragDropHooks`): items dragged from the game or from a
|
||||
popped-out Inventory can be dropped on Mini Remote slots. Game-inventory drags carry the dragged
|
||||
item, not the previous selection.
|
||||
- Object name and type are seeded when the object is created, so panels show them before the
|
||||
first update (`CreateObjectHooks`, `DeleteObjectHooks`).
|
||||
- Off-thread int property reads are snapshotted from the PWD and kept current with server
|
||||
updates (`ClientObjectHooks`); IconOverlay and IconUnderlay DIDs are served from the PWD.
|
||||
- **Merge-stack results** (API v81, `GetMergeStackResult`, after rynth's v80 slots): plugins can see whether a stack merge
|
||||
went through (`MergeStackResults`). The thunk is cdecl; stdcall corrupted plugin stacks.
|
||||
|
||||
## Native crash logging
|
||||
|
||||
- `SehTrampoline.c`: the native crash logger records only fatal faults by default, and logs
|
||||
access violations in the CoreCLR-hosted engine immediately rather than at exit.
|
||||
|
||||
## Panels
|
||||
|
||||
- **Nav:** route editing in the Nav panel, Breadcrumbs and Route overlay toggles,
|
||||
and the waypoint list no longer jumps back to the top on every poll.
|
||||
- **Skills > Progression tab:** XP and augmentation planning laid out like UB's ILT Tools XP and
|
||||
Augs tabs, an attribute raiser, and per-server augmentation cost settings
|
||||
(`ProgressionData`). The Char launcher has a menu that opens it.
|
||||
- **Chat filters:** UB-IT-style standard filters, plain-text custom rule modes, a line tester, and
|
||||
presets (`RynthChatPresets`).
|
||||
- **RynthAi dashboard:** Char and Hub launcher buttons, Map and Lua buttons, a Mini Remote drawer,
|
||||
a Buffs picker in Loaded Files and a Spells window button.
|
||||
- **Items panel (Avalonia):** Shields section and Add Selected Shield.
|
||||
- **Inventory:** a menu item that adds an item to RynthAi's item count HUD.
|
||||
- **Settings:** Charms Tracking tab, an Inventory HUDs button, the Server Features text row, and
|
||||
one "Describe Items When Selected" toggle (the duplicate "Item Info On Select" row is removed).
|
||||
- **Loot:** "Include T11 attributes" in the Add to loot profile popup, with a tooltip that covers
|
||||
the stamped tier and gear grade.
|
||||
|
||||
## Build
|
||||
|
||||
- `RynthCore.sln` includes `RynthCore.DesktopLog`.
|
||||
- One `Tmds.DBus.Protocol` 0.21.3 pin in the engine project (GHSA-xrw6-gwf8-vvr9).
|
||||
|
||||
## Testing
|
||||
|
||||
- Engine (CoreCLR host) and launcher build in Release.
|
||||
- `tools/PluginManifestTests` pass.
|
||||
- Each feature was run in game on the SK builds of 2026-10-04 to 2026-10-10.
|
||||
44
Changelog/2026-10-11-tracker-lum5m-passup.md
Normal file
44
Changelog/2026-10-11-tracker-lum5m-passup.md
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Tracker panel: Lum/5m and pass-up rows
|
||||
|
||||
Pairs with RynthTracker 0.4.0 in RynthSuite.
|
||||
|
||||
## What changed
|
||||
|
||||
RynthTracker and RynthAi's Mini Remote now share one session-stats engine (RynthSuite
|
||||
`Plugins/Shared/SessionStats.cs`), so the Tracker panel and the Mini Remote count XP, luminance and
|
||||
kills the same way. The Tracker panel shows the new figures:
|
||||
|
||||
- **Lum/5m:** luminance earned in the last five minutes. It shows when RynthTracker sends it
|
||||
(0.4.0 and later), so an older RynthTracker still gets the old rows.
|
||||
- **Pass/hr and Pass-up:** allegiance pass-up luminance per hour and for the session. These rows
|
||||
appear only where RynthTracker can tell pass-up apart, which is on ACECustom, where the bank
|
||||
luminance is read. Fellowship and Zone Share splits arrive the same silent way and are included;
|
||||
the label tooltip says so.
|
||||
- **Row order:**
|
||||
1. Session
|
||||
2. XP/hr
|
||||
3. Lum/hr
|
||||
4. Lum/5m
|
||||
5. [Pass/hr]
|
||||
6. [Rad/hr]
|
||||
7. Kls/hr
|
||||
8. XP
|
||||
9. Lum
|
||||
10. [Pass-up]
|
||||
11. [Rad]
|
||||
12. Kills
|
||||
13. XP/kl
|
||||
14. Deaths
|
||||
|
||||
Rows in brackets appear only on some servers.
|
||||
|
||||
## Files
|
||||
|
||||
- `src/RynthCore.Engine/UI/Data/PanelSources.cs`: `TrackerSource` reads `l5`, `pk`, `ph` and `pt`;
|
||||
`TrackerSnapshot.DefaultLabels` includes Lum/5m.
|
||||
- `src/RynthCore.Engine/ImGui/Panels/P1Faces.cs`: tooltips on the Lum/5m and pass-up labels.
|
||||
|
||||
## Testing
|
||||
|
||||
- The engine builds in Release, and ItemHudTests pass (63 assertions).
|
||||
- Not yet checked in game.
|
||||
29
Changelog/2026-10-11-universal-quests-pets.md
Normal file
29
Changelog/2026-10-11-universal-quests-pets.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Char menu: Quests and Pets under Character; "Server: <name>" for the server section
|
||||
|
||||
## What changed
|
||||
|
||||
- **Quests and Pets are universal.** RynthAi's Mini Remote shows those tabs on every server, so
|
||||
they moved:
|
||||
- into the Char right-click menu's **Character** half, after Spells. They open the Mini Remote
|
||||
window on that tab (`/rc miniremote tab quests|pets`);
|
||||
- out of the Infinite Leaftide server registration (`EntryPoint.RegisterServerMenus`).
|
||||
- **Guardian stays ILT only**, in the server section, together with:
|
||||
- the Character, Banking, Gear and Games tabs;
|
||||
- Bounties (RynthILT);
|
||||
- Progression.
|
||||
- **Server section header:** each active section is now titled "Server: <name>", e.g. "Server:
|
||||
Infinite Leaftide" (`ServerMenus.DrawImGuiMenu`). RynthAi's Mini Remote menu uses the same
|
||||
header.
|
||||
- **Char launcher tooltip** now lists Quests and Pets.
|
||||
|
||||
## Files
|
||||
|
||||
- `src/RynthCore.Engine/EntryPoint.cs`: the ILT tab list without Quests and Pets.
|
||||
- `src/RynthCore.Engine/UI/ServerMenus.cs`: the "Server: " header.
|
||||
- `src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs`: Quests and Pets in `CharMenu`; the
|
||||
tooltip; the `ShowMiniRemoteTab` doc.
|
||||
|
||||
## Testing
|
||||
|
||||
- The engine builds in Release, and ItemHudTests pass.
|
||||
- Not yet checked in game.
|
||||
19
Changelog/2026-10-12-dungeon-patrol-settings.md
Normal file
19
Changelog/2026-10-12-dungeon-patrol-settings.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Settings: Navigation > Dungeon Patrol
|
||||
|
||||
## What changed
|
||||
|
||||
- `UI/Data/SettingsData.cs`: new `DunPatrol*` properties and a "Dungeon Patrol" section on the
|
||||
Navigation page:
|
||||
- Coverage (combo): Whole dungeon (default) / Loops only / Everything;
|
||||
- Skip Dead Ends Up To (cells), 0-10, default 3 (hidden for Everything);
|
||||
- Avoid Lava/Acid Floors, default on;
|
||||
- Distance From Walls (yd), 0.5-2, default 1;
|
||||
- Walk Into Rooms From (yd), 3-40, default 10;
|
||||
- a note that changing them rebuilds a running patrol.
|
||||
- RynthAi (RynthSuite feature/patrol-settings) builds the dungeon patrol with them and rebuilds a
|
||||
running patrol, without stopping the macro, once a change has been still for 1 s. The defaults
|
||||
are the patrol as it was before.
|
||||
- An older RynthAi ignores the new fields; the matching RynthAi keeps its own values when an older
|
||||
engine doesn't send them.
|
||||
|
||||
Not yet tested in game.
|
||||
74
Changelog/2026-10-13-characters-panel.md
Normal file
74
Changelog/2026-10-13-characters-panel.md
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
# Characters panel: your other RynthCore clients, with vitals and distance
|
||||
|
||||
UtilityBelt's networked character window, as an ImGui panel. It reads the RynthNet plugin's snapshot,
|
||||
so it shows the other clients on this PC that run RynthNet.
|
||||
|
||||
## What changed
|
||||
|
||||
- **New panel: Characters.** Open it from its bar button (three people icon), the dashboard's Char
|
||||
menu, or `/rc characters` (alias `/rc chars`). It exists only when RynthNet is installed.
|
||||
- **Rows.** This client comes first, dimmed. The others follow in alphabetical order, which stays
|
||||
stable as characters move: a distance order would reshuffle several times a second for characters
|
||||
standing together. Each row shows:
|
||||
- an arrow pointing to the character, turned to where you face;
|
||||
- the name, plus its server when that isn't yours;
|
||||
- what it is doing: botting (fighting, navigating, ...), idle, idle in a combat stance, dead,
|
||||
portal space, or no status yet;
|
||||
- a warning when its status is more than 5 s old (a frozen client);
|
||||
- distance in yards and a compass point (N, NE, ...);
|
||||
- health, stamina and mana bars with current/max;
|
||||
- where it is: map coordinates, or the dungeon's name from the Atlas.
|
||||
- **Distance rules** (Sense's): a distance shows when you are both outdoors (or in surface
|
||||
buildings), or both in the same dungeon landblock. Otherwise the row says "elsewhere" and gives
|
||||
the dungeon name or the coordinates. A character on another server shows only its server.
|
||||
- A character this client can see is placed by its object position, which is fresher than its
|
||||
status.
|
||||
- **Click** a row to select that character in game when this client can see it. This needs
|
||||
RynthNet 0.1.1 on that client, for the object id.
|
||||
- **Right-click** a row for commands, sent as `/rn tell <name>, <command>`:
|
||||
- Follow me (`/ra follow <you>`);
|
||||
- Stop following (`/ra follow off`);
|
||||
- Start macro (`/ra start`);
|
||||
- Stop macro (`/ra stop`);
|
||||
- Everyone: follow me (`/rn followme`).
|
||||
|
||||
The other client's RynthNet remote setting (`/rn remote`) decides whether they run. A refusal
|
||||
comes back as a chat line.
|
||||
- The top line says how many characters there are, or why there are none (RynthNet not loaded or
|
||||
offline). It also has an "everyone follow me" button and a help tooltip.
|
||||
- The panel refreshes twice a second while it is open. It works docked and popped out, and follows
|
||||
the panel text size.
|
||||
|
||||
## Files
|
||||
|
||||
- `UI/Data/CharactersModel.cs` (new): snapshot parsing, distance, compass, location, state text
|
||||
and row order. It has no engine dependencies, so the tests compile it in.
|
||||
- `UI/Data/CharactersData.cs` (new): `CharactersSource` (2 Hz, RynthNet's
|
||||
`RynthPluginGetSnapshotJson`, plus this client's pose, vitals and object table) and
|
||||
`CharactersCommands` (`RynthPluginApplyRemoteCommand("rn", ...)`).
|
||||
- `ImGui/Panels/CharactersFace.cs` (new): the face.
|
||||
- `UI/Data/RynthNavAtlasData.cs`: `IsMapLandblock`. An indoor cell in a landblock with Atlas
|
||||
surface places counts as a building, not a dungeon.
|
||||
- Wiring: `UiSources.cs`, `EntryPoint.cs` (registered when `RynthCore.Plugin.RynthNet.dll` is
|
||||
installed), `ImGuiBar.cs` (button and icon), `RynthAiFace.cs` (Char menu),
|
||||
`RynthCoreChatCommands.cs` (`/rc characters`).
|
||||
|
||||
Pairs with RynthSuite `feature/characters-panel` (RynthNet 0.1.1, which adds `id` and `cmode` to
|
||||
the shared status). Older RynthNet clients still show up. They just can't be selected by a click,
|
||||
and show no combat stance.
|
||||
|
||||
## Tests
|
||||
|
||||
`tools/CharactersPanelTests`: 84 checks, all passing. They cover:
|
||||
|
||||
- parsing the current snapshot and older entries (no id/cmode, no bot, null status, character
|
||||
select, wrong types);
|
||||
- bad JSON;
|
||||
- distance and compass within a landblock and across landblocks;
|
||||
- the dungeon rules, surface buildings and the coordinates text;
|
||||
- the state text, the stale marker and the stable order.
|
||||
|
||||
An offscreen render with fake characters checked the layout at text sizes 0 and 3, a narrow window,
|
||||
the tooltip and the menu.
|
||||
|
||||
Not yet tested in game.
|
||||
Loading…
Reference in a new issue