吾爱尚玩资源基地

标题: 魔兽单机Trinity端玩家机器人内核代码 [打印本页]

作者: admin    时间: 2016-4-24 17:53
标题: 魔兽单机Trinity端玩家机器人内核代码
首先介绍一下什么是玩家机器人:
1、玩家机器人就是角色机器人,是一个玩家在游戏里面可以召唤出来帮你战斗的一个机器人,简单说来,就是一个帮手
2、玩家机器人,就是自己创建许多角色后,。然后通过一个角色可以召唤你自己其他的角色来战斗
下面是代码:适用于TRINITY端2013-3月13日的更新的版本,对应GIT版本为ccb95c7462

  1. From ce93f3d7456f57147b1abce63bd7a5de5bb7eb22 Mon Sep 17 00:00:00 2001
  2. From: trickerer
  3. Date: Thu, 4 Apr 2013 17:59:34 +0700
  4. Subject: [PATCH] NPCBots

  5. ---
  6. sql/Bots/character_NPC_bots.sql                    |   12 +
  7. .../world_bot_giver_locales_gossip_menu_option.sql |   92 +
  8. sql/Bots/world_bots.sql                            |  524 ++++
  9. sql/Bots/world_script_bot_giver.sql                |   13 +
  10. src/server/game/AI/NpcBots/bot_GridNotifiers.h     |  462 +++
  11. src/server/game/AI/NpcBots/bot_ai.cpp              | 3185 ++++++++++++++++++++
  12. src/server/game/AI/NpcBots/bot_ai.h                |  355 +++
  13. src/server/game/AI/NpcBots/bot_druid_ai.cpp        | 1092 +++++++
  14. src/server/game/AI/NpcBots/bot_hunter_ai.cpp       |  340 +++
  15. src/server/game/AI/NpcBots/bot_mage_ai.cpp         |  935 ++++++
  16. src/server/game/AI/NpcBots/bot_paladin_ai.cpp      | 1014 +++++++
  17. src/server/game/AI/NpcBots/bot_priest_ai.cpp       |  859 ++++++
  18. src/server/game/AI/NpcBots/bot_rogue_ai.cpp        |  894 ++++++
  19. src/server/game/AI/NpcBots/bot_shaman_ai.cpp       |  390 +++
  20. src/server/game/AI/NpcBots/bot_warlock_ai.cpp      |  458 +++
  21. src/server/game/AI/NpcBots/bot_warrior_ai.cpp      | 1192 ++++++++
  22. src/server/game/AI/NpcBots/botcommands.cpp         |  851 ++++++
  23. src/server/game/AI/NpcBots/botgiver.cpp            |  643 ++++
  24. src/server/game/AI/PlayerBots/bp_ai.cpp            | 1888 ++++++++++++
  25. src/server/game/AI/PlayerBots/bp_ai.h              |  611 ++++
  26. src/server/game/AI/PlayerBots/bp_cai.cpp           |   14 +
  27. src/server/game/AI/PlayerBots/bp_cai.h             |  118 +
  28. src/server/game/AI/PlayerBots/bp_dk_ai.cpp         |  549 ++++
  29. src/server/game/AI/PlayerBots/bp_dk_ai.h           |  159 +
  30. src/server/game/AI/PlayerBots/bp_dru_ai.cpp        |  787 +++++
  31. src/server/game/AI/PlayerBots/bp_dru_ai.h          |  223 ++
  32. src/server/game/AI/PlayerBots/bp_hun_ai.cpp        |  407 +++
  33. src/server/game/AI/PlayerBots/bp_hun_ai.h          |  122 +
  34. src/server/game/AI/PlayerBots/bp_mag_ai.cpp        |  356 +++
  35. src/server/game/AI/PlayerBots/bp_mag_ai.h          |  165 +
  36. src/server/game/AI/PlayerBots/bp_mgr.cpp           | 1136 +++++++
  37. src/server/game/AI/PlayerBots/bp_mgr.h             |   64 +
  38. src/server/game/AI/PlayerBots/bp_pal_ai.cpp        |  673 +++++
  39. src/server/game/AI/PlayerBots/bp_pal_ai.h          |  208 ++
  40. src/server/game/AI/PlayerBots/bp_pri_ai.cpp        |  514 ++++
  41. src/server/game/AI/PlayerBots/bp_pri_ai.h          |  166 +
  42. src/server/game/AI/PlayerBots/bp_rog_ai.cpp        |  408 +++
  43. src/server/game/AI/PlayerBots/bp_rog_ai.h          |  104 +
  44. src/server/game/AI/PlayerBots/bp_sha_ai.cpp        | 1660 ++++++++++
  45. src/server/game/AI/PlayerBots/bp_sha_ai.h          |  246 ++
  46. src/server/game/AI/PlayerBots/bp_warl_ai.cpp       |  550 ++++
  47. src/server/game/AI/PlayerBots/bp_warl_ai.h         |  254 ++
  48. src/server/game/AI/PlayerBots/bp_warr_ai.cpp       |  551 ++++
  49. src/server/game/AI/PlayerBots/bp_warr_ai.h         |  182 ++
  50. src/server/game/CMakeLists.txt                     |    2 +
  51. src/server/game/Entities/Creature/Creature.cpp     |  128 +
  52. src/server/game/Entities/Creature/Creature.h       |   38 +
  53. .../game/Entities/Creature/TemporarySummon.cpp     |    8 +
  54. src/server/game/Entities/Player/Player.cpp         |  937 ++++++
  55. src/server/game/Entities/Player/Player.h           |   86 +
  56. src/server/game/Entities/Unit/Unit.cpp             |  214 ++
  57. src/server/game/Groups/Group.cpp                   |   10 +
  58. src/server/game/Groups/Group.h                     |    3 +
  59. src/server/game/Handlers/CharacterHandler.cpp      |   98 +
  60. src/server/game/Handlers/ChatHandler.cpp           |   30 +
  61. src/server/game/Handlers/QuestHandler.cpp          |    8 +
  62. src/server/game/Maps/Map.cpp                       |    3 +
  63. src/server/game/Scripting/ScriptLoader.cpp         |   24 +
  64. src/server/game/Server/WorldSession.cpp            |  100 +
  65. src/server/game/Server/WorldSession.h              |   24 +
  66. src/server/scripts/Spells/spell_priest.cpp         |    4 +
  67. .../Database/Implementation/CharacterDatabase.cpp  |    8 +
  68. .../Database/Implementation/CharacterDatabase.h    |    8 +
  69. .../Database/Implementation/WorldDatabase.cpp      |    4 +
  70. .../shared/Database/Implementation/WorldDatabase.h |    4 +
  71. src/server/worldserver/worldserver.conf.dist       |  193 ++
  72. 66 files changed, 27360 insertions(+), 0 deletions(-)
  73. create mode 100644 sql/Bots/character_NPC_bots.sql
  74. create mode 100644 sql/Bots/world_bot_giver_locales_gossip_menu_option.sql
  75. create mode 100644 sql/Bots/world_bots.sql
  76. create mode 100644 sql/Bots/world_script_bot_giver.sql
  77. create mode 100644 src/server/game/AI/NpcBots/bot_GridNotifiers.h
  78. create mode 100644 src/server/game/AI/NpcBots/bot_ai.cpp
  79. create mode 100644 src/server/game/AI/NpcBots/bot_ai.h
  80. create mode 100644 src/server/game/AI/NpcBots/bot_druid_ai.cpp
  81. create mode 100644 src/server/game/AI/NpcBots/bot_hunter_ai.cpp
  82. create mode 100644 src/server/game/AI/NpcBots/bot_mage_ai.cpp
  83. create mode 100644 src/server/game/AI/NpcBots/bot_paladin_ai.cpp
  84. create mode 100644 src/server/game/AI/NpcBots/bot_priest_ai.cpp
  85. create mode 100644 src/server/game/AI/NpcBots/bot_rogue_ai.cpp
  86. create mode 100644 src/server/game/AI/NpcBots/bot_shaman_ai.cpp
  87. create mode 100644 src/server/game/AI/NpcBots/bot_warlock_ai.cpp
  88. create mode 100644 src/server/game/AI/NpcBots/bot_warrior_ai.cpp
  89. create mode 100644 src/server/game/AI/NpcBots/botcommands.cpp
  90. create mode 100644 src/server/game/AI/NpcBots/botgiver.cpp
  91. create mode 100644 src/server/game/AI/PlayerBots/bp_ai.cpp
  92. create mode 100644 src/server/game/AI/PlayerBots/bp_ai.h
  93. create mode 100644 src/server/game/AI/PlayerBots/bp_cai.cpp
  94. create mode 100644 src/server/game/AI/PlayerBots/bp_cai.h
  95. create mode 100644 src/server/game/AI/PlayerBots/bp_dk_ai.cpp
  96. create mode 100644 src/server/game/AI/PlayerBots/bp_dk_ai.h
  97. create mode 100644 src/server/game/AI/PlayerBots/bp_dru_ai.cpp
  98. create mode 100644 src/server/game/AI/PlayerBots/bp_dru_ai.h
  99. create mode 100644 src/server/game/AI/PlayerBots/bp_hun_ai.cpp
  100. create mode 100644 src/server/game/AI/PlayerBots/bp_hun_ai.h
  101. create mode 100644 src/server/game/AI/PlayerBots/bp_mag_ai.cpp
  102. create mode 100644 src/server/game/AI/PlayerBots/bp_mag_ai.h
  103. create mode 100644 src/server/game/AI/PlayerBots/bp_mgr.cpp
  104. create mode 100644 src/server/game/AI/PlayerBots/bp_mgr.h
  105. create mode 100644 src/server/game/AI/PlayerBots/bp_pal_ai.cpp
  106. create mode 100644 src/server/game/AI/PlayerBots/bp_pal_ai.h
  107. create mode 100644 src/server/game/AI/PlayerBots/bp_pri_ai.cpp
  108. create mode 100644 src/server/game/AI/PlayerBots/bp_pri_ai.h
  109. create mode 100644 src/server/game/AI/PlayerBots/bp_rog_ai.cpp
  110. create mode 100644 src/server/game/AI/PlayerBots/bp_rog_ai.h
  111. create mode 100644 src/server/game/AI/PlayerBots/bp_sha_ai.cpp
  112. create mode 100644 src/server/game/AI/PlayerBots/bp_sha_ai.h
  113. create mode 100644 src/server/game/AI/PlayerBots/bp_warl_ai.cpp
  114. create mode 100644 src/server/game/AI/PlayerBots/bp_warl_ai.h
  115. create mode 100644 src/server/game/AI/PlayerBots/bp_warr_ai.cpp
  116. create mode 100644 src/server/game/AI/PlayerBots/bp_warr_ai.h

  117. diff --git a/sql/Bots/character_NPC_bots.sql b/sql/Bots/character_NPC_bots.sql
  118. new file mode 100644
  119. index 0000000..723043e
  120. --- /dev/null
  121. +++ b/sql/Bots/character_NPC_bots.sql
  122. @@ -0,0 +1,12 @@
  123. +DROP TABLE IF EXISTS `character_npcbot`;
  124. +CREATE TABLE `character_npcbot` (
  125. +  `owner` int(10) default NULL,
  126. +  `entry` int(10) default NULL,
  127. +  `race` tinyint(3) default NULL,
  128. +  `class` tinyint(3) default NULL,
  129. +  `istank` tinyint(3) default NULL,
  130. +  PRIMARY KEY  (`owner`,`entry`)
  131. +)  ENGINE=InnoDB DEFAULT CHARSET=utf8;
  132. +
  133. +
  134. +
  135. diff --git a/sql/Bots/world_bot_giver_locales_gossip_menu_option.sql b/sql/Bots/world_bot_giver_locales_gossip_menu_option.sql
  136. new file mode 100644
  137. index 0000000..a9f5c6b
  138. --- /dev/null
  139. +++ b/sql/Bots/world_bot_giver_locales_gossip_menu_option.sql
  140. @@ -0,0 +1,92 @@
  141. +delete from `locales_gossip_menu_option` where `menu_id` = '60000';
  142. +
  143. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','1','Abandon my Player','Abandon my Player','Abandon my Player','Abandon my Player','Abandon my Player','Abandon my Player','Abandon my Player','Abandon my Player',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  144. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','2','Recruit a Player','Recruit a Player','Recruit a Player','Recruit a Player','Recruit a Player','Recruit a Player','Recruit a Player','Recruit a Player',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  145. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','3','Abandon my Minion','Abandon my Minion','Abandon my Minion','Abandon my Minion','Abandon my Minion','Abandon my Minion','Abandon my Minion','Abandon my Minion',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  146. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','4','Recruit a Minion','Recruit a Minion','Recruit a Minion','Recruit a Minion','Recruit a Minion','Recruit a Minion','Recruit a Minion','Recruit a Minion',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  147. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','5','Tell me about these bots','Tell me about these bots','Tell me about these bots','Tell me about these bots','Tell me about these bots','Tell me about these bots','Tell me about these bots','Tell me about these bots',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  148. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','6','ADD ALL','ADD ALL','ADD ALL','ADD ALL','ADD ALL','ADD ALL','ADD ALL','ADD ALL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  149. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','7','REMOVE ALL','REMOVE ALL','REMOVE ALL','REMOVE ALL','REMOVE ALL','REMOVE ALL','REMOVE ALL','REMOVE ALL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  150. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','8','Recruit a Warrior ','Recruit a Warrior ','Recruit a Warrior ','Recruit a Warrior ','Recruit a Warrior ','Recruit a Warrior ','Recruit a Warrior ','Recruit a Warrior ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  151. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','9','Recruit a Hunter ','Recruit a Hunter ','Recruit a Hunter ','Recruit a Hunter ','Recruit a Hunter ','Recruit a Hunter ','Recruit a Hunter ','Recruit a Hunter ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  152. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','10','Recruit a Paladin ','Recruit a Paladin ','Recruit a Paladin ','Recruit a Paladin ','Recruit a Paladin ','Recruit a Paladin ','Recruit a Paladin ','Recruit a Paladin ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  153. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','11','Recruit a Shaman ','Recruit a Shaman ','Recruit a Shaman ','Recruit a Shaman ','Recruit a Shaman ','Recruit a Shaman ','Recruit a Shaman ','Recruit a Shaman ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  154. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','12','Recruit a Rogue ','Recruit a Rogue ','Recruit a Rogue ','Recruit a Rogue ','Recruit a Rogue ','Recruit a Rogue ','Recruit a Rogue ','Recruit a Rogue ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  155. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','13','Recruit a Druid ','Recruit a Druid ','Recruit a Druid ','Recruit a Druid ','Recruit a Druid ','Recruit a Druid ','Recruit a Druid ','Recruit a Druid ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  156. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','14','Recruit a Mage ','Recruit a Mage ','Recruit a Mage ','Recruit a Mage ','Recruit a Mage ','Recruit a Mage ','Recruit a Mage ','Recruit a Mage ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  157. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','15','Recruit a Priest ','Recruit a Priest ','Recruit a Priest ','Recruit a Priest ','Recruit a Priest ','Recruit a Priest ','Recruit a Priest ','Recruit a Priest ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  158. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','16','Recruit a Warlock ','Recruit a Warlock ','Recruit a Warlock ','Recruit a Warlock ','Recruit a Warlock ','Recruit a Warlock ','Recruit a Warlock ','Recruit a Warlock ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  159. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','17','Recruit a Death Knight ','Recruit a Death Knight ','Recruit a Death Knight ','Recruit a Death Knight ','Recruit a Death Knight ','Recruit a Death Knight ','Recruit a Death Knight ','Recruit a Death Knight ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  160. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','18','To see list of Playerbot commands whisper \'help\' to one of your playerbots','To see list of Playerbot commands whisper \'help\' to one of your playerbots','To see list of Playerbot commands whisper \'help\' to one of your playerbots','To see list of Playerbot commands whisper \'help\' to one of your playerbots','To see list of Playerbot commands whisper \'help\' to one of your playerbots','To see list of Playerbot commands whisper \'help\' to one of your playerbots','To see list of Playerbot commands whisper \'help\' to one of your playerbots','To see list of Playerbot commands whisper \'help\' to one of your playerbots',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  161. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','19','To see list of available npcbot commands type .npcbot or .npcb','To see list of available npcbot commands type .npcbot or .npcb','To see list of available npcbot commands type .npcbot or .npcb','To see list of available npcbot commands type .npcbot or .npcb','To see list of available npcbot commands type .npcbot or .npcb','To see list of available npcbot commands type .npcbot or .npcb','To see list of available npcbot commands type .npcbot or .npcb','To see list of available npcbot commands type .npcbot or .npcb',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  162. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','20','You can also use .maintank (or .mt or .main) command on any party member (even npcbot) so your bots will stick to your plan','You can also use .maintank (or .mt or .main) command on any party member (even npcbot) so your bots will stick to your plan','You can also use .maintank (or .mt or .main) command on any party member (even npcbot) so your bots will stick to your plan','You can also use .maintank (or .mt or .main) command on any party member (even npcbot) so your bots will stick to your plan','You can also use .maintank (or .mt or .main) command on any party member (even npcbot) so your bots will stick to your plan','You can also use .maintank (or .mt or .main) command on any party member (even npcbot) so your bots will stick to your plan','You can also use .maintank (or .mt or .main) command on any party member (even npcbot) so your bots will stick to your plan','You can also use .maintank (or .mt or .main) command on any party member (even npcbot) so your bots will stick to your plan',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  163. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','21','If you want your npcbots to heal someone out of your party set any raid target icon on them','If you want your npcbots to heal someone out of your party set any raid target icon on them','If you want your npcbots to heal someone out of your party set any raid target icon on them','If you want your npcbots to heal someone out of your party set any raid target icon on them','If you want your npcbots to heal someone out of your party set any raid target icon on them','If you want your npcbots to heal someone out of your party set any raid target icon on them','If you want your npcbots to heal someone out of your party set any raid target icon on them','If you want your npcbots to heal someone out of your party set any raid target icon on them',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  164. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','22','If you want your npcbots to heal someone out of your party set proper raid target icon on them, one of these: ','If you want your npcbots to heal someone out of your party set proper raid target icon on them, one of these: ','If you want your npcbots to heal someone out of your party set proper raid target icon on them, one of these: ','If you want your npcbots to heal someone out of your party set proper raid target icon on them, one of these: ','If you want your npcbots to heal someone out of your party set proper raid target icon on them, one of these: ','If you want your npcbots to heal someone out of your party set proper raid target icon on them, one of these: ','If you want your npcbots to heal someone out of your party set proper raid target icon on them, one of these: ','If you want your npcbots to heal someone out of your party set proper raid target icon on them, one of these: ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  165. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','23','star','star','star','star','star','star','star','star',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  166. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','24','circle','circle','circle','circle','circle','circle','circle','circle',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  167. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','25','diamond','diamond','diamond','diamond','diamond','diamond','diamond','diamond',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  168. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','26','triangle','triangle','triangle','triangle','triangle','triangle','triangle','triangle',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  169. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','27','moon','moon','moon','moon','moon','moon','moon','moon',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  170. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','28','square','square','square','square','square','square','square','square',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  171. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','29','cross','cross','cross','cross','cross','cross','cross','cross',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  172. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','30','skull','skull','skull','skull','skull','skull','skull','skull',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  173. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','31','unknown icon','unknown icon','unknown icon','unknown icon','unknown icon','unknown icon','unknown icon','unknown icon',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  174. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','32','no more bots available','no more bots available','no more bots available','no more bots available','no more bots available','no more bots available','no more bots available','no more bots available',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  175. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','33','more bot available','more bot available','more bot available','more bot available','more bot available','more bot available','more bot available','more bot available',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  176. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','34','more bots available','more bots available','more bots available','more bots available','more bots available','more bots available','more bots available','more bots available',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  177. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','35','bot available','bot available','bot available','bot available','bot available','bot available','bot available','bot available',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  178. +insert into `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) values('60000','36','bots available','bots available','bots available','bots available','bots available','bots available','bots available','bots available',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
  179. +
  180. +
复制代码



下面是完整的代码。需要的同学情下载,,自己用到你的服务端里面,注意。这里只是支持3.3.5 WOTLK 怀旧巫妖王魔兽版本的代码


回复下载完整Playerbot机器人代码




作者: samcen    时间: 2019-6-2 19:33
顶!d=====( ̄▽ ̄*)b
作者: 就是玩儿魔兽    时间: 2019-6-4 20:32
感谢分享,字数补丁
作者: jack3255    时间: 2020-3-9 16:40
感谢楼主分享
作者: 分乡-综治办-杨卫    时间: 2020-3-15 00:26
好东西收藏了!
作者: yw6707117    时间: 2020-3-15 00:29
好东西收藏了!
作者: zmyzy    时间: 2020-5-3 16:58
2020了,看一下以前的代码是怎么写的。
作者: 110815329    时间: 2020-7-18 22:39
看不懂,下村啊。
作者: sam33103310    时间: 2020-10-2 00:56
找了好久终于找到了,一直很想和朋友一起玩副本,有了这就可以玩了!吾爱尚玩真棒!
作者: qilinhuhu    时间: 2021-6-10 21:31
认真学习一下
作者: 蒋佳李    时间: 2021-7-17 15:08
卧槽,牛逼。
作者: falchocobo    时间: 2021-9-16 16:32

支持吾爱尚玩,依照《金币》快速获取指南,即可获得金币免费下载游戏!
作者: zxd001    时间: 2021-9-23 23:31
魔兽单机Trinity端玩家机器人内核代码 [修改]
作者: 5056763    时间: 2021-10-24 09:47
感谢,壁咚看看先
作者: said    时间: 2021-12-2 13:15
感谢楼主分享,祝愿吾爱尚玩越来越好!

作者: said1    时间: 2021-12-2 14:41
感谢楼主分享,祝愿吾爱尚玩越来越好!

作者: 神兽怪    时间: 2021-12-29 10:27
怎么用啊,有使用方法吗
作者: yang19021    时间: 2022-2-13 17:45
非常需要的,非常及时
作者: gfmscsb    时间: 2022-3-8 22:04
魔兽单机Trinity端玩家机器人内核代码 [修改]
高级模式

作者: tity3833    时间: 2022-3-25 21:24
找了好久终于找到了!吾爱尚玩免费服务端下载!
作者: paker5200    时间: 2022-5-10 18:16
感谢楼主分享,一直在找这个代码
作者: 无敌闲逛    时间: 2022-5-14 17:34

支持吾爱尚玩,依照《金币》快速获取指南,即可获得金币免费下载游戏!
作者: ds52pl    时间: 2022-12-29 17:31
感谢分享,学习中
作者: qeqeqqqqqq    时间: 2023-1-3 19:36
看一下这个代码是怎么样的
作者: 流星    时间: 2023-1-8 00:33
感谢大佬分享
作者: howill    时间: 2023-2-8 22:18
必须顶一个,这个机器人的角色需要自己手动注册账号创建的吗?

作者: nickeynec    时间: 2023-2-13 10:04

找了好久终于找到了!




欢迎光临 吾爱尚玩资源基地 (http://bbs.523play.com/) Powered by Discuz! X3.4