diff --git a/playerbot/PlayerbotAIConfig.h b/playerbot/PlayerbotAIConfig.h index 616870b4..8eb06580 100644 --- a/playerbot/PlayerbotAIConfig.h +++ b/playerbot/PlayerbotAIConfig.h @@ -37,8 +37,9 @@ enum class BotSelfBotLevel : uint32 DISABLED = 0, GM_ONLY = 1, ACTIVE_BY_COMMAND = 2, - ACTIVE_BY_LOGIN = 3, - ALWAYS_ACTIVE = 4 + ALWAYS_ALLOWED = 3, + ACTIVE_BY_LOGIN = 4, + ALWAYS_ACTIVE = 5 }; enum class BotAlwaysOnline : uint32 diff --git a/playerbot/PlayerbotMgr.cpp b/playerbot/PlayerbotMgr.cpp index 1b10d7dd..651bf5d8 100644 --- a/playerbot/PlayerbotMgr.cpp +++ b/playerbot/PlayerbotMgr.cpp @@ -788,7 +788,7 @@ std::list PlayerbotHolder::HandlePlayerbotCommand(char const* args, messages.push_back("You do not have permission to enable player ai"); return messages; } - else if (sPlayerbotAIConfig.selfBotLevel == BotSelfBotLevel::ACTIVE_BY_COMMAND && master->GetSession()->GetSecurity() < SEC_GAMEMASTER) + else if (sPlayerbotAIConfig.selfBotLevel < BotSelfBotLevel::ALWAYS_ALLOWED && master->GetSession()->GetSecurity() < SEC_GAMEMASTER) { messages.push_back("Player ai is only available while online"); return messages; diff --git a/playerbot/aiplayerbot.conf.dist.in b/playerbot/aiplayerbot.conf.dist.in index a11ef3e1..57b6b803 100644 --- a/playerbot/aiplayerbot.conf.dist.in +++ b/playerbot/aiplayerbot.conf.dist.in @@ -908,7 +908,7 @@ AiPlayerbot.PerfMonEnabled = 0 # Self bot turns your current character into a bot with the command ".bot self" # !!DISCLAMER!! Selfbots will work and act like randombots based on their enabled strategies. Your epic mount will be sold to a vendor! -# Self bot level. Values: 0 (disabled), 1 (Game masters only), 2 (Any player), 3 (Enabled on login), 4 (Enabled even when offline) +# Self bot level. Values: 0 (disabled), 1 (Game masters only), 2 (Any player), 3 (Allow .bot always command for all players), 4 (Enabled on login), 4 (Enabled even when offline) # AiPlayerbot.SelfBotLevel = 1 # Account/character names that are either, always online as bot (SelfBotLevel < 4) or prevented from being always online as bot (SelfBotLevel = 4) diff --git a/playerbot/aiplayerbot.conf.dist.in.tbc b/playerbot/aiplayerbot.conf.dist.in.tbc index bef2275d..4499ab57 100644 --- a/playerbot/aiplayerbot.conf.dist.in.tbc +++ b/playerbot/aiplayerbot.conf.dist.in.tbc @@ -927,7 +927,7 @@ AiPlayerbot.PerfMonEnabled = 0 # Self bot turns your current character into a bot with the command ".bot self" # !!DISCLAMER!! Selfbots will work and act like randombots based on their enabled strategies. Your epic mount will be sold to a vendor! -# Self bot level. Values: 0 (disabled), 1 (Game masters only), 2 (Any player), 3 (Enabled on login), 4 (Enabled even when offline) +# Self bot level. Values: 0 (disabled), 1 (Game masters only), 2 (Any player), 3 (Allow .bot always command for all players), 4 (Enabled on login), 4 (Enabled even when offline) # AiPlayerbot.SelfBotLevel = 1 # Account/character names that are either, always online as bot (SelfBotLevel < 4) or prevented from being always online as bot (SelfBotLevel = 4) diff --git a/playerbot/aiplayerbot.conf.dist.in.wotlk b/playerbot/aiplayerbot.conf.dist.in.wotlk index 5f55a226..6c612794 100644 --- a/playerbot/aiplayerbot.conf.dist.in.wotlk +++ b/playerbot/aiplayerbot.conf.dist.in.wotlk @@ -864,7 +864,7 @@ AiPlayerbot.PerfMonEnabled = 0 # Self bot turns your current character into a bot with the command ".bot self" # !!DISCLAMER!! Selfbots will work and act like randombots based on their enabled strategies. Your epic mount will be sold to a vendor! -# Self bot level. Values: 0 (disabled), 1 (Game masters only), 2 (Any player), 3 (Enabled on login), 4 (Enabled even when offline) +# Self bot level. Values: 0 (disabled), 1 (Game masters only), 2 (Any player), 3 (Allow .bot always command for all players), 4 (Enabled on login), 4 (Enabled even when offline) # AiPlayerbot.SelfBotLevel = 1 # Account/character names that are either, always online as bot (SelfBotLevel < 4) or prevented from being always online as bot (SelfBotLevel = 4)