Need help building liyunfan1223's AzerothCore fork with mod-playerbots on Synology NAS Docker #22910
Replies: 4 comments 7 replies
-
|
Synology docker is ancient, that was at least the issue when I had tried ac docker on it |
Beta Was this translation helpful? Give feedback.
-
|
ok, so synology is the problem? I was goign to setup a custom server in the next few weeks. Maybe i wait till that to rebuild a playerbot server |
Beta Was this translation helpful? Give feedback.
-
|
idk just wanted to leave that comment here :p also you need a custom fork for playerbots, can't just take the original ac repo and add mod-playerbots. It's written in the module description |
Beta Was this translation helpful? Give feedback.
-
|
Hiya, I just finished a script to build Azerothcore with Playerbots on my Synology DS1628xs+. I can share the script, custom .env and custom docker-compose.override.yml if you want. You dont need a dockerfile tbh. Just build the official playerbot branch with modules and use the correct docker-compose.override.yml. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem:
I'm trying to build a Docker image of AzerothCore with playerbots on my Synology NAS DS918+, but the build keeps failing. I specifically need the playerbots module (not just standard AzerothCore) as the whole point is to have AI players to make the world feel alive for family play.
What I've tried:
Created a Dockerfile that clones liyunfan1223's fork and adds mod-playerbots
Used -j2 for compilation due to 4GB RAM limitation
Build fails at 13% with: fatal error: no member named 'GetTargetIcon' in 'Group' in ChatFilter.cpp
My Setup:
Hardware: Synology DS918+ NAS
CPU: Intel Celeron J3455 (4 cores)
RAM: 4GB DDR3L (planning upgrade to 16GB)
Storage: 14TB volume with 4TB free + 250GB SSD cache
Docker: Synology Container Manager
Build environment: Ubuntu 22.04 base image
My current Dockerfile:
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
Dependencies installation (working fine)
RUN apt-get update && apt-get install -y
git cmake make gcc g++ clang
libmysqlclient-dev libssl-dev libbz2-dev
libreadline-dev libncurses-dev libboost-all-dev
mysql-server p7zip-full curl wget
WORKDIR /azerothcore
Clone liyunfan1223's fork
RUN git clone --branch master --single-branch https://github.com/liyunfan1223/azerothcore-wotlk.git source
Clone playerbots module
RUN git clone https://github.com/liyunfan1223/mod-playerbots.git source/modules/mod-playerbots
Build with reduced parallel jobs for 4GB RAM
WORKDIR /azerothcore/build
RUN cmake ../source/
-DCMAKE_INSTALL_PREFIX=/azerothcore/env/dist
-DCMAKE_C_COMPILER=/usr/bin/clang
-DCMAKE_CXX_COMPILER=/usr/bin/clang++
-DWITH_WARNINGS=1
-DTOOLS_BUILD=db-only
-DSCRIPTS=static
-DMODULES=static
RUN make -j2 && make install
Questions:
Is there a specific commit/branch combination of liyunfan1223's fork and mod-playerbots that are known to work together?
The GetTargetIcon function seems to be missing - is this a version mismatch between the core and module?
Should I be using a different branch of the playerbot module?
Has anyone successfully built this combination recently? What versions did you use?
Thanks for your preemptive help!
Beta Was this translation helpful? Give feedback.
All reactions