feat: SK engine work through 2026-10-13 on 2026.10.13.3

Plugin API v86 after rynth's v84 GetObjectProperties: v85 confirmation
answers (ArmConfirmation, GetLastConfirmation), v86 GetServerStateJson.

- One plugin per server, server verdicts, per-character overrides and a
  server picker; skipped server plugins are listed and load when forced On.
- Mini Remote sections and the sections rail; Session Stats; Char menu
  Fellowship and quests; known-server picker in the launcher.
- Items damage-type colors, one Progression Attributes section,
  environment-hit throttle and per-monster attack power settings.
- Security review fixes (SafeImGui, chat-origin checks, StatusAgent 1.0.1).

See Changelog/2026-10-14-sk-engine-work-through-10-13.md.
This commit is contained in:
BlankenshipG 2026-10-14 00:51:23 -04:00
commit e3222805cb
113 changed files with 6207 additions and 759 deletions

View file

@ -43,6 +43,7 @@
<ItemGroup>
<Compile Include="..\RynthCore.App\LaunchServerProfile.cs" Link="Shared\LaunchServerProfile.cs" />
<Compile Include="..\RynthCore.App\KnownServerCatalog.cs" Link="Shared\KnownServerCatalog.cs" />
<Compile Include="..\RynthCore.App\LaunchAccountProfile.cs" Link="Shared\LaunchAccountProfile.cs" />
<Compile Include="..\RynthCore.App\AccountPasswordProtection.cs" Link="Shared\AccountPasswordProtection.cs" />
<Compile Include="..\RynthCore.App\InjectionMode.cs" Link="Shared\InjectionMode.cs" />

View file

@ -1,14 +1,17 @@
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="RynthCore.App.Avalonia.ServerProfileDialog"
Width="520"
Height="420"
Width="560"
Height="560"
CanResize="False"
WindowStartupLocation="CenterOwner"
Title="Server Profile"
Background="#132028">
<Grid RowDefinitions="*,Auto" Margin="18">
<StackPanel Spacing="12">
<TextBlock Text="Known server" Foreground="#EAF0F4" />
<ComboBox x:Name="KnownServerBox" HorizontalAlignment="Stretch" />
<TextBlock x:Name="KnownServerNote" Foreground="#9FB3C0" FontSize="12" TextWrapping="Wrap" />
<TextBlock Text="Server Name" Foreground="#EAF0F4" />
<TextBox x:Name="NameBox" />
<TextBlock Text="Alias" Foreground="#EAF0F4" />

View file

@ -1,12 +1,20 @@
using System;
using System.Collections.Generic;
using Avalonia.Controls;
using RynthCore.App;
namespace RynthCore.App.Avalonia;
internal partial class ServerProfileDialog : Window
{
/// <summary>The picker's first entry: keep whatever is typed in the fields.</summary>
private const string CustomServerLabel = "Custom server (fill in the fields below)";
private readonly RynthCore.App.LaunchServerProfile _profile;
/// <summary>True while the constructor selects the profile's known server, so it isn't re-applied.</summary>
private bool _loading;
public ServerProfileDialog(RynthCore.App.LaunchServerProfile profile)
{
_profile = profile;
@ -20,10 +28,47 @@ internal partial class ServerProfileDialog : Window
EmulatorBox.SelectedItem = profile.Emulator.ToString();
RodatCheck.IsChecked = profile.RodatEnabled;
var choices = new List<object> { CustomServerLabel };
choices.AddRange(KnownServerCatalog.All);
KnownServerBox.ItemsSource = choices;
KnownServerBox.SelectionChanged += (_, _) => OnKnownServerChanged();
_loading = true;
KnownServer? current = KnownServerCatalog.FindByHost(profile.Host);
KnownServerBox.SelectedItem = current != null ? current : CustomServerLabel;
_loading = false;
ShowKnownServerNote(current);
SaveButton.Click += (_, _) => SaveAndClose();
CancelButton.Click += (_, _) => Close(false);
}
/// <summary>
/// Picking a known server fills Name, Host, Port and Emulator from the catalog; Alias and
/// Rodat stay as typed. Picking "Custom server" leaves the fields alone.
/// </summary>
private void OnKnownServerChanged()
{
KnownServer? server = KnownServerBox.SelectedItem as KnownServer;
ShowKnownServerNote(server);
if (_loading || server == null)
return;
NameBox.Text = server.Name;
HostBox.Text = server.Host;
PortBox.Text = server.Port.ToString();
EmulatorBox.SelectedItem = server.Emulator.ToString();
ValidationText.Text = string.Empty;
}
/// <summary>The picked server's description and the RynthSuite plugin RynthCore loads for it.</summary>
private void ShowKnownServerNote(KnownServer? server)
{
KnownServerNote.Text = server == null
? "Any server works. Known servers fill in the connection details and have a RynthSuite server plugin."
: $"{server.Note} Server plugin: {server.PluginName} (RynthCore loads it when you connect to {server.Host}).";
}
private void SaveAndClose()
{
if (string.IsNullOrWhiteSpace(NameBox.Text))