From cf03a0c9e9d9a0c918fe3b47a78ff3bed54a8409 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Tue, 29 Sep 2026 22:26:33 -0500 Subject: [PATCH] fix(settings): list the packet capture and replay sandbox settings in the shipped ini files Co-Authored-By: Claude Opus 5.5 --- resources/dashboardconfig.ini | 5 +++++ resources/sharedconfig.ini | 15 +++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/resources/dashboardconfig.ini b/resources/dashboardconfig.ini index d7c655641..b858218ab 100644 --- a/resources/dashboardconfig.ini +++ b/resources/dashboardconfig.ini @@ -291,3 +291,8 @@ inspector_max_mb=1024 snapshot_days=90 # Always keep per character (snapshots) snapshot_keep=10 + +# ---- Packet capture ---- +# Capture files: Folder for packet capture files, relative to the server binaries. Captures are player data: keep it out +# of any repository. +capture_dir=captures diff --git a/resources/sharedconfig.ini b/resources/sharedconfig.ini index f71072ddd..534d9341d 100644 --- a/resources/sharedconfig.ini +++ b/resources/sharedconfig.ini @@ -115,3 +115,18 @@ ugc_manifest_models=0 log_chat=1 # Include whispers and team chat: Only staff with the Read private chat permission see them. log_private_chat=1 + +# ---- Packet capture ---- +# Send at least every: A server sends what it recorded this often, even when the batch is small. (ms) +capture_flush_interval_ms=1000 +# Or when a batch reaches: A server sends a batch as soon as it is this large. (bytes) +capture_flush_bytes=262144 +# Keep at most: Batches a server keeps while master can't take them; past this the oldest are dropped and the capture +# shows a gap. (MB) +capture_buffer_max_mb=16 +# Replay sandbox: Set by the capture tool in the sandboxes it makes for replays: the servers then refuse any database +# but a SQLite file in their own folder. Leave it off on a real server. Read when the server starts. +replay_sandbox=0 +# Live database (sandbox): Set by the capture tool in replay sandboxes: the real server's SQLite file, which a sandbox +# refuses to open. Read when the server starts. +replay_live_sqlite_path=