The original ran Newtonsoft.Json on .NET Framework, whose "R" format writes 15 significant digits when they read back exactly and 17 otherwise (floats: 7, else 9). Modern .NET writes the shortest round trip instead, so a value like -0.066666670143604279 came out as -0.06666667014360428: equal when parsed, different bytes. Every frame now goes through a converter that repeats the Framework rule, with Newtonsoft's '.0' suffix and non-finite handling kept. Goldens that encoded the modern digits are corrected. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| src/OpenAC.MosswartMassacre | ||
| tests/OpenAC.MosswartMassacre.Tests | ||
| tools/FrameRecorder | ||
| .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.