diff --git a/Changelog/2026-10-13-ilt-section-rynthilt.md b/Changelog/2026-10-13-ilt-section-rynthilt.md
new file mode 100644
index 0000000..7d27ed2
--- /dev/null
+++ b/Changelog/2026-10-13-ilt-section-rynthilt.md
@@ -0,0 +1,34 @@
+# ILT section: everything reads RynthILT
+
+Pairs with RynthSuite `refactor/ilt-into-plugin` (the ILT Hub moved from RynthAi into the RynthILT
+plugin).
+
+## What changed
+
+- The Guardian panel draws RynthILT's "guardian" surface and is registered with RynthILT
+ installed (an older RynthAi still answers when RynthILT has none).
+- The Skills panel's Progression tab reads `RynthILTGetProgressionJson` and sends its edits as
+ `prog ...` through `RynthILTCommand` (an older RynthAi's export and remote command stay the
+ fallback).
+- `UI/Data/IltData.cs` asks RynthILT once a second (`RynthILTGetStatusJson`). The bar's ILT button
+ and the ILT server menu need RynthILT loaded, and RynthILT's own verdict (its server list, or a
+ character's "Treat this world as ILT") counts as Infinite Leaftide next to the host and
+ world-name detection.
+- Server menus: the Mini Remote's ILT tabs need RynthAi and RynthILT; Guardian, Bounties and
+ Progression need RynthILT.
+- Settings: the RynthAi "Server Features (ILT)" rows and the trace "ILT on" button are gone
+ (RynthILT's Character tab, `/ra hub servers`, `/ilt trace`).
+- Hotkeys (Settings > Hotkeys, `/rc hotkey`, from 2026.10.13.1): "Open/close Bounties" and
+ "Open/close Guardian" (Infinite Leaftide) are listed, typed and run only where the bar shows
+ its ILT button (Infinite Leaftide with RynthILT loaded); elsewhere a saved one says why and
+ does nothing (it can still close a panel left open).
+- The update feed describes RynthILT as the ILT Hub, Guardian, bounties and progression
+ (`installer/Publish-Update.ps1`, which already ships it).
+- No plugin API change.
+
+## Tests
+
+- `tools/IltTests`: RynthILT's verdict (`IltDetect.ParsePluginStatus`, `IltDetect.Combine`).
+- `tools/HotkeyTests`: the ILT panels are offered only on ILT (`IltPanelsOnlyOnIlt`).
+
+Not yet tested in game.
diff --git a/installer/Publish-Update.ps1 b/installer/Publish-Update.ps1
index e08a910..e124ea3 100644
--- a/installer/Publish-Update.ps1
+++ b/installer/Publish-Update.ps1
@@ -181,7 +181,7 @@ Extract this zip into C:\Games - it creates:
C:\Games\RynthSuite\RynthOracle\ RynthOracle plugin (quests, character, titles; based on Oracle of Dereth by Advis Eveldan)
C:\Games\RynthSuite\RynthInventory\ RynthInventory plugin (search every character's items)
C:\Games\RynthSuite\RynthSort\ RynthSort plugin (keeps your packs sorted; replaces the RynthSort Lua script)
- C:\Games\RynthSuite\RynthILT\ RynthILT plugin (Infinite Leaftide only: the Bounties window's tracker)
+ C:\Games\RynthSuite\RynthILT\ RynthILT plugin (Infinite Leaftide only: the ILT Hub, Guardian, bounties, progression)
C:\Games\RynthSuite\RynthThreads\ RynthThreads plugin (DreamWeave only: Fragment Press results, what each component brings)
C:\Games\RynthSuite\RynthNet\ RynthNet plugin (links your clients on this PC: /ub bc, shared vitals, the Characters panel)
C:\Games\RynthCore\NavData\ RynthNav's portals and Atlas
@@ -271,7 +271,7 @@ $pluginDescriptions = @{
RynthOracle = "Quests, character, titles and leaderboards."
RynthInventory = "Search every character's items."
RynthSort = "Keeps your packs sorted: new loot goes to the pack its rule names."
- RynthILT = "Infinite Leaftide only: tracks your ACECustom bounties for the Bounties window."
+ RynthILT = "Infinite Leaftide only: the ILT Hub (the Mini Remote's banking, gear, charms and games tabs), the Guardian, bounty tracking and progression planning."
RynthThreads = "DreamWeave only: records Fragment Press results and works out what each component brings."
RynthNet = "Links your characters on this PC: broadcast commands (/ub bc), shared vitals and the Characters panel."
}
diff --git a/src/RynthCore.Engine/Compatibility/IltDetect.cs b/src/RynthCore.Engine/Compatibility/IltDetect.cs
index bbb211d..e77bac9 100644
--- a/src/RynthCore.Engine/Compatibility/IltDetect.cs
+++ b/src/RynthCore.Engine/Compatibility/IltDetect.cs
@@ -14,6 +14,9 @@
// name UtilityBelt's Leaftide tools and SilentKelpie's ILT Hub check for),
// or anything with "Leaftide" in it.
// Both lists can be replaced in engine.json ("IltServerNames", "IltHosts").
+// A third signal is the RynthILT plugin's own verdict (its server list, or the
+// character's "Treat this world as ILT"): Combine adds it, ParsePluginStatus
+// reads RynthILTGetStatusJson (UI/Data/IltData.cs polls it).
//
// Unlike Aelrynth detection nothing here unlocks a server-side action that
// could hurt another server: a false positive only shows the ILT bar button,
@@ -108,6 +111,47 @@ internal static class IltDetect
return new IltVerdict { Reason = $"not Infinite Leaftide: {where}, {world}" };
}
+ ///
+ /// The engine's verdict, or ILT when RynthILT says so (, with its
+ /// ). The engine's own "is ILT" always stands; RynthILT can only
+ /// add worlds (its list, or a character's "Treat this world as ILT").
+ ///
+ public static IltVerdict Combine(IltVerdict engine, bool pluginIlt, string? pluginReason)
+ {
+ if (engine.IsIlt || !pluginIlt) return engine;
+ string why = string.IsNullOrWhiteSpace(pluginReason) ? "RynthILT says so" : pluginReason.Trim();
+ return new IltVerdict { IsIlt = true, Reason = $"Infinite Leaftide: {why} ({engine.Reason})" };
+ }
+
+ ///
+ /// RynthILTGetStatusJson: {"loaded":bool,"ilt":bool,"forced":bool,"available":bool,"world":"..."}.
+ /// Missing fields read false / "". False when the text isn't a JSON object.
+ ///
+ public static bool ParsePluginStatus(string? json, out bool loaded, out bool ilt, out bool forced, out bool available, out string world)
+ {
+ loaded = ilt = forced = available = false;
+ world = "";
+ if (string.IsNullOrWhiteSpace(json)) return false;
+ try
+ {
+ using var doc = System.Text.Json.JsonDocument.Parse(json);
+ var root = doc.RootElement;
+ if (root.ValueKind != System.Text.Json.JsonValueKind.Object) return false;
+ static bool B(System.Text.Json.JsonElement e, string name)
+ => e.TryGetProperty(name, out var v) && v.ValueKind == System.Text.Json.JsonValueKind.True;
+ loaded = B(root, "loaded");
+ ilt = B(root, "ilt");
+ forced = B(root, "forced");
+ available = B(root, "available");
+ world = root.TryGetProperty("world", out var w) && w.ValueKind == System.Text.Json.JsonValueKind.String ? w.GetString() ?? "" : "";
+ return true;
+ }
+ catch (System.Text.Json.JsonException)
+ {
+ return false;
+ }
+ }
+
/// Case-insensitive match where '*' stands for any run of characters (anywhere in the pattern).
public static bool Matches(string text, string pattern)
{
diff --git a/src/RynthCore.Engine/Compatibility/IltInfo.cs b/src/RynthCore.Engine/Compatibility/IltInfo.cs
index 20859be..1b16e5f 100644
--- a/src/RynthCore.Engine/Compatibility/IltInfo.cs
+++ b/src/RynthCore.Engine/Compatibility/IltInfo.cs
@@ -3,13 +3,17 @@
//
// Is this client on Infinite Leaftide (ILT, the ACECustom server)? IltInfo.IsIlt
// is the one flag the ILT section checks (the bar's ILT button, /rc bounties,
-// the Bounties window's reads through the RynthILT plugin).
+// /rc guardian, the ILT server menu, the Bounties window's reads through the
+// RynthILT plugin). Every ILT feature is RynthILT's (since 2026-10-13), so the
+// section also needs RynthILT loaded (PluginLoaded).
//
// Signals (combined by IltDetect.Decide, IltDetect.cs):
// - the launch command line's -h host (ServerInfo reads it once);
// - the world name the server announced at login (AccountHooks);
// - the engine.json lists "IltServerNames" / "IltHosts" replace the
-// defaults (InfiniteLeaftide / *Leaftide* and infiniteleaftide.online).
+// defaults (InfiniteLeaftide / *Leaftide* and infiniteleaftide.online);
+// - RynthILT's own verdict (its server list, or the character's "Treat this
+// world as ILT"), read once a second by UI/Data/IltData.cs.
// Unknown means not ILT. "/rc ilt on|off|auto" overrides it for this session
// (testing), never saved.
//
@@ -33,6 +37,25 @@ internal static class IltInfo
private static long _nextRefreshMs;
private static int _mode; // Mode
private static volatile bool _lastIlt;
+ private static volatile bool _pluginLoaded;
+ private static volatile bool _pluginIlt;
+ private static volatile string _pluginReason = "";
+
+ /// RynthILT is loaded (its status export answered; IltStatusSource). Any thread.
+ public static bool PluginLoaded => _pluginLoaded;
+
+ ///
+ /// IltStatusSource (pump): RynthILT loaded, and whether it says this is ILT (with why). Picked
+ /// up by the next Refresh (at most a second later).
+ ///
+ public static void SetPluginStatus(bool loaded, bool ilt, string reason)
+ {
+ bool changed = _pluginIlt != (loaded && ilt);
+ _pluginLoaded = loaded;
+ _pluginIlt = loaded && ilt;
+ _pluginReason = reason ?? "";
+ if (changed) Volatile.Write(ref _nextRefreshMs, 0);
+ }
/// True when the client is on Infinite Leaftide - or the override says so. Any thread.
public static bool IsIlt => Current.IsIlt;
@@ -88,6 +111,8 @@ internal static class IltInfo
_ => IltDetect.Decide(ServerInfo.LaunchHost, AccountHooks.AnnouncedWorldName,
EngineSettings.IltServerNames, EngineSettings.IltHosts),
};
+ // RynthILT's own list / override counts too (its verdict, when the engine's says no).
+ if (Override == Mode.Auto) v = IltDetect.Combine(v, _pluginIlt, _pluginReason);
_verdict = v;
if (v.IsIlt != _lastIlt)
{
diff --git a/src/RynthCore.Engine/Compatibility/RynthCoreChatCommands.cs b/src/RynthCore.Engine/Compatibility/RynthCoreChatCommands.cs
index ebaa95f..bfb3143 100644
--- a/src/RynthCore.Engine/Compatibility/RynthCoreChatCommands.cs
+++ b/src/RynthCore.Engine/Compatibility/RynthCoreChatCommands.cs
@@ -329,8 +329,8 @@ internal static class RynthCoreChatCommands
}
// /rc bounties|guardian [show|hide|toggle] : the ILT section's panels, like the bar's
- // ILT button (Bounties: the RynthILT plugin's tracker; Guardian: RynthAi's Temple
- // guardian tools). Only on Infinite Leaftide with the plugin installed.
+ // ILT button (the RynthILT plugin's bounty tracker and Temple guardian tools). Only on
+ // Infinite Leaftide with RynthILT installed.
if (IsVerb(sub, "bounties", out string panelArgs) || IsVerb(sub, "bounty", out panelArgs) || IsVerb(sub, "bountys", out panelArgs))
{
IltPanel(ImGuiBackend.Panels.BountiesFace.Title, "Bounties", "RynthILT", panelArgs);
@@ -338,13 +338,14 @@ internal static class RynthCoreChatCommands
}
if (IsVerb(sub, "guardian", out panelArgs) || IsVerb(sub, "guardians", out panelArgs))
{
- IltPanel(ImGuiBackend.Panels.GuardianFace.Title, "Guardian", "RynthAi", panelArgs);
+ IltPanel(ImGuiBackend.Panels.GuardianFace.Title, "Guardian", "RynthILT", panelArgs);
return true;
}
// /rc miniremote [show|hide|toggle|tab ] : the ImGui Mini Remote panel, like its bar
- // button (RynthAi's dashboard and "/ra hub" use show / hide). "tab" opens it on one of
- // RynthAi's tabs (character, quests, pets, banking, gear, games; none = the remote).
+ // button (RynthAi's dashboard and "/ra hub" use show / hide). "tab" opens it on one of its
+ // tabs (RynthAi's quests, pets; RynthILT's character, banking, gear, charms, games; none =
+ // the remote).
if (IsVerb(sub, "miniremote", out string remoteArgs) || IsVerb(sub, "remote", out remoteArgs))
{
if (!ImGuiBackend.ImGuiPanelHost.HasFace(ImGuiBackend.Panels.MiniRemoteFace.Title))
@@ -362,7 +363,7 @@ internal static class RynthCoreChatCommands
}
// /rc skills [show|hide|toggle] : the ImGui Skills panel; /rc progression opens it on its
- // Progression tab (ILT worlds; the tab shows once RynthAi reports ILT features).
+ // Progression tab (ILT worlds; the tab shows once RynthILT reports ILT features).
if (IsVerb(sub, "skills", out string skillsArgs))
{
if (!ImGuiBackend.ImGuiPanelHost.HasFace(ImGuiBackend.Panels.SkillsFace.Title))
@@ -721,12 +722,10 @@ internal static class RynthCoreChatCommands
Reply($"ILT: {(v.IsIlt ? "Infinite Leaftide" : "not Infinite Leaftide")} - {v.Reason}.");
Reply($"Signals: host {ServerInfo.HostDescription}; world name {AccountHooks.AnnouncedWorldName ?? "(not announced)"}; "
+ $"override {IltInfo.Override}. Lists: {IltInfo.ListsDescription}.");
- bool bounties = ImGuiBackend.ImGuiPanelHost.HasFace(ImGuiBackend.Panels.BountiesFace.Title);
- bool guardian = ImGuiBackend.ImGuiPanelHost.HasFace(ImGuiBackend.Panels.GuardianFace.Title);
- Reply(bounties ? "RynthILT: installed (Bounties: the ILT bar button or /rc bounties)."
- : "RynthILT: not installed (no Bounties panel).");
- Reply(guardian ? "RynthAi: installed (Guardian: the ILT bar button or /rc guardian; the ILT tabs: the Mini Remote)."
- : "RynthAi: not installed (no Guardian panel or ILT tabs).");
+ bool installed = ImGuiBackend.ImGuiPanelHost.HasFace(ImGuiBackend.Panels.BountiesFace.Title);
+ Reply(!installed ? "RynthILT: not installed (no ILT features: Bounties, Guardian, the Mini Remote's ILT tabs, Progression)."
+ : IltInfo.PluginLoaded ? "RynthILT: loaded (the ILT bar button: Bounties, Guardian; the Mini Remote's ILT tabs; /rc progression)."
+ : "RynthILT: installed but not loaded (yet).");
}
private static void HandleMasteryCommand()
diff --git a/src/RynthCore.Engine/D3D9/EndSceneHook.cs b/src/RynthCore.Engine/D3D9/EndSceneHook.cs
index f6ec650..67f3620 100644
--- a/src/RynthCore.Engine/D3D9/EndSceneHook.cs
+++ b/src/RynthCore.Engine/D3D9/EndSceneHook.cs
@@ -459,7 +459,7 @@ internal static class EndSceneHook
RynthLog.D3D9($"EndSceneHook: OverlayTextureRenderer.Render error: {ovEx.GetType().Name}: {ovEx.Message}");
}
- // ImGui draw data (in-client panels, plugin overlay windows such as the ILT Hub)
+ // ImGui draw data (in-client panels, plugin overlay windows such as the Mini Remote)
// is submitted LAST so it sits on top of the Avalonia layer. Built in OnEndScene;
// guarded internally, so an ImGui draw failure can't skip the original EndScene.
EngineFrameController.RenderDeferredImGui();
diff --git a/src/RynthCore.Engine/EntryPoint.cs b/src/RynthCore.Engine/EntryPoint.cs
index 13739b1..15c9dd1 100644
--- a/src/RynthCore.Engine/EntryPoint.cs
+++ b/src/RynthCore.Engine/EntryPoint.cs
@@ -578,29 +578,31 @@ public static class EntryPoint
if (_serverMenusRegistered) return;
_serverMenusRegistered = true;
- // Infinite Leaftide: IltInfo (host / world name lists, or "/rc ilt on" for the session).
- UI.ServerMenus.DefineServer("ilt", "Infinite Leaftide", static () => IltInfo.IsIlt, "/rc ilt on");
- if (rynthAi)
+ // Infinite Leaftide: IltInfo (host / world name lists, RynthILT's own verdict, or "/rc ilt on"
+ // for the session), with RynthILT loaded: every ILT window is RynthILT's (since 2026-10-13).
+ UI.ServerMenus.DefineServer("ilt", "Infinite Leaftide", static () => IltInfo.IsIlt && IltInfo.PluginLoaded, "/rc ilt on");
+ if (rynthIlt && rynthAi)
{
- // RynthAi's ILT features: the Mini Remote's ILT tabs (shown once the server reports each
- // on). Its Quests and Pets tabs are universal: the Character half of the menus.
+ // RynthILT's ILT tabs in RynthAi's Mini Remote (shown once the server reports each on).
+ // The Mini Remote's Quests and Pets tabs are universal: the Character half of the menus.
foreach ((string label, string tab) in new[]
{
("Character", "character"), ("Banking", "banking"), ("Gear", "gear"), ("Charms", "charms"), ("Games", "games"),
})
{
UI.ServerMenus.AddItem("ilt", new UI.ServerMenuItem(label, "/rc miniremote tab " + tab,
- $"The Mini Remote's {label} tab (RynthAi).", "tab:" + tab));
+ $"The Mini Remote's {label} tab (RynthILT).", "tab:" + tab));
}
- UI.ServerMenus.AddItem("ilt", new UI.ServerMenuItem("Guardian", "/rc guardian toggle",
- "Temple of Enlightenment guardians: riddle answers and Give (RynthAi)."));
}
if (rynthIlt)
+ {
+ UI.ServerMenus.AddItem("ilt", new UI.ServerMenuItem("Guardian", "/rc guardian toggle",
+ "Temple of Enlightenment guardians: riddle answers and Give (RynthILT)."));
UI.ServerMenus.AddItem("ilt", new UI.ServerMenuItem("Bounties", "/rc bounties toggle",
"ACECustom bounties and your progress on each (RynthILT)."));
- if (rynthAi)
UI.ServerMenus.AddItem("ilt", new UI.ServerMenuItem("Progression", "/rc progression",
- "XP planner, augmentations and enlightenment (the Skills panel's Progression tab)."));
+ "XP planner, augmentations and enlightenment (the Skills panel's Progression tab; RynthILT)."));
+ }
UI.ServerMenus.PushToRynthAi = rynthAi;
}
@@ -1084,13 +1086,15 @@ public static class EntryPoint
// Characters (your other RynthCore clients, through RynthNet): only with RynthNet installed.
if (HasPluginDll("RynthCore.Plugin.RynthNet.dll"))
ImGuiBackend.Panels.CharactersFace.Register();
- // The ILT section (Infinite Leaftide): each face exists only with its plugin
- // installed (Bounties: RynthILT, Guardian: RynthAi), and the bar's ILT button
- // shows them only on ILT (IltInfo).
+ // The ILT section (Infinite Leaftide): its faces exist only with RynthILT installed
+ // (Bounties, Guardian), and the bar's ILT button shows them only on ILT with RynthILT
+ // loaded (IltInfo; IltStatusSource asks RynthILT once a second).
if (HasPluginDll("RynthCore.Plugin.RynthILT.dll"))
+ {
ImGuiBackend.Panels.BountiesFace.Register();
- if (HasPluginDll("RynthCore.Plugin.RynthAi.dll"))
ImGuiBackend.Panels.GuardianFace.Register();
+ UI.Data.UiSources.IltStatus.Subscribe();
+ }
if (HasPluginDll("RynthCore.Plugin.RynthChat.dll"))
{
ImGuiBackend.Panels.ChatFace.Register();
diff --git a/src/RynthCore.Engine/Hotkeys/HotkeyModel.cs b/src/RynthCore.Engine/Hotkeys/HotkeyModel.cs
index ac29be5..841d66a 100644
--- a/src/RynthCore.Engine/Hotkeys/HotkeyModel.cs
+++ b/src/RynthCore.Engine/Hotkeys/HotkeyModel.cs
@@ -168,9 +168,10 @@ internal static class HotkeyKeys
/// : the chat command it runs ("/ra targetlock"); "{0}" is the binding's parameter
/// (), for an action with a (e.g. the meta state).
/// : the dropdown section ("" = the RynthCore built-ins). : a plain tooltip.
+/// : an Infinite Leaftide panel (RynthILT's), offered only while .
///
internal sealed record HotkeyAction(string Id, string Name, string? Panel = null, string? Chat = null,
- string Group = "", string Tip = "", string? Param = null)
+ string Group = "", string Tip = "", string? Param = null, bool Ilt = false)
{
public bool HasParam => Param != null;
}
@@ -191,6 +192,26 @@ internal static class HotkeyActions
private static HotkeyAction P(string title, string? name = null) =>
new(PanelPrefix + title, "Open/close " + (name ?? title), title);
+ // The ILT section's panels (the bar's ILT button): listed, resolved and run only on Infinite
+ // Leaftide with RynthILT loaded, as the bar shows them (Compatibility/IltInfo.cs).
+ private static HotkeyAction PIlt(string title, string tip) =>
+ new(PanelPrefix + title, "Open/close " + title + " (Infinite Leaftide)", title, Tip: tip, Ilt: true);
+
+ ///
+ /// Whether the Infinite Leaftide panels are offered now: the engine sets it to "Infinite Leaftide
+ /// with RynthILT loaded" (HotkeyService); never anywhere else (and never in the tests unless set).
+ ///
+ public static Func IltAvailable = static () => false;
+
+ /// The action is listed and can be picked or typed now (ILT panels only on ILT).
+ public static bool Offered(HotkeyAction a) => !a.Ilt || SafeIlt();
+
+ private static bool SafeIlt()
+ {
+ try { return IltAvailable(); }
+ catch { return false; }
+ }
+
/// Built-ins, in the order the Settings dropdown shows them.
public static readonly HotkeyAction[] BuiltIns =
{
@@ -223,6 +244,8 @@ internal static class HotkeyActions
P("Item Count"),
P("Loot Editor"),
P("RynthNav"),
+ PIlt("Bounties", "RynthILT's bounty tracker (/rc bounties)."),
+ PIlt("Guardian", "RynthILT's Temple guardian tools (/rc guardian)."),
// VTank's hotkey actions, by VTank's names. Those RynthCore already had run the same code
// as the built-ins above; the rest run a RynthAi /ra command (also usable as a chat command).
@@ -274,9 +297,9 @@ internal static class HotkeyActions
if (t.StartsWith("panel ", StringComparison.OrdinalIgnoreCase)) t = PanelPrefix + t[6..];
string n = Norm(t);
foreach (HotkeyAction a in BuiltIns)
- if (Norm(a.Id) == n || Norm(a.Name) == n) return a;
+ if (Offered(a) && (Norm(a.Id) == n || Norm(a.Name) == n)) return a;
foreach (HotkeyAction a in BuiltIns) // a panel's title alone
- if (a.Panel != null && Norm(a.Panel) == n) return a;
+ if (Offered(a) && a.Panel != null && Norm(a.Panel) == n) return a;
foreach (HotkeyAction a in BuiltIns) // a VTank-style id without "vt:" ("startstop", "targetlock")
if (a.Group == VTankGroup && Norm(a.Id) == VTankPrefix + n) return a;
return null;
diff --git a/src/RynthCore.Engine/Hotkeys/HotkeyService.cs b/src/RynthCore.Engine/Hotkeys/HotkeyService.cs
index 5c0568b..d728a4e 100644
--- a/src/RynthCore.Engine/Hotkeys/HotkeyService.cs
+++ b/src/RynthCore.Engine/Hotkeys/HotkeyService.cs
@@ -69,6 +69,9 @@ internal static class HotkeyService
private static HotkeyGate _lastGate = HotkeyGate.Fire;
private static readonly uint OurPid = (uint)Environment.ProcessId;
+ // The ILT section's panels are offered only where the bar shows its ILT button.
+ static HotkeyService() => HotkeyActions.IltAvailable = static () => IltInfo.IsIlt && IltInfo.PluginLoaded;
+
// ── Bindings ───────────────────────────────────────────────────────────
/// The bindings and master switch now (reloaded when another client changed the file). Any thread.
@@ -351,7 +354,11 @@ internal static class HotkeyService
if (a.Panel != null)
{
string title = UI.PanelRouter.Canonical(a.Panel);
- if (!ImGuiBackend.ImGuiPanelHost.HasFace(title))
+ // An ILT panel bound on Infinite Leaftide does nothing elsewhere, as the bar's ILT
+ // button isn't there (it can still close one left open).
+ if (a.Ilt && !HotkeyActions.Offered(a) && !ImGuiBackend.ImGuiPanelHost.IsOpen(title))
+ Reply($"Hotkey {b.Combo}: {a.Panel} is an Infinite Leaftide feature (RynthILT), and this isn't Infinite Leaftide (/rc ilt for why).");
+ else if (!ImGuiBackend.ImGuiPanelHost.HasFace(title))
Reply($"Hotkey {b.Combo}: the {a.Panel} panel isn't available (its plugin isn't loaded, or the ImGui layer is off).");
else
UI.PanelRouter.Toggle(title);
@@ -430,7 +437,7 @@ internal static class HotkeyService
var sb = new System.Text.StringBuilder(group.Length > 0 ? " " + group + ": " : " ");
foreach (HotkeyAction a in HotkeyActions.BuiltIns)
{
- if (a.Group != group) continue;
+ if (a.Group != group || !HotkeyActions.Offered(a)) continue;
if (sb.Length > 150) { lines.Add(sb.ToString().TrimEnd(',', ' ')); sb.Clear().Append(" "); }
sb.Append(a.Id);
if (a.HasParam) sb.Append(" <").Append(a.Param!.ToLowerInvariant()).Append('>');
diff --git a/src/RynthCore.Engine/ImGui/EngineFrameController.cs b/src/RynthCore.Engine/ImGui/EngineFrameController.cs
index 3414635..bbe9460 100644
--- a/src/RynthCore.Engine/ImGui/EngineFrameController.cs
+++ b/src/RynthCore.Engine/ImGui/EngineFrameController.cs
@@ -495,7 +495,7 @@ internal static class EngineFrameController
{
// Plugins only get the ImGui context when they may draw with it: the
// ImGui shell (EnableImGuiShell, FORCE-gated) or their own overlay
- // windows (EnablePluginOverlayWindows: RynthAi's ILT Hub, HUDs, Item
+ // windows (EnablePluginOverlayWindows: RynthAi's Mini Remote, HUDs, Item
// Info; RynthPluginRenderOverlay). RynthAi only reads the context for
// those windows, so this does not switch it into a legacy-ImGui setup.
bool pluginsDraw = Plugins.EngineSettings.EnableImGuiShell
diff --git a/src/RynthCore.Engine/ImGui/ImGuiBar.cs b/src/RynthCore.Engine/ImGui/ImGuiBar.cs
index feb04c9..68a5e38 100644
--- a/src/RynthCore.Engine/ImGui/ImGuiBar.cs
+++ b/src/RynthCore.Engine/ImGui/ImGuiBar.cs
@@ -60,10 +60,10 @@ internal static class ImGuiBar
{ Panels.InventoryFace.Title, Panels.SkillsFace.Title, Panels.SenseFace.Title, Panels.ItemCountFace.Title, Panels.MiniRemoteFace.Title,
Panels.CharactersFace.Title };
- // The ILT section: ImGui-only Infinite Leaftide panels (Bounties from RynthILT, Guardian from
- // RynthAi). They never get buttons of their own; one ILT button stands for them, shown only
- // on Infinite Leaftide (IltInfo.IsIlt) and only for the ones registered (EntryPoint registers
- // each when its plugin is installed).
+ // The ILT section: ImGui-only Infinite Leaftide panels (Bounties and Guardian, both RynthILT's).
+ // They never get buttons of their own; one ILT button stands for them, shown only on Infinite
+ // Leaftide (IltInfo.IsIlt) with RynthILT loaded (IltInfo.PluginLoaded), and only for the ones
+ // registered (EntryPoint registers them when RynthILT is installed).
private static readonly string[] IltPanels = { Panels.BountiesFace.Title, Panels.GuardianFace.Title };
// Known panels' icons (DrakBot's where the same window exists); others show their first letter.
@@ -460,7 +460,7 @@ internal static class ImGuiBar
int n = 0;
foreach (string title in IltPanels)
if (ImGuiPanelHost.HasFace(title)) n++;
- return n > 0 && IltInfo.IsIlt ? n : 0;
+ return n > 0 && IltInfo.IsIlt && IltInfo.PluginLoaded ? n : 0;
}
private static string? FirstIltPanel()
diff --git a/src/RynthCore.Engine/ImGui/Panels/GuardianFace.cs b/src/RynthCore.Engine/ImGui/Panels/GuardianFace.cs
index 907f4c2..af1a91b 100644
--- a/src/RynthCore.Engine/ImGui/Panels/GuardianFace.cs
+++ b/src/RynthCore.Engine/ImGui/Panels/GuardianFace.cs
@@ -1,12 +1,14 @@
// ============================================================================
// RynthCore.Engine - ImGui/Panels/GuardianFace.cs
// Temple of Enlightenment guardians (riddle answers, Give, the phrasebook),
-// drawn by RynthAi through RynthPluginRenderEmbed ("guardian"). Part of the
-// ILT section: registered when RynthAi is installed, opened from the bar's ILT
-// button or "/rc guardian" on Infinite Leaftide only. ImGui-only.
+// drawn by RynthILT through RynthPluginRenderEmbed ("guardian"; RynthAi drew it
+// until the ILT Hub moved to RynthILT, 2026-10-13, and an older RynthAi still
+// answers when RynthILT has no Guardian). Part of the ILT section: registered
+// when RynthILT is installed, opened from the bar's ILT button or "/rc guardian"
+// on Infinite Leaftide only. ImGui-only.
//
// The panel is user-sized: the plugin fills the body it is given. Until
-// RynthAi can draw it (not logged in, too old for the surface, or its embed
+// RynthILT can draw it (not logged in, too old for the surface, or its embed
// failed) the body says why.
// ============================================================================
@@ -26,7 +28,7 @@ internal sealed class GuardianFace : IImGuiPanel
new PanelSpec(new Vector2(540, 520), new Vector2(320, 220), EdgeToEdge: true, GripInBody: true),
() => new GuardianFace());
- /// The RynthAi surface for this panel (NUL-terminated for the export).
+ /// The plugin surface for this panel (NUL-terminated for the export).
private static ReadOnlySpan Surface => "guardian\0"u8;
// Its export failed this session: say so instead of calling it every frame.
@@ -45,7 +47,7 @@ internal sealed class GuardianFace : IImGuiPanel
if (!_embedOff)
{
ImGuiNET.ImGui.PushStyleVar(ImGuiStyleVar.WindowPadding, new Vector2(6, 4));
- bool open = ImGuiNET.ImGui.BeginChild("##guardian_rynthai", new Vector2(w, h), ImGuiChildFlags.AlwaysUseWindowPadding,
+ bool open = ImGuiNET.ImGui.BeginChild("##guardian_rynthilt", new Vector2(w, h), ImGuiChildFlags.AlwaysUseWindowPadding,
ImGuiWindowFlags.NoBackground);
ImGuiNET.ImGui.PopStyleVar();
try
@@ -54,7 +56,14 @@ internal sealed class GuardianFace : IImGuiPanel
{
// The plugin's widgets use the default UI font, as in its own windows.
ImGuiNET.ImGui.PushFont(ImGuiFonts.Get(UiFont.Ui11));
- try { result = PluginManager.RenderEmbed("RynthAi", Surface, ImGuiNET.ImGui.GetContentRegionAvail(), out _); }
+ try
+ {
+ Vector2 avail = ImGuiNET.ImGui.GetContentRegionAvail();
+ result = PluginManager.RenderEmbed("RynthILT", Surface, avail, out _);
+ // RynthILT without the Guardian (older than the move): an older RynthAi may still draw it.
+ if (result == PluginManager.EmbedNoPlugin)
+ result = PluginManager.RenderEmbed("RynthAi", Surface, avail, out _);
+ }
finally { ImGuiNET.ImGui.PopFont(); }
}
else result = PluginManager.EmbedDrawn; // clipped: nothing to draw, nothing wrong
@@ -68,9 +77,9 @@ internal sealed class GuardianFace : IImGuiPanel
ImGuiNET.ImGui.SetCursorScreenPos(start + new Vector2(0, 4));
Label(result switch
{
- PluginManager.EmbedNoPlugin => "The Guardian tools come with RynthAi; it isn't loaded.",
- PluginManager.EmbedFailed => "RynthAi couldn't draw the Guardian tools (this build may be too old). See the log.",
- _ => "Waiting for RynthAi (log in; ILT features turn on once the server reports them).",
+ PluginManager.EmbedNoPlugin => "The Guardian tools come with RynthILT; it isn't loaded.",
+ PluginManager.EmbedFailed => "RynthILT couldn't draw the Guardian tools (this build may be too old). See the log.",
+ _ => "Waiting for RynthILT (log in; ILT features turn on once the server reports them).",
}, Mute);
}
End(origin, size);
diff --git a/src/RynthCore.Engine/ImGui/Panels/HotkeysSettingsUi.cs b/src/RynthCore.Engine/ImGui/Panels/HotkeysSettingsUi.cs
index 46f1091..2ffcf5e 100644
--- a/src/RynthCore.Engine/ImGui/Panels/HotkeysSettingsUi.cs
+++ b/src/RynthCore.Engine/ImGui/Panels/HotkeysSettingsUi.cs
@@ -258,6 +258,7 @@ internal sealed class HotkeysSettingsUi
string group = string.Empty;
foreach (HotkeyAction a in HotkeyActions.BuiltIns)
{
+ if (!HotkeyActions.Offered(a)) continue; // the ILT panels: only on Infinite Leaftide with RynthILT
if (a.Group != group || group.Length == 0 && a == HotkeyActions.BuiltIns[0])
{
ImGuiNET.ImGui.Separator();
diff --git a/src/RynthCore.Engine/ImGui/Panels/MiniRemoteFace.cs b/src/RynthCore.Engine/ImGui/Panels/MiniRemoteFace.cs
index eb88899..b84f73c 100644
--- a/src/RynthCore.Engine/ImGui/Panels/MiniRemoteFace.cs
+++ b/src/RynthCore.Engine/ImGui/Panels/MiniRemoteFace.cs
@@ -4,8 +4,9 @@
//
// With RynthAi loaded it hosts RynthAi's Mini Remote (session rates, target,
// summon, item slots, toggles, bank, rebuff, Translate, Guardian and its
-// Options menu, plus on ILT worlds the tabs Character, Quests, Pets, Banking,
-// Gear and Games that were the ILT Hub), drawn by the plugin through
+// Options menu, its Quests and Pets tabs, plus on ILT worlds the RynthILT
+// plugin's tabs Character, Banking, Gear, Charms and Games, which RynthAi asks
+// RynthILT to draw), drawn by the plugin through
// RynthPluginRenderEmbed ("miniremote-window"). The window fits itself to what
// the plugin asks for whenever that changes (another tab, a section shown or
// hidden, bigger or smaller boxes);
diff --git a/src/RynthCore.Engine/ImGui/Panels/RynthAiFace.Drawers.cs b/src/RynthCore.Engine/ImGui/Panels/RynthAiFace.Drawers.cs
index 3b09fa0..e92559c 100644
--- a/src/RynthCore.Engine/ImGui/Panels/RynthAiFace.Drawers.cs
+++ b/src/RynthCore.Engine/ImGui/Panels/RynthAiFace.Drawers.cs
@@ -169,7 +169,7 @@ internal sealed partial class RynthAiFace
public override string TabTooltip(bool right) =>
"Mini Remote: session rates, attack target, summon, item slots, toggles, bank, rebuff, Translate.\n" +
- "Its Options button picks the sections (also: right-click Hub). The ILT tabs are in the Mini Remote window.\n" +
+ "Its Options button picks the sections (also: right-click Hub). RynthILT's ILT tabs are in the Mini Remote window.\n" +
(right ? "Click to slide it out (to the right: there's no room on the left)." : "Click to slide it out.");
public override float Width(float k) =>
diff --git a/src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs b/src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs
index a63a729..7c15d42 100644
--- a/src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs
+++ b/src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs
@@ -660,7 +660,7 @@ internal sealed partial class RynthAiFace : IImGuiPanel
x += bw + gap;
// Char and Hub open the Mini Remote window (MiniRemoteFace, hosting RynthAi's remote): Char
- // on its Character tab (an ILT tab; elsewhere the remote shows), Hub as it was left.
+ // on its Character tab (RynthILT's ILT tab; elsewhere the remote shows), Hub as it was left.
Launcher("##l_char", PhosphorIcons.User, "Char",
"Char. Left-click: the Mini Remote on its Character tab (ILT worlds). Right-click: Character windows (Spells, Quests, Pets, Skills, Inventory...), then Server: this server's plugin windows.",
x, y, bw, labels, () => ShowMiniRemoteTab("character"));
@@ -886,8 +886,8 @@ internal sealed partial class RynthAiFace : IImGuiPanel
///
/// Opens the Mini Remote window on one of its tabs ("" = the remote). Quests and Pets show on
- /// every server; RynthAi shows an ILT tab once the server reports that feature on, and until
- /// then the window shows the remote.
+ /// every server; RynthILT's ILT tabs show once the server reports that feature on (and only with
+ /// RynthILT), and until then the window shows the remote.
///
private static void ShowMiniRemoteTab(string section)
{
@@ -920,7 +920,7 @@ internal sealed partial class RynthAiFace : IImGuiPanel
if (ImGuiNET.ImGui.MenuItem("Spells", "/rc spells"))
RynthAiCommands.ApplyRemoteCommand("spells", "toggle");
ImGuiNET.ImGui.SetItemTooltip("RynthAi Spells: the spell catalog and buff profiles.");
- // The Mini Remote's universal tabs (every server); its ILT tabs are in the server half.
+ // The Mini Remote's universal tabs (every server); RynthILT's ILT tabs are in the server half.
if (ImGuiNET.ImGui.MenuItem("Quests", "/rc miniremote tab quests")) ShowMiniRemoteTab("quests");
ImGuiNET.ImGui.SetItemTooltip("The Mini Remote's Quests tab: /myquests timers and favorites (RynthAi).");
if (ImGuiNET.ImGui.MenuItem("Pets", "/rc miniremote tab pets")) ShowMiniRemoteTab("pets");
diff --git a/src/RynthCore.Engine/ImGui/Panels/SettingsFace.cs b/src/RynthCore.Engine/ImGui/Panels/SettingsFace.cs
index 6e36aa3..3883c0a 100644
--- a/src/RynthCore.Engine/ImGui/Panels/SettingsFace.cs
+++ b/src/RynthCore.Engine/ImGui/Panels/SettingsFace.cs
@@ -219,7 +219,7 @@ internal sealed class SettingsFace : IImGuiPanel
}
}
- // [All on] [All off] [ILT on], then a 3-column grid of square toggles, one per
+ // [All on] [All off], then a 3-column grid of square toggles, one per
// RynthAi trace category. Edits the copy's DiagCategories and saves like any other row.
private void TraceCategoriesRow(SettingRow row, float w)
{
@@ -234,8 +234,6 @@ internal sealed class SettingsFace : IImGuiPanel
if (ImGuiNET.ImGui.Button("All on")) SaveCategories(TraceCategoryLevels.Set(_data.DiagCategories, "", true));
ImGuiNET.ImGui.SameLine(0, 6);
if (ImGuiNET.ImGui.Button("All off")) SaveCategories(TraceCategoryLevels.Set(_data.DiagCategories, "", false));
- ImGuiNET.ImGui.SameLine(0, 6);
- if (ImGuiNET.ImGui.Button("ILT on")) SaveCategories(TraceCategoryLevels.Set(_data.DiagCategories, "", true, "Ilt"));
Tooltip(row);
ImGuiNET.ImGui.Dummy(new Vector2(0, 4));
diff --git a/src/RynthCore.Engine/ImGui/Panels/SkillsFace.Progression.cs b/src/RynthCore.Engine/ImGui/Panels/SkillsFace.Progression.cs
index 2970f91..bb22d8f 100644
--- a/src/RynthCore.Engine/ImGui/Panels/SkillsFace.Progression.cs
+++ b/src/RynthCore.Engine/ImGui/Panels/SkillsFace.Progression.cs
@@ -3,15 +3,16 @@
// The Skills panel's Progression tab, shown on ILT-like worlds only:
// - XP planner: exact XP for the next N raises of every attribute and vital,
// from the client's XP tables (raising stays on the Attributes & Vitals tab).
-// - Attribute raiser: infinite attributes past the retail cap. RynthAi reads the
+// - Attribute raiser: infinite attributes past the retail cap. RynthILT reads the
// server's costs ("/xp all") and raises with "/attr", by hand or on a timer from
// unassigned XP, in the order and mode set here. Laid out like UB's Leaftide XP
// tab: "+1 Level" / "+10 Levels" buttons labelled with their (projected) cost.
// - Augmentations: UB's Augs tab - Refresh current (/aug), Current / Target / Inc /
// Luminance / Coins with a totals row, Reset targets, Copy Discord / In-Game.
-// - Augmentations / Enlightenment: RynthAi's ILT Hub planners. RynthAi owns the
-// math and the saved inputs (UiSources.Progression snapshot); edits and
-// actions go back as "prog ..." remote commands. /enl and arming
+// - Augmentations / Enlightenment: the ILT Hub's planners (RynthILT's since
+// 2026-10-13; RynthAi's before). The plugin owns the math and the saved inputs
+// (UiSources.Progression snapshot); edits and actions go back as "prog ..."
+// commands (IltCommands.Progression). /enl and arming
// auto-enlighten ask here first; the server still shows its own dialog.
// ============================================================================
@@ -37,11 +38,11 @@ internal sealed partial class SkillsFace
private string _progConfirmTitle = "", _progConfirmText = "", _progConfirmYes = "", _progConfirmCommand = "";
private bool _progConfirmOpenRequested;
- // Set by ShowProgression (any panel, AC thread); the tab is selected once RynthAi's snapshot
+ // Set by ShowProgression (any panel, AC thread); the tab is selected once RynthILT's snapshot
// says it exists (the first poll lands a step after the panel opens).
private static bool _progressionRequested;
- /// RynthAi reports an ILT-like world (its ILT Hub exists and the server has ILT features).
+ /// RynthILT reports an ILT-like world (its ILT Hub exists and the server has ILT features).
private static bool ProgressionTabVisible => UiSources.Progression.Current?.Value.Available == true;
/// Opens the Skills panel (if closed) on the Progression tab. AC thread.
@@ -75,10 +76,10 @@ internal sealed partial class SkillsFace
UiSources.Progression.Unsubscribe();
}
- /// Sends "prog <value>" to RynthAi; the snapshot re-polls after its next tick applies it.
+ /// Sends "prog <value>" to RynthILT (an older RynthAi takes it too); the snapshot re-polls after.
private static void SendProg(string value)
{
- RynthAiCommands.ApplyRemoteCommand("prog", value);
+ IltCommands.Progression(value);
UiSources.Progression.RequestRefreshAfterPluginTick();
}
@@ -103,7 +104,7 @@ internal sealed partial class SkillsFace
ImGuiNET.ImGui.Dummy(new Vector2(0, 6));
if (info == null || !info.Available)
{
- Message("Augmentations and Enlightenment need RynthAi's ILT features on an ILT world.", w);
+ Message("Augmentations and Enlightenment need RynthILT's ILT features on an ILT world.", w);
return;
}
DrawAttrRaiser(info.Attr, w);
diff --git a/src/RynthCore.Engine/Plugins/EngineSettings.cs b/src/RynthCore.Engine/Plugins/EngineSettings.cs
index 81ad873..96c79fc 100644
--- a/src/RynthCore.Engine/Plugins/EngineSettings.cs
+++ b/src/RynthCore.Engine/Plugins/EngineSettings.cs
@@ -209,7 +209,7 @@ internal static class EngineSettings
}
/// When true (default) and the ImGui shell is off, plugins that export
- /// RynthPluginRenderOverlay draw their extra ImGui windows (RynthAi: ILT Hub, Item Info)
+ /// RynthPluginRenderOverlay draw their extra ImGui windows (RynthAi: Mini Remote, Item Info; RynthILT: Games HUD)
/// beside the Avalonia UI. engine.json "EnablePluginOverlayWindows": false hides them.
/// Needs .
public static bool EnablePluginOverlayWindows
diff --git a/src/RynthCore.Engine/Plugins/PluginManager.cs b/src/RynthCore.Engine/Plugins/PluginManager.cs
index 6604836..8965039 100644
--- a/src/RynthCore.Engine/Plugins/PluginManager.cs
+++ b/src/RynthCore.Engine/Plugins/PluginManager.cs
@@ -1189,7 +1189,7 @@ internal static partial class PluginManager
///
/// ImGui-shell-off counterpart of : calls the optional
/// RynthPluginRenderOverlay export, where a plugin draws only the extra windows that have
- /// no Avalonia panel (e.g. RynthAi's ILT Hub). They float beside the Avalonia UI and add to it.
+ /// no Avalonia panel (e.g. RynthAi's Mini Remote, RynthILT's Games HUD). They float beside the Avalonia UI and add to it.
/// A throw switches off just that plugin's overlay windows; the plugin is NOT marked Failed,
/// so its tick/automation and Avalonia panels keep running.
///
diff --git a/src/RynthCore.Engine/UI/Data/IltData.cs b/src/RynthCore.Engine/UI/Data/IltData.cs
new file mode 100644
index 0000000..0e35720
--- /dev/null
+++ b/src/RynthCore.Engine/UI/Data/IltData.cs
@@ -0,0 +1,111 @@
+// ============================================================================
+// RynthCore.Engine - UI/Data/IltData.cs
+// The RynthILT plugin's side of the ILT section (Infinite Leaftide), apart from
+// the Bounties window (BountiesData.cs): whether RynthILT is loaded and what it
+// says about the world, and the commands the engine sends it.
+//
+// Since 2026-10-13 every ILT feature is RynthILT's (the ILT Hub moved out of
+// RynthAi): the Guardian panel (RynthPluginRenderEmbed "guardian"), the Skills
+// panel's Progression tab (RynthILTGetProgressionJson, "prog ..." through
+// RynthILTCommand) and the Mini Remote's ILT tabs (RynthAi hosts those and asks
+// RynthILT itself).
+//
+// IltStatusSource polls RynthILTGetStatusJson once a second on the pump while
+// RynthILT is installed (EntryPoint subscribes it). IltInfo reads the result:
+// RynthILT loaded, and RynthILT's own ILT verdict (its server list or the
+// character's "Treat this world as ILT"), which counts as ILT next to the
+// engine's host / world-name detection.
+// ============================================================================
+
+using System;
+using System.Runtime.InteropServices;
+using RynthCore.Engine.Compatibility;
+using RynthCore.Engine.Plugins;
+
+namespace RynthCore.Engine.UI.Data;
+
+/// RynthILTGetStatusJson's payload.
+internal sealed class IltPluginStatus
+{
+ public bool Loaded { get; init; }
+ public bool Ilt { get; init; }
+ public bool Forced { get; init; }
+ public bool Available { get; init; }
+ public string World { get; init; } = "";
+
+ public static readonly IltPluginStatus NotLoaded = new();
+}
+
+/// RynthILTGetStatusJson every second while subscribed (EntryPoint, with RynthILT installed).
+internal sealed unsafe class IltStatusSource : UiSource
+{
+ public const string PluginName = "RynthILT";
+
+ private delegate* unmanaged[Cdecl] _get;
+ private string? _lastJson;
+
+ public IltStatusSource() : base("IltStatus", periodMs: 1000) { }
+
+ protected internal override void Poll()
+ {
+ if (_get == null)
+ _get = (delegate* unmanaged[Cdecl])PluginExportBinder.Resolve(PluginName, "RynthILTGetStatusJson");
+ if (_get == null)
+ {
+ // Not loaded (or a RynthILT older than the move: bounties only).
+ IltInfo.SetPluginStatus(loaded: PluginExportBinder.Resolve(PluginName, "RynthPluginTick") != IntPtr.Zero, ilt: false, reason: "");
+ Publish(IltPluginStatus.NotLoaded);
+ return;
+ }
+ IntPtr p = _get();
+ string? json = p == IntPtr.Zero ? null : Marshal.PtrToStringUTF8(p);
+ if (string.IsNullOrEmpty(json) || json == _lastJson) return;
+ _lastJson = json;
+ if (!IltDetect.ParsePluginStatus(json, out bool loaded, out bool ilt, out bool forced, out bool available, out string world))
+ return;
+ var status = new IltPluginStatus { Loaded = loaded, Ilt = ilt, Forced = forced, Available = available, World = world };
+ IltInfo.SetPluginStatus(status.Loaded, status.Ilt,
+ status.Forced ? "RynthILT: \"Treat this world as ILT\" is ticked for this character" : $"RynthILT: world \"{status.World}\" is in its server list");
+ Publish(status);
+ }
+
+ protected internal override void Reset()
+ {
+ _get = null;
+ _lastJson = null;
+ IltInfo.SetPluginStatus(loaded: false, ilt: false, reason: "");
+ ClearSnapshot();
+ }
+}
+
+/// Commands to RynthILT (run on the pump through UiDataHub).
+internal static unsafe class IltCommands
+{
+ private static delegate* unmanaged[Cdecl] _command;
+
+ static IltCommands()
+ {
+ PluginManager.PluginsUnloaded += () => _command = null;
+ }
+
+ ///
+ /// "prog <args>" (the Skills panel's Progression tab). Goes to RynthILT; a RynthAi from before
+ /// the move (no RynthILT command export) still takes it as its own remote command.
+ ///
+ public static void Progression(string value) => UiDataHub.Post("RynthILT prog", () =>
+ {
+ if (!Send("prog " + value)) RynthAiCommands.ApplyRemoteCommand("prog", value);
+ });
+
+ /// One RynthILTCommand call; false when RynthILT doesn't have it. Pump thread.
+ private static bool Send(string text)
+ {
+ if (_command == null)
+ _command = (delegate* unmanaged[Cdecl])PluginExportBinder.Resolve(IltStatusSource.PluginName, "RynthILTCommand");
+ if (_command == null) return false;
+ IntPtr utf8 = Marshal.StringToCoTaskMemUTF8(text);
+ try { _command(utf8); }
+ finally { Marshal.FreeCoTaskMem(utf8); }
+ return true;
+ }
+}
diff --git a/src/RynthCore.Engine/UI/Data/ProgressionData.cs b/src/RynthCore.Engine/UI/Data/ProgressionData.cs
index 84ef2d6..43e700d 100644
--- a/src/RynthCore.Engine/UI/Data/ProgressionData.cs
+++ b/src/RynthCore.Engine/UI/Data/ProgressionData.cs
@@ -1,9 +1,10 @@
// ============================================================================
// RynthCore.Engine - UI/Data/ProgressionData.cs
-// RynthAi's ILT progression planners (augmentations, enlightenment) and the
-// infinite-attribute raiser for the Skills panel's Progression tab. RynthAi owns the math and the persisted
-// inputs; this side only shows the snapshot and sends "prog ..." remote
-// commands (RynthAiCommands.ApplyRemoteCommand) for edits and actions.
+// The ILT progression planners (augmentations, enlightenment) and the
+// infinite-attribute raiser for the Skills panel's Progression tab: RynthILT's
+// since the ILT Hub moved there (2026-10-13; RynthAi's before, still read from
+// an older RynthAi). The plugin owns the math and the persisted inputs; this side
+// only shows the snapshot and sends "prog ..." commands (IltCommands.Progression).
// ============================================================================
using System;
@@ -14,7 +15,7 @@ using RynthCore.Engine.Plugins;
namespace RynthCore.Engine.UI.Data;
-/// RynthPluginGetProgressionJson's payload. Display strings arrive preformatted.
+/// RynthILTGetProgressionJson's payload (RynthAi's RynthPluginGetProgressionJson before). Display strings arrive preformatted.
internal sealed class ProgressionInfo
{
/// False off ILT-like worlds (or before the ILT Hub exists): the tab is hidden.
@@ -22,11 +23,11 @@ internal sealed class ProgressionInfo
[JsonPropertyName("world")] public string World { get; set; } = "";
[JsonPropertyName("aug")] public AugPlanner Aug { get; set; } = new();
[JsonPropertyName("enl")] public EnlPlanner Enl { get; set; } = new();
- /// Absent from an older RynthAi: stays empty and the section shows "update RynthAi".
+ /// Absent from a much older RynthAi: stays empty and the section shows "update".
[JsonPropertyName("attr")] public AttrRaiser? Attr { get; set; }
}
-/// RynthAi's IltAttributeRaiser: server costs ("/xp all") and the raise settings.
+/// The ILT Hub's IltAttributeRaiser (RynthILT): server costs ("/xp all") and the raise settings.
internal sealed class AttrRaiser
{
/// The raiser can't run here; says why.
@@ -181,17 +182,25 @@ internal sealed partial class ProgressionJsonContext : JsonSerializerContext { }
///
internal sealed unsafe class ProgressionSource : UiSource
{
+ // RynthILT's RynthILTGetProgressionJson (UTF-8) since the ILT Hub moved there (2026-10-13);
+ // a RynthAi from before the move answers RynthPluginGetProgressionJson (ANSI) instead.
private delegate* unmanaged[Cdecl] _getProgressionJson;
+ private bool _utf8;
public ProgressionSource() : base("Progression", periodMs: 1000) { }
protected internal override void Poll()
{
if (_getProgressionJson == null)
- _getProgressionJson = (delegate* unmanaged[Cdecl])PluginExportBinder.Resolve("RynthAi", "RynthPluginGetProgressionJson");
+ {
+ _getProgressionJson = (delegate* unmanaged[Cdecl])PluginExportBinder.Resolve("RynthILT", "RynthILTGetProgressionJson");
+ _utf8 = _getProgressionJson != null;
+ if (_getProgressionJson == null)
+ _getProgressionJson = (delegate* unmanaged[Cdecl])PluginExportBinder.Resolve("RynthAi", "RynthPluginGetProgressionJson");
+ }
if (_getProgressionJson == null) return;
IntPtr p = _getProgressionJson();
- string json = p == IntPtr.Zero ? "{}" : Marshal.PtrToStringAnsi(p) ?? "{}";
+ string json = p == IntPtr.Zero ? "{}" : (_utf8 ? Marshal.PtrToStringUTF8(p) : Marshal.PtrToStringAnsi(p)) ?? "{}";
ProgressionInfo info;
try { info = JsonSerializer.Deserialize(json, ProgressionJsonContext.Default.ProgressionInfo) ?? new ProgressionInfo(); }
catch (JsonException) { info = new ProgressionInfo(); }
diff --git a/src/RynthCore.Engine/UI/Data/SettingsData.cs b/src/RynthCore.Engine/UI/Data/SettingsData.cs
index 4246433..7135154 100644
--- a/src/RynthCore.Engine/UI/Data/SettingsData.cs
+++ b/src/RynthCore.Engine/UI/Data/SettingsData.cs
@@ -48,13 +48,6 @@ internal sealed class RynthAiSettings
// Decal bridge: stop RynthAi's macro when VTank's starts (one bot per client). Default on;
// an older RynthAi doesn't send it, and a missing field must not read as "off".
public bool YieldToVTank { get; set; } = true;
- // Server Features (RynthAi ServerFeatureGate): world names that turn on the ILT Hub, the
- // Progression planners and the attribute raiser, plus a manual override. An older RynthAi
- // doesn't send them; RynthAi lays a save over its current values, so these defaults are
- // only ever shown, never applied. ServerFeaturesStatus is read-only (RynthAi ignores it).
- public string FeatureServerNames { get; set; } = "InfiniteLeaftide, *Leaftide*";
- public bool ForceServerFeatures { get; set; }
- public string ServerFeaturesStatus { get; set; } = string.Empty;
public bool EnableRaycasting { get; set; }
public bool UseArcs { get; set; }
public float BowArcVelocity { get; set; } = 25f;
@@ -79,6 +72,9 @@ internal sealed class RynthAiSettings
// Not shown in the panel, but carried so a save doesn't send them missing.
public int BlacklistCastSettleMs { get; set; } = 1500;
public int MonsterDisengageRange { get; set; }
+ // Ranges > Combat Targeting. Null until RynthAi sends them; an older RynthAi leaves them alone.
+ public int? TargetSelection { get; set; }
+ public bool? TargetLock { get; set; }
public int TargetNoProgressTimeoutSec { get; set; }
public int GiveQueueIntervalMs { get; set; } = 150;
// Recharge
@@ -691,17 +687,8 @@ internal static class SettingsSchema
Bool("Yield to VTank", s => s.YieldToVTank, (s, v) => s.YieldToVTank = v,
"With Decal: when VTank's macro starts (/vt start), RynthAi's macro stops, and it won't start while VTank runs.\nOne bot per client. Without Decal this does nothing. Also: /ra vtankyield on|off."),
Bool("Enable Raycasting", s => s.EnableRaycasting, (s, v) => s.EnableRaycasting = v),
- Spacer(),
- Section("Server Features (ILT / infinite attributes)"),
- Status(s => s.ServerFeaturesStatus),
- Text("Servers", s => s.FeatureServerNames, (s, v) => s.FeatureServerNames = v,
- "Comma-separated world names that turn on the ILT Hub, the Skills panel's Progression planners\n" +
- "and the attribute raiser. * is a wildcard (*Leaftide* matches any name containing Leaftide).\n" +
- "Case does not matter. Saved with the RynthAi profile.",
- hint: "InfiniteLeaftide, *Leaftide*"),
- Bool("Force enable on this server (manual override)", s => s.ForceServerFeatures, (s, v) => s.ForceServerFeatures = v,
- "Turn the features on for whatever world you are on, even if it is not in the list.\n" +
- "Each feature still follows what the server reports (for example /xp off keeps the attribute raiser off)."),
+ // The Server Features (ILT) rows went with the ILT Hub to RynthILT (2026-10-13): its world
+ // list and "Treat this world as ILT" are on the Mini Remote's Character tab (/ra hub servers).
Spacer(),
Section("Missile Arc Velocities (m/s)"),
Bool("Use Arcs for Missile LoS", s => s.UseArcs, (s, v) => s.UseArcs = v,
@@ -861,6 +848,17 @@ internal static class SettingsSchema
Int("Monster Range", s => s.MonsterRange, (s, v) => s.MonsterRange = v, 1, 200, 1, MonsterRangeTip),
Int("Ring Range", s => s.RingRange, (s, v) => s.RingRange = v, 1, 50, 1, RingRangeTip),
Int("Approach Range", s => s.ApproachRange, (s, v) => s.ApproachRange = v, 1, 50, 1, ApproachRangeTip),
+ Int("Disengage Range", s => s.MonsterDisengageRange, (s, v) => s.MonsterDisengageRange = v, 0, 200, 1,
+ "Drop a locked target only once it is this far away (yards).\n0, or anything up to Monster Range, = automatic (Monster Range + 3)."),
+ Spacer(),
+ Section("Combat Targeting"),
+ Combo("Targeting", new[] { "Lowest health", "Closest", "Farthest", "Least turning" },
+ s => Math.Clamp(s.TargetSelection ?? 0, 0, 3), (s, v) => s.TargetSelection = Math.Clamp(v, 0, 3),
+ "Which monster to attack, among those of the highest priority inside Monster Range.\n" +
+ "Least turning: the one needing the smallest turn to face. Unknown health counts as full."),
+ Bool("Target Lock", s => s.TargetLock ?? true, (s, v) => s.TargetLock = v,
+ "On: keeps the target it picked until it dies, leaves range (Disengage Range), or a higher-priority monster shows up.\n" +
+ "Off: switches whenever another monster is clearly better by the Targeting rule."),
Spacer(),
Section("Corpse Acquisition (Yards)"),
Double("Corpse Max (yd)", s => s.CorpseApproachRangeMax, (s, v) => s.CorpseApproachRangeMax = v, 0.5, 50.0, 0.5, CorpseMaxTip),
diff --git a/src/RynthCore.Engine/UI/Data/UiSources.cs b/src/RynthCore.Engine/UI/Data/UiSources.cs
index 1834ca1..8a086cb 100644
--- a/src/RynthCore.Engine/UI/Data/UiSources.cs
+++ b/src/RynthCore.Engine/UI/Data/UiSources.cs
@@ -35,11 +35,13 @@ internal static class UiSources
public static readonly LootEditSource LootEdit = new();
public static readonly SenseSource Sense = new();
public static readonly BountiesSource Bounties = new();
+ public static readonly IltStatusSource IltStatus = new();
public static readonly CharactersSource Characters = new();
static UiSources()
{
UiDataHub.Register(Bounties);
+ UiDataHub.Register(IltStatus);
UiDataHub.Register(Settings);
UiDataHub.Register(Meta);
UiDataHub.Register(LootEdit);
diff --git a/src/RynthCore.Engine/UI/Panels/RynthAiPanel.cs b/src/RynthCore.Engine/UI/Panels/RynthAiPanel.cs
index bc2c0d4..eb0ea9d 100644
--- a/src/RynthCore.Engine/UI/Panels/RynthAiPanel.cs
+++ b/src/RynthCore.Engine/UI/Panels/RynthAiPanel.cs
@@ -590,7 +590,7 @@ internal static partial class RynthAiPanel
ShowPatrolFlyout(patrolBtn);
}
};
- // Char: same as typing "/ra hub show". The ILT Hub is an ImGui overlay window with no
+ // Char: same as typing "/ra hub show". The Mini Remote is an ImGui overlay window with no
// Avalonia panel, so this is the panel's way to open it.
var charBtn = AddLauncher(launcherGrid, 2, 0, "Char", "♥",
onClick: () =>
@@ -598,7 +598,7 @@ internal static partial class RynthAiPanel
ClosePicker();
RynthAiCommands.ApplyRemoteCommand("hub", "show");
});
- ToolTip.SetTip(charBtn, "Open the character hub (ILT Hub) window (/ra hub show).");
+ ToolTip.SetTip(charBtn, "Open the Mini Remote (/ra hub show).");
// Hub: the Mini Remote and the Inventory HUDs setup are ImGui windows inside RynthAi.
var hudBtn = AddLauncher(launcherGrid, 2, 1, "Hub", "▣",
diff --git a/src/RynthCore.Engine/UI/Panels/SettingsPanel.cs b/src/RynthCore.Engine/UI/Panels/SettingsPanel.cs
index df6f44e..e5abf9d 100644
--- a/src/RynthCore.Engine/UI/Panels/SettingsPanel.cs
+++ b/src/RynthCore.Engine/UI/Panels/SettingsPanel.cs
@@ -804,7 +804,7 @@ internal static class SettingsPanel
}
///
- /// [All on] [All off] [ILT Hub on] over a 3-column grid of toggles, one per RynthAi trace
+ /// [All on] [All off] over a 3-column grid of toggles, one per RynthAi trace
/// category. Each change edits DiagCategories, saves, and rebuilds the tab so the grid redraws.
///
private static Control TraceCategoriesRow(PanelState state, SettingRow row)
@@ -835,7 +835,6 @@ internal static class SettingsPanel
var buttons = new StackPanel { Orientation = Orientation.Horizontal, Spacing = 6, Margin = new Thickness(0, 0, 0, 4) };
buttons.Children.Add(Bulk("All on", () => TraceCategoryLevels.Set(state.Data.DiagCategories, "", true)));
buttons.Children.Add(Bulk("All off", () => TraceCategoryLevels.Set(state.Data.DiagCategories, "", false)));
- buttons.Children.Add(Bulk("ILT Hub on", () => TraceCategoryLevels.Set(state.Data.DiagCategories, "", true, "Ilt")));
if (row.Tooltip != null)
{
ToolTip.SetTip(buttons, row.Tooltip);
diff --git a/tools/HotkeyTests/Program.cs b/tools/HotkeyTests/Program.cs
index c0f28ab..ecc87f6 100644
--- a/tools/HotkeyTests/Program.cs
+++ b/tools/HotkeyTests/Program.cs
@@ -39,6 +39,7 @@ internal static class Program
Run("CommandParsing", CommandParsing);
Run("VTankActions", VTankActions);
Run("MetaStateParam", MetaStateParam);
+ Run("IltPanelsOnlyOnIlt", IltPanelsOnlyOnIlt);
}
finally
{
@@ -316,6 +317,37 @@ internal static class Program
Check(wWarn.Count == 1 && wWarn[0].Contains("AC won't get that key"), "AC-key warning text");
}
+ // RynthILT's panels (Bounties, Guardian) are hotkey actions only where the bar's ILT button is:
+ // Infinite Leaftide with RynthILT loaded (the engine sets IltAvailable from IltInfo).
+ private static void IltPanelsOnlyOnIlt()
+ {
+ Func saved = HotkeyActions.IltAvailable;
+ try
+ {
+ HotkeyAction? bounties = HotkeyActions.Find("panel:Bounties");
+ HotkeyAction? guardian = HotkeyActions.Find("panel:Guardian");
+ Check(bounties is { Ilt: true, Panel: "Bounties" } && guardian is { Ilt: true, Panel: "Guardian" }, "both ILT panels are built-ins, marked ILT");
+ int iltCount = 0;
+ foreach (HotkeyAction a in HotkeyActions.BuiltIns) if (a.Ilt) iltCount++;
+ Check(iltCount == 2, "only those two are ILT");
+
+ HotkeyActions.IltAvailable = static () => false;
+ Check(!HotkeyActions.Offered(bounties!) && !HotkeyActions.Offered(guardian!), "off ILT: not offered");
+ Check(HotkeyActions.Resolve("bounties") == null && HotkeyActions.Resolve("panel guardian") == null, "off ILT: can't be typed");
+ Check(HotkeyActions.Offered(HotkeyActions.Find("panel:Radar")!), "other panels are offered anywhere");
+ Check(HotkeyActions.Describe(new HotkeyBinding(new KeyCombo(VK_F5, 0), "panel:Bounties")).Contains("Bounties"),
+ "off ILT a saved binding still describes itself");
+
+ HotkeyActions.IltAvailable = static () => true;
+ Check(HotkeyActions.Offered(bounties!) && HotkeyActions.Resolve("bounties") == bounties, "on ILT: offered, typed by title");
+ Check(HotkeyActions.Resolve("panel guardian") == guardian, "on ILT: 'panel guardian'");
+
+ HotkeyActions.IltAvailable = static () => throw new InvalidOperationException("no engine");
+ Check(!HotkeyActions.Offered(bounties!), "a failing check counts as off ILT");
+ }
+ finally { HotkeyActions.IltAvailable = saved; }
+ }
+
private static void ActionsResolve()
{
Check(HotkeyActions.Resolve("combat")?.Id == "combat", "id");
@@ -332,7 +364,7 @@ internal static class Program
{
Check(ids.Add(a.Id), $"unique id {a.Id}");
Check(HotkeyActions.Find(a.Id) == a, $"Find({a.Id})");
- Check(HotkeyActions.Resolve(a.Id) == a, $"Resolve({a.Id})");
+ Check(HotkeyActions.Resolve(a.Id) == (HotkeyActions.Offered(a) ? a : null), $"Resolve({a.Id})");
}
Check(HotkeyActions.Describe(new HotkeyBinding(new KeyCombo(VK_F1, 0), "command", "/ra start")) == "Chat: /ra start", "describe command");
Check(HotkeyActions.Describe(new HotkeyBinding(new KeyCombo(VK_F1, 0), "gone")).Contains("Unknown"), "describe unknown");
diff --git a/tools/IltTests/Program.cs b/tools/IltTests/Program.cs
index 8054d00..5728d2f 100644
--- a/tools/IltTests/Program.cs
+++ b/tools/IltTests/Program.cs
@@ -20,6 +20,7 @@ internal static class Program
ConfiguredLists();
FromCommandLines();
Wildcards();
+ PluginVerdict();
Console.WriteLine();
Console.WriteLine($"{_checks - _failed}/{_checks} checks passed.");
@@ -28,6 +29,31 @@ internal static class Program
return _failed == 0 ? 0 : 1;
}
+ // RynthILT's own verdict (2026-10-13: every ILT feature is RynthILT's, which keeps its own world
+ // list and a per-character "Treat this world as ILT"): read from RynthILTGetStatusJson, added to
+ // the engine's.
+ private static void PluginVerdict()
+ {
+ Case("RynthILT's verdict");
+ Check(IltDetect.ParsePluginStatus("{\"loaded\":true,\"ilt\":true,\"forced\":true,\"available\":false,\"world\":\"MyShard\"}",
+ out bool loaded, out bool ilt, out bool forced, out bool available, out string world)
+ && loaded && ilt && forced && !available && world == "MyShard", "the status JSON parses");
+ Check(IltDetect.ParsePluginStatus("{\"loaded\":true}", out loaded, out ilt, out forced, out available, out world)
+ && loaded && !ilt && !forced && !available && world == "", "missing fields read false / empty");
+ Check(!IltDetect.ParsePluginStatus("not json", out _, out _, out _, out _, out _), "garbage is refused");
+ Check(!IltDetect.ParsePluginStatus("[]", out _, out _, out _, out _, out _), "not an object is refused");
+ Check(!IltDetect.ParsePluginStatus(null, out _, out _, out _, out _, out _), "nothing is refused");
+
+ var no = IltDetect.Decide(null, "Aeshnidae", null, null);
+ var yes = IltDetect.Decide("game.infiniteleaftide.online", null, null, null);
+ var forcedHere = IltDetect.Combine(no, true, "RynthILT: \"Treat this world as ILT\" is ticked for this character");
+ Check(forcedHere.IsIlt && forcedHere.Reason.Contains("Treat this world"), "RynthILT's override makes it ILT: " + forcedHere.Reason);
+ Check(!IltDetect.Combine(no, false, "x").IsIlt, "RynthILT saying no changes nothing");
+ Check(ReferenceEquals(IltDetect.Combine(yes, false, ""), yes), "RynthILT can't take ILT away from the engine's verdict");
+ Check(ReferenceEquals(IltDetect.Combine(yes, true, "x"), yes), "the engine's own reason is kept when both agree");
+ Check(IltDetect.Combine(no, true, null).Reason.Contains("RynthILT"), "a missing reason still names RynthILT");
+ }
+
private static void Hosts()
{
Case("hosts");