From 83b750d17e7bf50777d044ab091aa17d39117a12 Mon Sep 17 00:00:00 2001 From: FutureRave Date: Fri, 17 Feb 2023 10:51:47 +0000 Subject: [PATCH] maint: add some extra bot names by default --- src/client/component/bots.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/client/component/bots.cpp b/src/client/component/bots.cpp index 2ae201b2..8c264a80 100644 --- a/src/client/component/bots.cpp +++ b/src/client/component/bots.cpp @@ -25,6 +25,12 @@ namespace bots {"momo5502", "IW5x"}, {"Maurice", "IW5x" }, {"Jasmin", "<3"}, + {"Dss0", "IW3x"}, + {"FutureRave", "FR"}, + {"Diamante", "IW2x"}, + {"St0rm", "NN"}, + {"Joel", "NN"}, + {"Louve", "IW5x"}, }; std::string buffer; @@ -88,7 +94,7 @@ namespace bots } int format_bot_string(char* buffer, [[maybe_unused]] const char* format, const char* name, const char* xuid, - const char* xnaddr, int protocol, int netfieldchk, const char* session_mode, int qport) + const char* xnaddr, int protocol, int net_field_chk, const char* session_mode, int qport) { const auto find_name = [](const std::string& needle) -> const char* { @@ -103,7 +109,7 @@ namespace bots return "3arc"; }; - return sprintf_s(buffer, 1024, bot_format_string, name, find_name(name), xuid, xnaddr, protocol, netfieldchk, session_mode, qport); + return sprintf_s(buffer, 1024, bot_format_string, name, find_name(name), xuid, xnaddr, protocol, net_field_chk, session_mode, qport); } }