trickerer / Trinity-Bots

NPCBots for TrinityCore and AzerothCore 3.3.5
https://github.com/trickerer/TrinityCore-3.3.5-with-NPCBots/
446 stars 148 forks source link

[TC] [AC] [Feature] [Group/Core] Suggestion on using the revive NPCbots command only when the player is alive #800

Closed moncat2005 closed 3 weeks ago

moncat2005 commented 1 month ago

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

Description

Usually, players can execute the command to revive NPCbots through the speaking channel while in survival mode. After the player dies, the default speaking channel can no longer execute the command to revive NPCbots. But players can execute the command to revive NPCbots by switching between teams or guild channels. Then, in the game, players appear to be in a dead state, repeatedly entering commands to revive NPCbots, and finally lying on the corpse wins the boss.

To ensure the playability and fairness of the game, please consider limiting the execution of revive NPCbots commands. After the player dies, it is necessary to prohibit any dialogue channels from entering commands to revive NPCbots.

TrinityCore or AzerothCore

Both

Core rev. hash/commit

AzerothCore-wotlk-with-NPCBots 9431a06 2024-05-14

Operating system

Ubuntu 18.04

trickerer commented 1 month ago

I have to remind you that .npcbot revive is a GM command and isn't supposed to be used by players, ever. Did you give this permission to your players then?

moncat2005 commented 1 month ago

Yes, in order for players to revive NPCbots through the NetherBot addon, I have lowered this revive command to player level 0.

trickerer commented 1 month ago

Sorry but I can't be fixing issues you create with your own hands. Revive command was never supposed to be available to players, once bot dies it can only revive after a certain amount of time player spends out of combat.

moncat2005 commented 1 month ago

Okay, I will carefully adjust the level of each command according to the command instructions in "THE NPCBOTS MANUAL". Adjust all execution restrictions except for player command to level 1 and level 3. However, during the verification process, I found that some of the commands in the instructions were missing from the command table in the database, such as: . npcbot useonbot spell [Resurrection] . npcbot useonbot spell Dampen Magic . npcbot useonbot spell intervene . npcbot useonbot item [Gnomish Army Knife] . npcb use s Intervene . npcbot go . npcbot wp

Have these commands not been implemented yet?

NPCBOT-COMMAND-SECURITY.TXT

trickerer commented 1 month ago

All these command were implemented. At some point .npcbot ... commands were removed from command table, for several reasons:

I think missing command message log level is now error, need to check it. If so command table will need to be populated with npcbot commands again

trickerer commented 1 month ago

https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/commit/6de48a959511286e5cc582bbaeda8f170ebfcee9