From ce99818e17a53ea31256a67e977a6ad2cfb5e569 Mon Sep 17 00:00:00 2001 From: BlankenshipG Date: Mon, 19 Oct 2026 20:31:38 -0400 Subject: [PATCH] fix(server plugins): the server card binds ImGui.NET to the engine's cimgui (server plugins +0.0.1) A second ImGui copy drew the card against the main context in a popped-out Mini Remote and crashed the client (SK on DreamWeave). Co-authored-by: Cursor --- ...-10-20-server-plugins-bind-engine-imgui.md | 23 +++++++++++++++++++ .../RynthCore.Plugin.RynthAChard.csproj | 4 ++-- .../RynthCore.Plugin.RynthAelrynth.csproj | 4 ++-- .../RynthCore.Plugin.RynthColdeve.csproj | 4 ++-- .../RynthCore.Plugin.RynthConquest.csproj | 4 ++-- .../RynthCore.Plugin.RynthDerptide.csproj | 4 ++-- .../RynthCore.Plugin.RynthDreamWeave.csproj | 4 ++-- .../RynthCore.Plugin.RynthEversong.csproj | 4 ++-- .../RynthCore.Plugin.RynthFrostACE.csproj | 4 ++-- .../RynthCore.Plugin.RynthFrostcull.csproj | 4 ++-- .../RynthCore.Plugin.RynthLeafDawn.csproj | 4 ++-- .../RynthCore.Plugin.RynthLeafdawning.csproj | 4 ++-- .../RynthCore.Plugin.RynthLevistras.csproj | 4 ++-- .../RynthCore.Plugin.RynthPortalStorm.csproj | 4 ++-- .../RynthCore.Plugin.RynthReefcull.csproj | 4 ++-- .../RynthCore.Plugin.RynthSundering.csproj | 4 ++-- .../RynthCore.Plugin.RynthThistlecrown.csproj | 4 ++-- Plugins/Shared/ServerPack/ServerPackPlugin.cs | 3 +++ Plugins/Shared/ServerPack/ServerPlugin.props | 2 ++ 19 files changed, 60 insertions(+), 32 deletions(-) create mode 100644 Changelog/2026-10-20-server-plugins-bind-engine-imgui.md diff --git a/Changelog/2026-10-20-server-plugins-bind-engine-imgui.md b/Changelog/2026-10-20-server-plugins-bind-engine-imgui.md new file mode 100644 index 0000000..1fcb95d --- /dev/null +++ b/Changelog/2026-10-20-server-plugins-bind-engine-imgui.md @@ -0,0 +1,23 @@ +# Server plugins: the server card draws through the engine's ImGui (2026-10-20) + +All 16 server plugins: patch versions bumped (RynthDreamWeave 0.1.5 -> 0.1.6, the others +0.1.4 -> 0.1.5). Built with the engine fix in RynthCore 2026.10.20.4. + +## Why + +SK's client on DreamWeave died when the server card was opened in a popped-out Mini Remote +(2026-10-19 20:15 and 20:19). The server card drew with a second copy of ImGui (its own +`cimgui.dll`), whose current context is the main window's. A popped-out window draws in a context +of its own, so the card's first ImGui call faulted outside a frame, and the runtime aborted the +client. Details: RynthCore `Changelog/2026-10-20-popout-plugin-imgui-context-crash-2026.10.20.4.md`. + +## Changed + +- `Shared/ServerPack/ServerPackPlugin.cs`: `Initialize` calls `ImGuiNativeBinding.Ensure`, as + RynthAi and RynthILT do. The card's ImGui.NET then binds to the engine's `RynthCore.cimgui.dll` + and draws in the engine's current context, a pop-out's included. +- `Shared/ServerPack/ServerPlugin.props` compiles `Shared/ImGuiNativeBinding.cs` into every server + plugin. + +The installed server plugins (rynth's 2026.10.19.1 managed builds) are covered by the engine fix +alone: the engine now binds every managed plugin's ImGui.NET to its own module. diff --git a/Plugins/RynthCore.Plugin.RynthAChard/RynthCore.Plugin.RynthAChard.csproj b/Plugins/RynthCore.Plugin.RynthAChard/RynthCore.Plugin.RynthAChard.csproj index 64b4dad..361e6f9 100644 --- a/Plugins/RynthCore.Plugin.RynthAChard/RynthCore.Plugin.RynthAChard.csproj +++ b/Plugins/RynthCore.Plugin.RynthAChard/RynthCore.Plugin.RynthAChard.csproj @@ -4,8 +4,8 @@ ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthAChard - - 0.1.4 + + 0.1.5 achard AChard a-chard.ddns.net diff --git a/Plugins/RynthCore.Plugin.RynthAelrynth/RynthCore.Plugin.RynthAelrynth.csproj b/Plugins/RynthCore.Plugin.RynthAelrynth/RynthCore.Plugin.RynthAelrynth.csproj index 7f97c07..2a406e1 100644 --- a/Plugins/RynthCore.Plugin.RynthAelrynth/RynthCore.Plugin.RynthAelrynth.csproj +++ b/Plugins/RynthCore.Plugin.RynthAelrynth/RynthCore.Plugin.RynthAelrynth.csproj @@ -5,8 +5,8 @@ The build is shared (..\Shared\ServerPack\ServerPlugin.props); ServerData.cs holds what is known. --> RynthCore.Plugin.RynthAelrynth - - 0.1.4 + + 0.1.5 aelrynth Aelrynth aelrynth.com|144.217.84.148 diff --git a/Plugins/RynthCore.Plugin.RynthColdeve/RynthCore.Plugin.RynthColdeve.csproj b/Plugins/RynthCore.Plugin.RynthColdeve/RynthCore.Plugin.RynthColdeve.csproj index 9484a95..4423fbf 100644 --- a/Plugins/RynthCore.Plugin.RynthColdeve/RynthCore.Plugin.RynthColdeve.csproj +++ b/Plugins/RynthCore.Plugin.RynthColdeve/RynthCore.Plugin.RynthColdeve.csproj @@ -4,8 +4,8 @@ ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthColdeve - - 0.1.4 + + 0.1.5 coldeve Coldeve play.coldeve.ac diff --git a/Plugins/RynthCore.Plugin.RynthConquest/RynthCore.Plugin.RynthConquest.csproj b/Plugins/RynthCore.Plugin.RynthConquest/RynthCore.Plugin.RynthConquest.csproj index 0e6ddfe..ae620aa 100644 --- a/Plugins/RynthCore.Plugin.RynthConquest/RynthCore.Plugin.RynthConquest.csproj +++ b/Plugins/RynthCore.Plugin.RynthConquest/RynthCore.Plugin.RynthConquest.csproj @@ -4,8 +4,8 @@ (..\Shared\ServerPack\ServerPlugin.props); ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthConquest - - 0.1.4 + + 0.1.5 conquest Conquest acconquest.ddns.net diff --git a/Plugins/RynthCore.Plugin.RynthDerptide/RynthCore.Plugin.RynthDerptide.csproj b/Plugins/RynthCore.Plugin.RynthDerptide/RynthCore.Plugin.RynthDerptide.csproj index 8fd3b43..bd02ec2 100644 --- a/Plugins/RynthCore.Plugin.RynthDerptide/RynthCore.Plugin.RynthDerptide.csproj +++ b/Plugins/RynthCore.Plugin.RynthDerptide/RynthCore.Plugin.RynthDerptide.csproj @@ -4,8 +4,8 @@ ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthDerptide - - 0.1.4 + + 0.1.5 derptide Derptide ac.derptide.net diff --git a/Plugins/RynthCore.Plugin.RynthDreamWeave/RynthCore.Plugin.RynthDreamWeave.csproj b/Plugins/RynthCore.Plugin.RynthDreamWeave/RynthCore.Plugin.RynthDreamWeave.csproj index da5ccdc..3578e73 100644 --- a/Plugins/RynthCore.Plugin.RynthDreamWeave/RynthCore.Plugin.RynthDreamWeave.csproj +++ b/Plugins/RynthCore.Plugin.RynthDreamWeave/RynthCore.Plugin.RynthDreamWeave.csproj @@ -4,8 +4,8 @@ ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthDreamWeave - - 0.1.5 + + 0.1.6 dreamweave DreamWeave play.acdreamweave.com diff --git a/Plugins/RynthCore.Plugin.RynthEversong/RynthCore.Plugin.RynthEversong.csproj b/Plugins/RynthCore.Plugin.RynthEversong/RynthCore.Plugin.RynthEversong.csproj index 0964617..2c247f1 100644 --- a/Plugins/RynthCore.Plugin.RynthEversong/RynthCore.Plugin.RynthEversong.csproj +++ b/Plugins/RynthCore.Plugin.RynthEversong/RynthCore.Plugin.RynthEversong.csproj @@ -4,8 +4,8 @@ ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthEversong - - 0.1.4 + + 0.1.5 eversong Eversong eversong.abrdns.com diff --git a/Plugins/RynthCore.Plugin.RynthFrostACE/RynthCore.Plugin.RynthFrostACE.csproj b/Plugins/RynthCore.Plugin.RynthFrostACE/RynthCore.Plugin.RynthFrostACE.csproj index ee9ed8b..6d33ac1 100644 --- a/Plugins/RynthCore.Plugin.RynthFrostACE/RynthCore.Plugin.RynthFrostACE.csproj +++ b/Plugins/RynthCore.Plugin.RynthFrostACE/RynthCore.Plugin.RynthFrostACE.csproj @@ -4,8 +4,8 @@ is shared (..\Shared\ServerPack\ServerPlugin.props); ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthFrostACE - - 0.1.4 + + 0.1.5 frostace FrostACE 172.111.230.127 diff --git a/Plugins/RynthCore.Plugin.RynthFrostcull/RynthCore.Plugin.RynthFrostcull.csproj b/Plugins/RynthCore.Plugin.RynthFrostcull/RynthCore.Plugin.RynthFrostcull.csproj index 77b6ee5..e5c5f62 100644 --- a/Plugins/RynthCore.Plugin.RynthFrostcull/RynthCore.Plugin.RynthFrostcull.csproj +++ b/Plugins/RynthCore.Plugin.RynthFrostcull/RynthCore.Plugin.RynthFrostcull.csproj @@ -4,8 +4,8 @@ ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthFrostcull - - 0.1.4 + + 0.1.5 frostcull Frostcull frostcull.ddns.net diff --git a/Plugins/RynthCore.Plugin.RynthLeafDawn/RynthCore.Plugin.RynthLeafDawn.csproj b/Plugins/RynthCore.Plugin.RynthLeafDawn/RynthCore.Plugin.RynthLeafDawn.csproj index f42c0a8..a39ef5b 100644 --- a/Plugins/RynthCore.Plugin.RynthLeafDawn/RynthCore.Plugin.RynthLeafDawn.csproj +++ b/Plugins/RynthCore.Plugin.RynthLeafDawn/RynthCore.Plugin.RynthLeafDawn.csproj @@ -4,8 +4,8 @@ (..\Shared\ServerPack\ServerPlugin.props); ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthLeafDawn - - 0.1.4 + + 0.1.5 leafdawn LeafDawn leafdawn.hopto.org diff --git a/Plugins/RynthCore.Plugin.RynthLeafdawning/RynthCore.Plugin.RynthLeafdawning.csproj b/Plugins/RynthCore.Plugin.RynthLeafdawning/RynthCore.Plugin.RynthLeafdawning.csproj index 79048fc..4f147b7 100644 --- a/Plugins/RynthCore.Plugin.RynthLeafdawning/RynthCore.Plugin.RynthLeafdawning.csproj +++ b/Plugins/RynthCore.Plugin.RynthLeafdawning/RynthCore.Plugin.RynthLeafdawning.csproj @@ -4,8 +4,8 @@ (..\Shared\ServerPack\ServerPlugin.props); ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthLeafdawning - - 0.1.4 + + 0.1.5 leafdawning Leafdawning leafdawning.duckdns.org diff --git a/Plugins/RynthCore.Plugin.RynthLevistras/RynthCore.Plugin.RynthLevistras.csproj b/Plugins/RynthCore.Plugin.RynthLevistras/RynthCore.Plugin.RynthLevistras.csproj index 46febf0..386af15 100644 --- a/Plugins/RynthCore.Plugin.RynthLevistras/RynthCore.Plugin.RynthLevistras.csproj +++ b/Plugins/RynthCore.Plugin.RynthLevistras/RynthCore.Plugin.RynthLevistras.csproj @@ -4,8 +4,8 @@ (..\Shared\ServerPack\ServerPlugin.props); ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthLevistras - - 0.1.4 + + 0.1.5 levistras Levistras levistras.acportalstorm.com diff --git a/Plugins/RynthCore.Plugin.RynthPortalStorm/RynthCore.Plugin.RynthPortalStorm.csproj b/Plugins/RynthCore.Plugin.RynthPortalStorm/RynthCore.Plugin.RynthPortalStorm.csproj index 0552214..cad4ce8 100644 --- a/Plugins/RynthCore.Plugin.RynthPortalStorm/RynthCore.Plugin.RynthPortalStorm.csproj +++ b/Plugins/RynthCore.Plugin.RynthPortalStorm/RynthCore.Plugin.RynthPortalStorm.csproj @@ -4,8 +4,8 @@ ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthPortalStorm - - 0.1.4 + + 0.1.5 portalstorm PortalStorm ac.portalstorm.us.com diff --git a/Plugins/RynthCore.Plugin.RynthReefcull/RynthCore.Plugin.RynthReefcull.csproj b/Plugins/RynthCore.Plugin.RynthReefcull/RynthCore.Plugin.RynthReefcull.csproj index 63a1649..0ef3f3f 100644 --- a/Plugins/RynthCore.Plugin.RynthReefcull/RynthCore.Plugin.RynthReefcull.csproj +++ b/Plugins/RynthCore.Plugin.RynthReefcull/RynthCore.Plugin.RynthReefcull.csproj @@ -4,8 +4,8 @@ ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthReefcull - - 0.1.4 + + 0.1.5 reefcull Reefcull reefcull.gdleac.com diff --git a/Plugins/RynthCore.Plugin.RynthSundering/RynthCore.Plugin.RynthSundering.csproj b/Plugins/RynthCore.Plugin.RynthSundering/RynthCore.Plugin.RynthSundering.csproj index b49756f..1377feb 100644 --- a/Plugins/RynthCore.Plugin.RynthSundering/RynthCore.Plugin.RynthSundering.csproj +++ b/Plugins/RynthCore.Plugin.RynthSundering/RynthCore.Plugin.RynthSundering.csproj @@ -4,8 +4,8 @@ ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthSundering - - 0.1.4 + + 0.1.5 sundering Sundering ace.sunderingac.com diff --git a/Plugins/RynthCore.Plugin.RynthThistlecrown/RynthCore.Plugin.RynthThistlecrown.csproj b/Plugins/RynthCore.Plugin.RynthThistlecrown/RynthCore.Plugin.RynthThistlecrown.csproj index 3215ee9..93dd87e 100644 --- a/Plugins/RynthCore.Plugin.RynthThistlecrown/RynthCore.Plugin.RynthThistlecrown.csproj +++ b/Plugins/RynthCore.Plugin.RynthThistlecrown/RynthCore.Plugin.RynthThistlecrown.csproj @@ -4,8 +4,8 @@ ServerData.cs holds what is known about the server. --> RynthCore.Plugin.RynthThistlecrown - - 0.1.4 + + 0.1.5 thistlecrown Thistlecrown thistlecrown.ddns.net diff --git a/Plugins/Shared/ServerPack/ServerPackPlugin.cs b/Plugins/Shared/ServerPack/ServerPackPlugin.cs index 0e0bb16..59a98c8 100644 --- a/Plugins/Shared/ServerPack/ServerPackPlugin.cs +++ b/Plugins/Shared/ServerPack/ServerPackPlugin.cs @@ -85,6 +85,9 @@ public sealed partial class ServerPackPlugin : RynthPluginBase public override int Initialize() { Host.Log($"[{RynthPluginInfo.Name}] Plugin initialized for {Info.Name} ({Info.Id})."); + // The server card draws through the engine's cimgui (and so in its current context, a + // popped-out Mini Remote's included), not a second copy of ImGui (ImGuiNativeBinding.cs). + RynthCore.Plugin.Shared.ImGuiNativeBinding.Ensure(msg => Host.Log($"[{RynthPluginInfo.Name}] {msg}")); ServerInitialize(); return 0; } diff --git a/Plugins/Shared/ServerPack/ServerPlugin.props b/Plugins/Shared/ServerPack/ServerPlugin.props index 540c0e5..cdf66f8 100644 --- a/Plugins/Shared/ServerPack/ServerPlugin.props +++ b/Plugins/Shared/ServerPack/ServerPlugin.props @@ -40,6 +40,8 @@ + +