WSL Debian Docker Azerothcore-Playerbots Installation

Table of Contents

Requirements

  • Windows 11
  • Windows 10 version 1903 (build 18362) atleast or later
  • wsl2

Git Cloning

  1. Clone Repository:
    git clone https://github.com/notepadguyOfficial/Debian-Docker-Azerothcore-Playerbot.git
    

WSL Installation

  1. Open cmd/Powershell and run this command:

    wsl --install -d Debian
    
  2. Launch Debian:

    wsl -d Debian
    

Docker Installation

  1. see Git Cloning

  2. Run WSL via cmd/Powershell:

    wsl -d Debian
    
  3. Navigate to repository:

    cd /mnt/c/to-your-cloned-repository-directory
    

    or if you cloned the repository in another drive:

    cd /mnt/d/to-your-cloned-repository-directory
    
  4. run the sh file:

    ./docker.sh
    
  5. wait until done then restart wsl:

    wsl --shutdown
    

    then start the wsl service again

    wsl -d Debian
    

Azerothcore-Playerbot

Includes:

  • MariaDB-Client (This is only client and will install only if you dont have the mysql command...)
  • Azeroth Core - Playerbots branch
  • mod-playerbots
  • mod-aoe-loot (optional)
  • mod-learn-spells (optional)
  • mod-fireworks-on-level (optional)
  • mod-individual-progression (optional)
  • mod-junk-to-gold (optional)
  • mod-DungeonRespawn (optional)

Update

  • To update and get the latest versions, you can run ./uninstall.sh without deleting the volumes and run ./setup.sh again. It will prompt you if you want to delete the volumes.

  • You can add modules to the setup.sh file by scrolling to the "install_mod" section and add the entries you'd like. Or you could do it manually by putting the modules folders into the azerothcore-wotlk/modules folder. setup.sh will automatically add the sql. See

  • Running setup.sh will not install anything over again unless you delete a modules folder or the azerothcore-wotlk folder before. You can run it if you only want to install new modules youve added, it will skip if you already downloaded the repos.

  • If you delete modules, remember to run clear_custom_sql.sh first and remove the respective tables in the db.

AzerothCore Bot Installation

  1. Run Setup sh Script:

    ./setup.sh
    
  2. choose if you want to install modules besides the given one.

  • (Optional) You can edit setup.sh to add another modules
  1. Wait for docker to install the images.

  2. If no error then attach to ac-worldserver by running this command:

    docker attach ac-worldserver
    

    (!Note) You can dettach from attached service by pressing ctrl+p and ctrl+q.

  3. Create Azerothcore Account

    account create <username> <password>
    
  4. Find WSL IP Address

    ip addr show eth0
    

    (!Important) when connecting to database or game use the wsl ip address.

  5. Edit your <your wow root directory>\Data\enUS\realmlist.wtf and type in the wsl ip address you get in the end of installing.

set realmlist docker_ip
  1. Run the Game and your done.

Credits

Languages
Shell 100%