Commit graph RynthServers/Plugins/RynthCore.Plugin.RynthDreamWeave/RynthCore.Plugin.RynthDreamWeave.csproj
Author SHA1 Message Date
Daniel Wallace
b72720aca4 RynthDreamWeave: declare minEngineApi 90 so release builds stop raising it to the SDK API
The csproj declared nothing, so ServerPlugin.props defaulted it to 66, and a
release build (RynthPluginSharedSdk=true) raises any declared value under 88 to
the SDK's API (95): the plugin would then load on no current engine.

Audit of every RynthCore SDK member the plugin compiles against (DreamWeave's
own code, the shared ServerPack and the RynthSuite files it links). "Isolated"
means called only from a [MethodImpl(NoInlining)] method behind its Has* check,
which an older Runtime\PluginShared SDK copy cannot fail; a Has* check inside an
ordinary method does not protect it.

Not isolated, so the minimum must cover them:
- v90 RynthAcPanel: type of the static field MainAcPanels (DreamWeaveSkills.cs)
- v90 IsAcPanelOpen, AcPanel, RynthAcPanelOp, HasAcPanels: DreamWeaveSkills.cs
  (HasAcPanels checked in the same method)
- v90 PanelScale, PanelDragWithLastItem, GetIconTexture, RynthIconKind:
  DreamWeave/SkillsPanel.cs
- v90 HasFramelessWindows: ServerPackPlugin.BuildSectionsJson
- v89 SetPanelOpen, HasSetPanelOpen, RynthPanelOpen: ServerPackPlugin.SetWindow,
  DreamWeaveSkills.cs, SkillsPanel.cs (Has* checked in the same method)
- v79 HasTraining, TryGetTrainingInfo, TrainSkill: DreamWeave/SkillsReader.cs
  (HasTraining checked in the same method)
- v78 HasServerMessages, SetServerMessageInterest: ServerPackPlugin.Initialize;
  RynthCore.PluginSdk.Net.ServerMessage: DreamWeaveSkills.ServerMessage
- before v62 (table fields ahead of the v62 append marker in
  RynthCoreApiNative.cs): Log, WriteToChat, InvokeChatParser, TryGetWorldName,
  TryGetAccountName, TryGetObjectName, TryGetPlayerVitals,
  TryGetObjectIntProperty, TryGetObjectQuadProperty, GetPlayerId, ImGuiContext,
  Version and their Has* checks

Isolated, so they do not count:
- v94 HasWebPanel, OpenWebPanel, GetWebPanelState, CloseWebPanel and the
  WebPanel* types: only in ServerPackWeb.cs's NoInlining *Core methods, which
  catch MissingMethodException and TypeLoadException (from
  pr/serverpack-web-panel-engine on)
- the bar menu (v95) uses no SDK member: it compares Host.Version to
  DreamWeaveWeb.BarMenuEngineApi

Highest non-isolated API: 90. Declared 90.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:37:48 -08:00
Daniel Wallace
f012dc5c69 RynthDreamWeave: Market, Suit Builder and Ability Planner buttons and /rserver verbs
DreamWeaveWebTools.cs wires the launcher into the ServerPack hooks: the card
buttons (render thread, draw only, a click queues StartLaunch with RunOnTick),
the /rserver market|suit|abilities verbs, the /weblogin reply read off chat
(Code, Refused and Stale eat the line; Stale does nothing else), the 10 s
timeout polled every tick, and Reset at login, logout and shutdown. Every
launcher call is under lock (Gate); Send, OpenWeb, Reply and the log are
always outside it. OpenWeb's answer replaces the "Opening X..." status.
WebButtons.cs draws the buttons and is the only ImGui code in the web tools.
A source-scan test pins the thread rules.

Rebased onto release 2026.11.8.1, which ships its own DreamWeavePlugin.cs
(bank check, Bank page) and DreamWeaveSkills.cs (Skills and Character
panels, /rserver skills). Those files keep the one implementation of each
shared hook and call the web tools' Web* method first; the web code lives
in DreamWeaveWebTools.cs. The ImGui scan covers the web tools' own files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:24:01 -08:00
Daniel Wallace
5e732cecb7 RynthDreamWeave: link ChatSource into the plugin, strict alphabet tests, harden the launch stem
The plugin project did not compile (ChatSource not linked). LaunchWire now treats any line starting with the success stem as success-shaped: malformed, it is dropped, never returned as refusal text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:20:38 -08:00
e52923ba5c RynthServers as of 2026-11-08 (internal 471970b): release 2026.11.8.1 2026-11-08 15:48:49 -05:00
6fe5630e8c Snapshot for release 2026.10.21.1 (internal 32a418d) 2026-10-21 09:35:08 -04:00