Skip to content

About

mod-playerbots with a plugin build and backend-neutral (SQLite) database access

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

2,824 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mod-playerbots with plugin build and backend-neutral database

This is a fork of mod-playerbots/mod-playerbots (branch master) for LonelyIceProject/azerothcore-wotlk, an AzerothCore fork with a SQLite backend and runtime plugins. It still builds as a classic module in modules/mod-playerbots of a Playerbot-branch core.

Changes in this fork

  • Backend-neutral database access. The playerbots database is a ModuleDatabasePool on the core's backend-neutral connection, so it runs on SQLite as well as MySQL; one update that SQLite cannot translate has an override in data/sql/overrides/sqlite.
  • Plugin build. CMakeLists.txt, plugin.json and plugin/plugin.cpp build the module as a plugin library for the fork's plugin loader; the module then reads its SQL from its plugin folder. Singletons are defined in .cpp files so that plugins linking against playerbots share one instance.
  • External hooks (src/Bot/Engine/ExternalHooks.h): other modules can pin random bots to a place (no randomizing or teleports, AI kept active) and add strategies after the defaults; every module's hooks are kept and called in registration order.
  • Hooks for companion modules: self-bot teleport acknowledgement, external strategy contexts, and equip and loot tweaks for bots of a real player (auto-equip keeps upgrades, a "useful" loot mode).

License

GNU General Public License v2.0 or later, like the original; see LICENSE.

Blizzard Entertainment

World of Warcraft®, Warcraft®, Wrath of the Lich King® and Blizzard Entertainment® are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries.

The game and everything in it belong to Blizzard Entertainment, Inc.: the game client and its program files, data files and archives, maps and terrain, models, textures, art, animations, interface, music, sounds, voices, texts, names, lore, characters, creatures, spells, items, quests and every other part of the game. All of it remains Blizzard's property wherever it appears, including the data a server extracts from your client on your own computer (game tables, maps, collision and navigation data).

LonelyIce is an unofficial, non-commercial fan project. It is not affiliated with, endorsed, sponsored, approved or supported by Blizzard Entertainment, Inc. Blizzard's names are used only to say which game client the project works with.

This repository contains no files from the game client, and LonelyIce neither distributes nor downloads any. It works only with a copy of the game you already own. Keep the data extracted from your client to yourself: it is Blizzard's property and is not ours or yours to share.

The license above covers only the code and files of this project and the works it is based on. It grants no rights to anything that belongs to Blizzard Entertainment, Inc. All other trademarks belong to their respective owners.


English | 中文 | Español

Playerbots Banner

Playerbots Module

mod-playerbots is an AzerothCore module that adds player-like bots to a server. The project is based off IKE3's Playerbots.

Features include:

  • The ability to log in alt characters as bots, allowing players to interact with their other characters, form parties, level up, and more
  • Random bots that wander through the world, complete quests, and otherwise behave like players, simulating the MMO experience
  • Bots capable of running most raids and battlegrounds
  • Highly configurable settings to define how bots behave
  • Excellent performance, even when running thousands of bots

We also have a Discord server where you can discuss the project, ask questions, and get involved in the community!

Installation

Supported platforms are Ubuntu, Windows, and macOS. Other Linux distributions may work, but may not receive support.

Important: All mod-playerbots installations require a custom fork of AzerothCore: mod-playerbots/azerothcore-wotlk (Playerbot branch). The standard AzerothCore repository will not work.

Quick Start

git clone https://github.com/mod-playerbots/azerothcore-wotlk.git --branch=Playerbot
cd azerothcore-wotlk/modules
git clone https://github.com/mod-playerbots/mod-playerbots.git --branch=master

Then build the server following the platform-specific instructions in our Installation Guide.

Testing branch: A test-staging branch is available with the latest features and fixes before they are merged into master. To use it, clone with --branch=test-staging instead. Note that this branch may contain unstable or breaking changes — use it at your own risk and only if you are comfortable troubleshooting issues.

Detailed Guides

Guide Description
Installation Guide Full step-by-step instructions for clean installs, migrating from existing AzerothCore, Docker setup, adding modules, and updating
Troubleshooting Solutions to the most common build errors, database issues, configuration mistakes, crashes, and platform-specific problems

For additional references, see the AzerothCore Installation Guide and Installing a Module pages.

Documentation

The Playerbots Wiki contains an extensive overview of AddOns, commands, raids with programmed bot strategies, and recommended performance configurations. Please note that documentation may be incomplete or out-of-date in some sections, and contributions are welcome.

Bots are controlled via chat commands. For larger bot groups, this can be cumbersome. Because of this, community members have developed client AddOns to allow controlling bots through the in-game UI. We recommend you check out their projects listed in the AddOns and Submodules page.

Contributing

This project is still under development. We encourage anyone to make contributions, anything from pull requests to reporting issues. If you encounter any errors or experience crashes, we encourage you report them as GitHub issues. Your valuable feedback will help us improve this project collaboratively.

If you make coding contributions, mod-playerbots complies with the C++ Code Standards established by AzerothCore. Each Pull Request must include all test scenarios the author performed, along with their results, to demonstrate that the changes were properly verified.

We recommend joining the Discord server to make your contributions to the project easier, as a lot of active support is carried out through this server.

Please click on the "⭐" button to stay up to date and help us gain more visibility on GitHub!

Acknowledgements

mod-playerbots is based on ZhengPeiRu21/mod-playerbots and celguar/mangosbot-bots. We extend our gratitude to @ZhengPeiRu21 and @celguar for their continued efforts in maintaining the module.

Also, a thank you to the many contributors who've helped build this project:

About

mod-playerbots with a plugin build and backend-neutral (SQLite) database access

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages