Git Product home page Git Product logo

Comments (6)

StephenSorriaux avatar StephenSorriaux commented on July 17, 2024

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.

TonyDMorris avatar TonyDMorris commented on July 17, 2024

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 .
image
I just need to know what to set my realmlist too now haha .

from mangos-docker.

StephenSorriaux avatar StephenSorriaux commented on July 17, 2024

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.

TonyDMorris avatar TonyDMorris commented on July 17, 2024

yea I have the server running and at the home of the container i have a conf dir with
image
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.

TonyDMorris avatar TonyDMorris commented on July 17, 2024

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 ?
image

from mangos-docker.

StephenSorriaux avatar StephenSorriaux commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.