From 3dcd9f6b6da1c3f277b27a296f58bca3cbc3a775 Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Fri, 24 Dec 2021 19:40:55 +0000 Subject: add playercount param to heartbeat --- NorthstarDedicatedTest/masterserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NorthstarDedicatedTest') diff --git a/NorthstarDedicatedTest/masterserver.cpp b/NorthstarDedicatedTest/masterserver.cpp index 1032f8ec..8f3a6d53 100644 --- a/NorthstarDedicatedTest/masterserver.cpp +++ b/NorthstarDedicatedTest/masterserver.cpp @@ -648,7 +648,7 @@ void MasterServerManager::AddSelfToServerList(int port, int authPort, char* name while (*m_ownServerId) { Sleep(15000); - http.Post(fmt::format("/server/heartbeat?id={}", m_ownServerId).c_str()); + http.Post(fmt::format("/server/heartbeat?id={}&playerCount={}", m_ownServerId, g_ServerAuthenticationManager->m_additionalPlayerData.size()).c_str()); } }); -- cgit v1.2.3