start_radar/stop_radar from the backend drive it, as before. nearby_objects keeps the original's shape: map coordinates on the surface, landblock-local raw positions with zero map coordinates in a dungeon, ids as signed ints, the same eight object classes, no wielded items or self. dungeon_map is built the original's way from the landblock's cells (x a multiple of 10, whole metres, 6-metre floors, rotation = the orientation's stored W) and sent once per landblock per session; the cells come through a small reader that the plugin API's dungeon-cell data will fill (until then the map is not sent). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| src/OpenAC.MosswartMassacre | ||
| tests/OpenAC.MosswartMassacre.Tests | ||
| .gitattributes | ||
| .gitignore | ||
| Directory.Build.props | ||
| Directory.Packages.props | ||
| global.json | ||
| NuGet.Config | ||
| OpenAC.MosswartMassacre.slnx | ||
| README.md | ||
Mosswart Massacre for OpenAC
A private OpenAC port of the Mosswart Massacre DECAL plugin: it streams telemetry, vitals, chat, inventory, combat and character stats to the Mosswart Overlord backend, shares vitals and debuffs across machines, runs the commands typed into the Overlord chat box, keeps the flag tracker and syncs metas.
The backend contract is fixed. Every frame this plugin sends or accepts is
byte-for-byte what the DECAL plugin sent and accepted; the golden tests under
tests/ pin each one. Change a frame only together with the backend.
Building
The plugin contract comes from the OpenAC release of the version named in
Directory.Build.props (PluginApiPackageVersion). Put that release's
AcDream.Plugin.Abstractions.<version>.nupkg in packages-local/:
gh release download v0.1.18 -R eriknihlen/OpenAC -p "AcDream.Plugin.Abstractions.0.1.18.nupkg" -D packages-local
dotnet build OpenAC.MosswartMassacre.slnx
dotnet test OpenAC.MosswartMassacre.slnx
Installing
Copy src/OpenAC.MosswartMassacre/bin/<config>/net10.0/ (the dll, its
.deps.json, Newtonsoft.Json.dll, plugin.json and the markup) into
%LOCALAPPDATA%\acdream\plugins\openac.mosswartmassacre\.
First run
Streaming is off until you turn it on. The shared secret is never compiled in:
/mm ws secret <the backend's shared secret>
/mm ws enable
/mm help lists every command.