MosswartMassacre/MosswartMassacre
Erik 49ec534514 fix(vitalsharing): UI sync + re-subscribe on reconnect
Two bugs fixed:

1. /mm vitalsharing on|off did not update the checkbox on the Settings
   tab, leaving the UI out of sync with the actual state. Toggling via
   PluginCore.SetVitalSharingEnabled now calls
   Views.VVSTabbedMainView.RefreshSettingsFromConfig so the checkbox
   reflects the new state regardless of whether the toggle came from
   chat, the settings checkbox, or the settings overlay.

2. After a WebSocket reconnect, the plugin was silently dropping out of
   the backend's vital sharing subscriber set. The receive loop's
   disconnect cleanup removes the character from _vital_sharing_subscribers,
   but the plugin only sent share_subscribe once at tracker.Start() — so
   after any reconnect, no future share_* messages would be forwarded to
   that client. Fix: when the WebSocket (re)connects and registers, if
   PluginSettings.VitalSharingEnabled is true, re-send share_subscribe
   immediately after the register envelope.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 15:14:30 +02:00
..
bin/Release fix(vitalsharing): UI sync + re-subscribe on reconnect 2026-04-11 15:14:30 +02:00
lib feat: cross-machine vital/debuff sharing via MosswartOverlord 2026-04-11 14:19:32 +02:00
Properties feat: auto-generate CalVer version from build date 2026-02-28 13:24:07 +00:00
scripts test6 2025-06-22 13:21:34 +02:00
Views feat(vitalsharing): verbose logging toggle for VTank feed tracing 2026-04-11 15:09:55 +02:00
ViewXML feat(vitalsharing): verbose logging toggle for VTank feed tracing 2026-04-11 15:09:55 +02:00
app.config Fixed inventory, spawn and settings 2025-05-15 21:34:20 +02:00
CharacterStats.cs fix: stream burden stats to overlord 2026-03-13 11:10:04 +01:00
ChatEventRouter.cs Phase 4: Extract ChatEventRouter and GameEventRouter 2026-02-27 07:50:41 +00:00
ChestLooter.cs added chest looter 2025-12-09 21:23:51 +01:00
ChestLooterSettings.cs added chest looter 2025-12-09 21:23:51 +01:00
ClientTelemetry.cs Client telemetry 2025-05-24 21:10:45 +02:00
CommandRouter.cs Phase 1: Extract Constants.cs and CommandRouter.cs 2026-02-27 07:24:43 +00:00
Constants.cs feat: display CalVer version in main window only 2026-02-28 13:26:21 +00:00
Coordinates.cs Telemetry 2025-04-26 16:55:48 +02:00
DecalHarmonyClean.cs Phase 6: Fix swallowed exceptions and cleanup unused usings 2026-02-27 07:59:34 +00:00
DelayedCommandManager.cs version 4.0.0.2 fixed flapping players in Overlord, changed how taper is counted, added safe websocket marshalling 2025-06-17 20:58:10 +02:00
DungeonMapReader.cs feat: add dungeon map streaming for radar 2026-04-08 13:16:45 +02:00
EquipmentCantripStateTracker.cs feat: stream live equipment cantrip states 2026-03-13 09:02:44 +01:00
FlagTrackerData.cs feat: stream live equipment cantrip states 2026-03-13 09:02:44 +01:00
FodyWeavers.xml Added hot reload 2025-06-22 12:10:15 +02:00
GameEventRouter.cs Phase 4: Extract ChatEventRouter and GameEventRouter 2026-02-27 07:50:41 +00:00
Geometry.cs Telemetry 2025-04-26 16:55:48 +02:00
IGameStats.cs Phase 5: Extract QuestStreamingService and introduce IGameStats 2026-02-27 07:56:13 +00:00
InventoryMonitor.cs Phase 3: Extract RareTracker and InventoryMonitor 2026-02-27 07:33:44 +00:00
IPluginLogger.cs Phase 2: Extract IPluginLogger and KillTracker 2026-02-27 07:29:49 +00:00
KillTracker.cs Phase 2: Extract IPluginLogger and KillTracker 2026-02-27 07:29:49 +00:00
LiveInventoryTracker.cs feat: add item appraisal requests to LiveInventoryTracker 2026-03-02 21:05:46 +00:00
MetaSyncManager.cs feat: add searchable metas sync tab and configurable auto-updates 2026-03-09 11:36:47 +01:00
MosswartMassacre.csproj feat(vitalsharing): UB-style DxHud overlay + self in peer list 2026-04-11 14:40:34 +02:00
MossyInventory.cs feat: /mm sendinventory now scans, identifies all items, then sends 2026-04-08 16:52:18 +02:00
NavRoute.cs New GUI overhaul!, version 3.0.1.0 2025-05-29 21:34:16 +02:00
NavVisualization.cs New GUI overhaul!, version 3.0.1.0 2025-05-29 21:34:16 +02:00
NearbyObjectsTracker.cs fix: add debug logging for dungeon_map sends, guard COM exceptions 2026-04-08 16:38:40 +02:00
packages.config Added chest looter 2025-12-09 17:31:27 +01:00
PluginCore.cs fix(vitalsharing): UI sync + re-subscribe on reconnect 2026-04-11 15:14:30 +02:00
PluginSettings.cs feat(vitalsharing): direction arrow, range text, Ctrl+drag overlay 2026-04-11 14:49:54 +02:00
QuestManager.cs Added hot reload 2025-06-22 12:10:15 +02:00
QuestNames.cs Added hot reload 2025-06-22 12:10:15 +02:00
QuestStreamingService.cs Phase 5: Extract QuestStreamingService and introduce IGameStats 2026-02-27 07:56:13 +00:00
RareTracker.cs Phase 3: Extract RareTracker and InventoryMonitor 2026-02-27 07:33:44 +00:00
SpellManager.cs Added Mossy tracker, know issue 2025-06-08 00:15:55 +02:00
UpdateManager.cs fix: update auto-updater URL from spawn-detection to master branch 2026-03-04 17:55:23 +00:00
Utils.cs Added chest looter 2025-12-09 17:31:27 +01:00
VitalSharingTracker.cs feat(vitalsharing): verbose logging toggle for VTank feed tracing 2026-04-11 15:09:55 +02:00
vTank.cs New vtank control 2025-04-29 09:58:25 +02:00
VtankControl.cs Phase 6: Fix swallowed exceptions and cleanup unused usings 2026-02-27 07:59:34 +00:00
WebSocket.cs fix(vitalsharing): UI sync + re-subscribe on reconnect 2026-04-11 15:14:30 +02:00