Comments (6)
Hello,
It seems player bots are activated when building the server (mangosd
) : https://github.com/mangoszero/server/blob/093659b4ba2ca0d90e3460d5752c6e51f7371086/CMakeLists.txt#L46
As the settings is off by default, this means you would need to update the Dockerfile
and add the -DPLAYERBOTS=1
command line param to the cmake
invokation (https://github.com/StephenSorriaux/mangos-docker/blob/master/mangoszero/mangosd/Dockerfile#L12 for MangosZero) and then rebuild the "server" Docker image and use it in your k8s cluster.
I hope it will build without issues as it has been some time since I have done one. Let me know how it goes.
from mangos-docker.
Hi thanks for all your help , I managed to get it up and running by rebuilding all 3 images , the mangos server logs that there are 0 bots online but I presume this is config related , eitherway thanks for your help .
I just need to know what to set my realmlist too now haha .
from mangos-docker.
Nice!
Yes you are almost there, I think you just need to make sure the /server/install/etc/aiplayerbot.conf
file is present (you can get the default file here https://github.com/mangoszero/server/blob/master/src/modules/Bots/playerbot/aiplayerbot.conf.dist.in) in your "server" container (should be straightforward with a k8s volume).
FWIW, looking at the Mangos source code it is expecting the aiplayerbot.conf
to be in the SYSCONFIGDIR
folder (https://github.com/mangoszero/server/blob/master/src/modules/Bots/playerbot/PlayerbotAIConfig.cpp#L36), which is set at build time and actually equals the CONF_INSTALL_DIR
set in cmake
invokation (https://github.com/StephenSorriaux/mangos-docker/blob/master/mangoszero/mangosd/Dockerfile#L12) so that's how I "guessed" the full path (but I might have overlooked something too). Too bad this was not configurable with a mangosd
flag.
Let me know if you got it working, would be helpful if someone got stuck on this too!
from mangos-docker.
yea I have the server running and at the home of the container i have a conf dir with
these files inside but I think you are right the files are the wrong name and in the wrong location so I will have to make a persistent volume and mout it to the correct config location , atleast I can login to the server and make a character in the time being .
from mangos-docker.
yea nearly there i will have to rebuild the image again as the actual ah bot conf is actually configured to be in a non accessible location , did this even work in the first place ?
from mangos-docker.
I do believe it does, for the AH bot you are supposed to add a /mangosconf/ahbot.conf
file to your container (https://github.com/StephenSorriaux/mangos-docker/blob/master/launch_mangosd.sh#L30)
from mangos-docker.
Related Issues (15)
- Mangos 2 (WotlK) version ? HOT 6
- Add MangosZero
- Add Helm charts HOT 2
- How to run this on Windows HOT 3
- ahbot.conf is being looked for in /etc/conf instead of /etc/mangos/conf HOT 1
- /mangosconf/ahbot.conf not loading - easy fix HOT 1
- [Issue] [mangos-two] Segmentation fault on line 39 [latest] [23/1/2020: 23:33] HOT 10
- Kubernetes mangoszero Segmentation fault HOT 5
- [mangosone] build with SOAP and PLAYERBOTS
- Add MangosThree HOT 1
- Add MangosFour
- Add MangosFive
- Add documentation
- Easier maps usage HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mangos-docker.