An external game master on a Barotrauma server: a LuaCs C# plugin that observes, talks, moves NPCs and spawns items
A C# plugin loaded by LuaCs on a Barotrauma dedicated server feeds an external program (an AI game master called Randur) with snapshots of the campaign and the submarine, and runs a few narrow actions back in the game. In real runs it kept the campaign's identity through reloads and restarts, recognised a player who reconnected, made one NPC answer a…
8 trampas documentadas
- Reading the campaign changes it.
- Targeted chat never reaches the plugin.
- An order silently replaces the NPC's normal work.
- A walk is reported as done when the NPC isn't there.
- A lost acknowledgement causes a second walk.
- A reconnect reuses an old target.
- A copied save inherits another world's history.
- A private save path still touches the real Workshop cache.