diff --git a/Installation-Guide.md b/Installation-Guide.md index 222ae97..2209bea 100644 --- a/Installation-Guide.md +++ b/Installation-Guide.md @@ -90,10 +90,19 @@ FLUSH PRIVILEGES; The server's auto-updater will populate most tables on first run. However, **playerbots SQL files may need to be imported manually** if the auto-updater does not pick them up: -```bash +``` +bash # From the azerothcore-wotlk directory -mysql -u acore -p acore_characters < modules/mod-playerbots/sql/characters/base/playerbots_characters.sql -mysql -u acore -p acore_world < modules/mod-playerbots/sql/world/base/playerbots_world.sql + +# 1. Import the playerbots additions to acore_characters +for f in modules/mod-playerbots/data/sql/characters/base/*.sql; do + mysql -u acore -p acore_characters < "$f" +done + +# 2. Import the playerbots additions to acore_world +for f in modules/mod-playerbots/data/sql/world/base/*.sql; do + mysql -u acore -p acore_world < "$f" +done ``` > **Check:** If you see errors like `Table 'playerbots_random_bots' doesn't exist` or `Unknown database 'acore_playerbots'` when starting the server, ensure the database was created and the SQL files were imported as shown above.