From b492430cb72f5a143f0d0d9f24efdcb93158aa52 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 7 Mar 2026 00:14:23 +0000 Subject: [PATCH 1/2] Initial plan From 49926094e84caa6677d79fcc9f8527501213ba40 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 7 Mar 2026 00:30:17 +0000 Subject: [PATCH 2/2] feat: add playerbotd daemon and extract Bots library from game Co-authored-by: billy1arm <2219118+billy1arm@users.noreply.github.com> --- CMakeLists.txt | 4 +- cmake/StatusInfo.cmake | 2 +- src/CMakeLists.txt | 10 +- src/game/CMakeLists.txt | 92 ---- src/mangosd/CMakeLists.txt | 1 + src/modules/Bots/CMakeLists.txt | 24 +- src/modules/CMakeLists.txt | 4 + src/playerbotd/CMakeLists.txt | 97 +++++ src/playerbotd/playerbotd.conf.dist.in | 35 ++ src/playerbotd/playerbotd.cpp | 575 +++++++++++++++++++++++++ src/shared/SystemConfig.h.in | 2 + 11 files changed, 747 insertions(+), 99 deletions(-) create mode 100644 src/playerbotd/CMakeLists.txt create mode 100644 src/playerbotd/playerbotd.conf.dist.in create mode 100644 src/playerbotd/playerbotd.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e5fd594c..e1072a923 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,7 @@ option(BUILD_TOOLS "Build the map/vmap/mmap extractors" ON) option(USE_STORMLIB "Use StormLib for reading MPQs" ON) option(SCRIPT_LIB_ELUNA "Compile with support for Eluna scripts" ON) option(SCRIPT_LIB_SD3 "Compile with support for ScriptDev3 scripts" ON) -option(PLAYERBOTS "Enable Player Bots" OFF) +option(PLAYERBOTS "Enable Player Bots (builds playerbotd daemon)" OFF) option(SOAP "Enable remote access via SOAP" OFF) option(PCH "Enable precompiled headers" ON) option(DEBUG "Enable debug build (only on non IDEs)" OFF) @@ -82,7 +82,7 @@ message( SCRIPT_LIB_ELUNA Compile with support for Eluna scripts SCRIPT_LIB_SD3 Compile with support for ScriptDev3 scripts Modules: - PLAYERBOTS Enable Player Bots + PLAYERBOTS Enable Player Bots (builds playerbotd daemon) To set an option simply type -D