From 7601bf99aaf11c3a0b880281f43b6ce849e0cd89 Mon Sep 17 00:00:00 2001 From: Lapis Date: Tue, 16 Jun 2026 09:28:51 -0400 Subject: [PATCH] fix server crash + add voice config for moderation --- .../Controllers/ModerationController.cs | 17 +++++++++++++++++ CannedNet/Services/Signatures.cs | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 CannedNet/Services/Controllers/ModerationController.cs diff --git a/CannedNet/Services/Controllers/ModerationController.cs b/CannedNet/Services/Controllers/ModerationController.cs new file mode 100644 index 0000000..6dc2961 --- /dev/null +++ b/CannedNet/Services/Controllers/ModerationController.cs @@ -0,0 +1,17 @@ +using Microsoft.AspNetCore.Mvc; + +namespace CannedNet.Services.Controllers; + +[ApiController, Route("moderation")] +public class ModerationController : ControllerBase +{ + [HttpGet("voice/config")] + public async Task GetVoiceModConfig() + { + return Results.Ok(new + { + AccountId = (string?)null, + ApiKey = (string?)null + }); + } +} diff --git a/CannedNet/Services/Signatures.cs b/CannedNet/Services/Signatures.cs index 1fdd98b..b9d2af7 100644 --- a/CannedNet/Services/Signatures.cs +++ b/CannedNet/Services/Signatures.cs @@ -48,7 +48,7 @@ public static class Signatures Console.WriteLine($"Modulus:"); Console.WriteLine(modulusBase64); Console.WriteLine("Make sure to replace the modulus in your clients global-metadata to this one or else the game will crash."); - Console.WriteLine("Rec Room's modulus in metadata starts with ''") + Console.WriteLine("Rec Room's modulus in metadata starts with 'X07yXkxaaLcZ1wVXfkWjgFkkqdoLhDFm0GPO'"); } catch (Exception ex) {