From 957a60cd1df20470448de71040d38ae8a240cbec Mon Sep 17 00:00:00 2001 From: HennyWilly <5954598+HennyWilly@users.noreply.github.com> Date: Wed, 20 Aug 2025 18:24:00 +0200 Subject: [PATCH] Ignore GameObject IDs from vanilla dungeons (#1518) * DisallowedGameObjects for vanilla dungeons * Bots ignore trap crates in Stratholme -> Remove * Updated AiPlayerbot.DisallowedGameObjects default value in source code * Removed duplicate * Added 123329 * Added 123329 and removed duplicated * Update playerbots.conf.dist 153464 - no reason to ignore it * 153464 - no reason to ignore it --------- Co-authored-by: bash <31279994+hermensbas@users.noreply.github.com> --- conf/playerbots.conf.dist | 8 +++++--- src/PlayerbotAIConfig.cpp | 10 +++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/conf/playerbots.conf.dist b/conf/playerbots.conf.dist index 51d57d9f..7419a97b 100644 --- a/conf/playerbots.conf.dist +++ b/conf/playerbots.conf.dist @@ -1985,13 +1985,15 @@ AiPlayerbot.AllowedLogFiles = "" #################################################################################################### # A list of gameObject GUID's that are not allowed for bots to interact with. # -AiPlayerbot.DisallowedGameObjects = 176213,17155,2656,74448,19020,3719,3658,3705,3706,105579,75293,17155,2857,179490 +AiPlayerbot.DisallowedGameObjects = 176213,17155,2656,74448,19020,3719,3658,3705,3706,105579,75293,2857,179490,141596,160836,160845,179516,176224,181085,176112,128308,128403,165739,165738,175245,175970,176325,176327,123329 # # List of GUID's: # QuestItems: -# 176213 = Blood of Heroes, 17155 = Defias Gunpowder, 2656 = Waterlogged Envelope +# 176213 = Blood of Heroes, 17155 = Defias Gunpowder, 2656 = Waterlogged Envelope, 123329 = Baelogs Chest # Chests: -# Large Solid Chest = 74448, Box of Assorted Parts = 19020, Food Crate = 3719, Water Barrel = 3658, Barrel of Milk = 3705, Barrel of sweet Nectar = 3706, Tattered Chest = 105579, Large bettered Chest = 75293, Solid Chest = 2857, Battered Foodlocker = 179490 +# Large Solid Chest = 74448, Box of Assorted Parts = 19020, Food Crate = 3719, Water Barrel = 3658, Barrel of Milk = 3705, Barrel of sweet Nectar = 3706, Tattered Chest = 105579, Large bettered Chest = 75293, Solid Chest = 2857, Battered Foodlocker = 179490, Witch Doctor's Chest = 141596, Relic Coffer = 160836, Dark Coffer = 160845, Fengus's Chest = 179516, Supply Crate = 176224/181085, Malor's Strongbox = 176112 +# Other: +# Shallow Grave (Zul'Farrak) = 128308/128403, Grim Guzzler Boar (Blackrock Depths) = 165739, Dark Iron Ale Mug (Blackrock Depths) = 165738, Father Flame (Blackrock Spire) = 175245, Unforged Runic Breastplate (Blackrock Spire) = 175970, Blacksmithing Plans (Stratholme) = 176325/176327 # Feel free to edit and help to complete. # #################################################################################################### diff --git a/src/PlayerbotAIConfig.cpp b/src/PlayerbotAIConfig.cpp index e35d82e3..6c6aa322 100644 --- a/src/PlayerbotAIConfig.cpp +++ b/src/PlayerbotAIConfig.cpp @@ -157,8 +157,12 @@ bool PlayerbotAIConfig::Initialize() sConfigMgr->GetOption("AiPlayerbot.RandomBotQuestIds", "7848,3802,5505,6502,7761"), randomBotQuestIds); - LoadSet>(sConfigMgr->GetOption("AiPlayerbot.DisallowedGameObjects", "176213,17155"), - disallowedGameObjects); + LoadSet>( + sConfigMgr->GetOption("AiPlayerbot.DisallowedGameObjects", + "176213,17155,2656,74448,19020,3719,3658,3705,3706,105579,75293,2857," + "179490,141596,160836,160845,179516,176224,181085,176112,128308,128403," + "165739,165738,175245,175970,176325,176327,123329"), + disallowedGameObjects); botAutologin = sConfigMgr->GetOption("AiPlayerbot.BotAutologin", false); randomBotAutologin = sConfigMgr->GetOption("AiPlayerbot.RandomBotAutologin", true); minRandomBots = sConfigMgr->GetOption("AiPlayerbot.MinRandomBots", 50); @@ -198,7 +202,7 @@ bool PlayerbotAIConfig::Initialize() "575,576,578,595,599,600,601,602,604,608,619,632,650,658,668,409,469,509," "531,532,534,544,548,550,564,565,580,249,533,603,615,616,624,631,649,724"), restrictedHealerDPSMaps); - + //////////////////////////// ICC EnableICCBuffs = sConfigMgr->GetOption("AiPlayerbot.EnableICCBuffs", true);