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 <cursoragent@cursor.com>
This commit is contained in:
parent
7797901d69
commit
ce99818e17
19 changed files with 60 additions and 32 deletions
|
|
@ -4,8 +4,8 @@
|
|||
ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthAChard</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>achard</RynthPluginServerId>
|
||||
<RynthPluginServerName>AChard</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>a-chard.ddns.net</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
The build is shared (..\Shared\ServerPack\ServerPlugin.props); ServerData.cs holds what is known. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthAelrynth</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>aelrynth</RynthPluginServerId>
|
||||
<RynthPluginServerName>Aelrynth</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>aelrynth.com|144.217.84.148</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthColdeve</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>coldeve</RynthPluginServerId>
|
||||
<RynthPluginServerName>Coldeve</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>play.coldeve.ac</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
(..\Shared\ServerPack\ServerPlugin.props); ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthConquest</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>conquest</RynthPluginServerId>
|
||||
<RynthPluginServerName>Conquest</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>acconquest.ddns.net</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthDerptide</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>derptide</RynthPluginServerId>
|
||||
<RynthPluginServerName>Derptide</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>ac.derptide.net</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthDreamWeave</AssemblyName>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<!-- Previous release: 0.1.5. -->
|
||||
<Version>0.1.6</Version>
|
||||
<RynthPluginServerId>dreamweave</RynthPluginServerId>
|
||||
<RynthPluginServerName>DreamWeave</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>play.acdreamweave.com</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthEversong</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>eversong</RynthPluginServerId>
|
||||
<RynthPluginServerName>Eversong</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>eversong.abrdns.com</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
is shared (..\Shared\ServerPack\ServerPlugin.props); ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthFrostACE</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>frostace</RynthPluginServerId>
|
||||
<RynthPluginServerName>FrostACE</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>172.111.230.127</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthFrostcull</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>frostcull</RynthPluginServerId>
|
||||
<RynthPluginServerName>Frostcull</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>frostcull.ddns.net</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
(..\Shared\ServerPack\ServerPlugin.props); ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthLeafDawn</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>leafdawn</RynthPluginServerId>
|
||||
<RynthPluginServerName>LeafDawn</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>leafdawn.hopto.org</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
(..\Shared\ServerPack\ServerPlugin.props); ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthLeafdawning</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>leafdawning</RynthPluginServerId>
|
||||
<RynthPluginServerName>Leafdawning</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>leafdawning.duckdns.org</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
(..\Shared\ServerPack\ServerPlugin.props); ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthLevistras</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>levistras</RynthPluginServerId>
|
||||
<RynthPluginServerName>Levistras</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>levistras.acportalstorm.com</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthPortalStorm</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>portalstorm</RynthPluginServerId>
|
||||
<RynthPluginServerName>PortalStorm</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>ac.portalstorm.us.com</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthReefcull</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>reefcull</RynthPluginServerId>
|
||||
<RynthPluginServerName>Reefcull</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>reefcull.gdleac.com</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthSundering</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>sundering</RynthPluginServerId>
|
||||
<RynthPluginServerName>Sundering</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>ace.sunderingac.com</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
ServerData.cs holds what is known about the server. -->
|
||||
<PropertyGroup>
|
||||
<AssemblyName>RynthCore.Plugin.RynthThistlecrown</AssemblyName>
|
||||
<!-- Previous release: 0.1.2. -->
|
||||
<Version>0.1.4</Version>
|
||||
<!-- Previous release: 0.1.4. -->
|
||||
<Version>0.1.5</Version>
|
||||
<RynthPluginServerId>thistlecrown</RynthPluginServerId>
|
||||
<RynthPluginServerName>Thistlecrown</RynthPluginServerName>
|
||||
<RynthPluginServerHosts>thistlecrown.ddns.net</RynthPluginServerHosts>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@
|
|||
|
||||
<ItemGroup>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)..\SafeImGui.cs" Link="Shared\SafeImGui.cs" />
|
||||
<!-- ImGui.NET bound to the engine's cimgui (one ImGui, one current context; pop-outs included). -->
|
||||
<Compile Include="$(MSBuildThisFileDirectory)..\ImGuiNativeBinding.cs" Link="Shared\ImGuiNativeBinding.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)ServerPackInfo.cs" Link="ServerPack\ServerPackInfo.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)ServerPackModel.cs" Link="ServerPack\ServerPackModel.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)ServerPackUi.cs" Link="ServerPack\ServerPackUi.cs" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue