diff --git a/src/modules/PlayerbotV2/BOT_COMMANDS.md b/src/modules/PlayerbotV2/BOT_COMMANDS.md index 0c11128df4..375ca0f7dd 100644 --- a/src/modules/PlayerbotV2/BOT_COMMANDS.md +++ b/src/modules/PlayerbotV2/BOT_COMMANDS.md @@ -69,7 +69,6 @@ The `.bot` commands for your own bots work for every account, no GM needed; each | `.bot dismiss ` | Removes it from your group and logs it out. Gear is kept. | | `.bot delete ` | Deletes the character for good (the addon asks first). Only bots made for you: one of your own characters summoned as a bot (`.playerbot summon`) is refused with a pointer to `.bot dismiss`. | | `.bot list` | Your companions, online or not (`saved` marks roster ones). | -| `.bot trade ` | Sent by the ForeverBots add-on right after you click Trade in a trade window with a bot, never typed. When the window still holds what you saw (money and items on both sides), your accept goes through with the bot's current state, so one click is enough; when the bot changed its offer, nothing is accepted and the add-on asks you to look again. Trades with players are not touched. | | `.bot regear ` | Re-rolls the equipment of online companions so they do not all wear the same pieces. Better pieces they wear stay; replaced ones go to the bags. | | `.bot world` | Status of the world-bot spawner (Playerbot.World.*), console too. | | `.bot population [off\|low\|medium\|high\|file]` | How many world bots the realm has, GM only, until the next restart (the launcher's Bots setting, `Bots.Size`, decides at every start; the add-on has no World bots tab since 0.6.13). Applies right away (a step down logs the world bots out first). It wins over `Bots.Size` and `Playerbot.World.Enable` until then; `file` hands back to the config files. No word: what it is now. Console too. | diff --git a/src/modules/PlayerbotV2/Commands/cs_playerbot_v2.cpp b/src/modules/PlayerbotV2/Commands/cs_playerbot_v2.cpp index 32f352977b..cf149df337 100644 --- a/src/modules/PlayerbotV2/Commands/cs_playerbot_v2.cpp +++ b/src/modules/PlayerbotV2/Commands/cs_playerbot_v2.cpp @@ -707,8 +707,6 @@ public: { "unsave", HandleBotUnsave, rbac::RBAC_PERM_JOIN_NORMAL_BG, Console::No }, { "delete", HandleBotDelete, rbac::RBAC_PERM_JOIN_NORMAL_BG, Console::No }, { "list", HandleBotList, rbac::RBAC_PERM_JOIN_NORMAL_BG, Console::No }, - // Every player: the ForeverBots trade window (accept a bot's offer as seen). Sent by the add-on, not typed. - { "trade", HandleBotTrade, rbac::RBAC_PERM_JOIN_NORMAL_BG, Console::No }, { "language", HandleBotLanguage, rbac::RBAC_PERM_JOIN_NORMAL_BG, Console::No }, { "world", HandleBotWorld, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, // GM only: how many world bots the realm has (Off / Low / Medium / High), set in game until the next restart (the launcher's Bots setting decides at every start). diff --git a/src/modules/PlayerbotV2/Session/AddonControl.cpp b/src/modules/PlayerbotV2/Session/AddonControl.cpp index a39a201571..043e13e1d6 100644 --- a/src/modules/PlayerbotV2/Session/AddonControl.cpp +++ b/src/modules/PlayerbotV2/Session/AddonControl.cpp @@ -1784,6 +1784,8 @@ bool OnAddonWhisper(Player* sender, Player* /*receiver*/, && mtype != "PING" && mtype != "LFG_REQ" && mtype != "POP_REQ" + && mtype != "BOT_TRADE_VIEW" + && mtype != "BOT_TRADE_ACCEPT" && mtype != "ASSIGN_REQ") return false; }