From 203f2ec7eb24edc84aa9e1e6fb3174bbb3c464fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E4=BD=A9=E8=8C=B9?= Date: Tue, 27 Sep 2022 08:40:27 -0600 Subject: [PATCH] Update PLAYERBOTS_SEL_TEXT query --- .../database/Database/Implementation/PlayerbotsDatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/database/Database/Implementation/PlayerbotsDatabase.cpp b/src/server/database/Database/Implementation/PlayerbotsDatabase.cpp index 250c91fb7..ddbd39f0a 100644 --- a/src/server/database/Database/Implementation/PlayerbotsDatabase.cpp +++ b/src/server/database/Database/Implementation/PlayerbotsDatabase.cpp @@ -84,7 +84,7 @@ void PlayerbotsDatabaseConnection::DoPrepareStatements() PrepareStatement(PLAYERBOTS_INS_TRAVELNODE_PATH, "INSERT INTO `playerbots_travelnode_path` (`node_id`, `to_node_id`, `nr`, `map_id`, `x`, `y`, `z`) VALUES (?, ?, ?, ?, ?, ?, ?)", CONNECTION_ASYNC); PrepareStatement(PLAYERBOTS_DEL_TRAVELNODE_PATH, "DELETE FROM playerbots_travelnode_path", CONNECTION_ASYNC); - PrepareStatement(PLAYERBOTS_SEL_TEXT, "SELECT `key`,`text` FROM playerbots_text", CONNECTION_SYNCH); + PrepareStatement(PLAYERBOTS_SEL_TEXT, "SELECT `name`, `text`, `say_type`, `reply_type`, `text_loc1`, `text_loc2`, `text_loc3`, `text_loc4`, `text_loc5`, `text_loc6`, `text_loc7`, `text_loc8` FROM `ai_playerbot_texts`", CONNECTION_SYNCH); PrepareStatement( PLAYERBOTS_SEL_DUNGEON_SUGGESTION, "SELECT"