mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
[Bots] Remove In-Game Command References to Bot Groups (#3545)
This commit is contained in:
parent
140aba9f69
commit
919a92bda3
@ -2099,7 +2099,6 @@ namespace ActionableBots
|
|||||||
ABT_Target,
|
ABT_Target,
|
||||||
ABT_ByName,
|
ABT_ByName,
|
||||||
ABT_OwnerGroup,
|
ABT_OwnerGroup,
|
||||||
ABT_BotGroup,
|
|
||||||
ABT_TargetGroup,
|
ABT_TargetGroup,
|
||||||
ABT_NamesGroup,
|
ABT_NamesGroup,
|
||||||
ABT_HealRotation,
|
ABT_HealRotation,
|
||||||
@ -2440,7 +2439,6 @@ void bot_command_actionable(Client *c, const Seperator *sep)
|
|||||||
c->Message(Chat::White, "target - selects target as single bot .. use ^command [target] or imply by empty actionable argument");
|
c->Message(Chat::White, "target - selects target as single bot .. use ^command [target] or imply by empty actionable argument");
|
||||||
c->Message(Chat::White, "byname [name] - selects single bot by name");
|
c->Message(Chat::White, "byname [name] - selects single bot by name");
|
||||||
c->Message(Chat::White, "ownergroup - selects all bots in the owner's group");
|
c->Message(Chat::White, "ownergroup - selects all bots in the owner's group");
|
||||||
c->Message(Chat::White, "botgroup [name] - selects members of a bot-group by its name");
|
|
||||||
c->Message(Chat::White, "targetgroup - selects all bots in target's group");
|
c->Message(Chat::White, "targetgroup - selects all bots in target's group");
|
||||||
c->Message(Chat::White, "namesgroup [name] - selects all bots in name's group");
|
c->Message(Chat::White, "namesgroup [name] - selects all bots in name's group");
|
||||||
c->Message(Chat::White, "healrotation [name] - selects all member and target bots of a heal rotation where name is a member");
|
c->Message(Chat::White, "healrotation [name] - selects all member and target bots of a heal rotation where name is a member");
|
||||||
@ -2458,7 +2456,7 @@ void bot_command_aggressive(Client *c, const Seperator *sep)
|
|||||||
if (helper_spell_list_fail(c, local_list, BCEnum::SpT_Stance) || helper_command_alias_fail(c, "bot_command_aggressive", sep->arg[0], "aggressive"))
|
if (helper_spell_list_fail(c, local_list, BCEnum::SpT_Stance) || helper_command_alias_fail(c, "bot_command_aggressive", sep->arg[0], "aggressive"))
|
||||||
return;
|
return;
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
c->Message(Chat::White, "usage: %s ([actionable: target | byname | ownergroup | botgroup | targetgroup | namesgroup | healrotationtargets | spawned] ([actionable_name]))", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s ([actionable: target | byname | ownergroup | targetgroup | namesgroup | healrotationtargets | spawned] ([actionable_name]))", sep->arg[0]);
|
||||||
helper_send_usage_required_bots(c, BCEnum::SpT_Stance);
|
helper_send_usage_required_bots(c, BCEnum::SpT_Stance);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -2688,7 +2686,7 @@ void bot_command_attack(Client *c, const Seperator *sep)
|
|||||||
}
|
}
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
|
|
||||||
c->Message(Chat::White, "usage: <enemy_target> %s [actionable: byname | ownergroup | botgroup | namesgroup | healrotation | default: spawned] ([actionable_name])", sep->arg[0]);
|
c->Message(Chat::White, "usage: <enemy_target> %s [actionable: byname | ownergroup | namesgroup | healrotation | default: spawned] ([actionable_name])", sep->arg[0]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const int ab_mask = ActionableBots::ABM_Type2;
|
const int ab_mask = ActionableBots::ABM_Type2;
|
||||||
@ -2945,7 +2943,7 @@ void bot_command_defensive(Client *c, const Seperator *sep)
|
|||||||
if (helper_spell_list_fail(c, local_list, BCEnum::SpT_Stance) || helper_command_alias_fail(c, "bot_command_defensive", sep->arg[0], "defensive"))
|
if (helper_spell_list_fail(c, local_list, BCEnum::SpT_Stance) || helper_command_alias_fail(c, "bot_command_defensive", sep->arg[0], "defensive"))
|
||||||
return;
|
return;
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
c->Message(Chat::White, "usage: %s ([actionable: target | byname | ownergroup | botgroup | targetgroup | namesgroup | healrotationtargets | spawned] ([actionable_name]))", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s ([actionable: target | byname | ownergroup | targetgroup | namesgroup | healrotationtargets | spawned] ([actionable_name]))", sep->arg[0]);
|
||||||
helper_send_usage_required_bots(c, BCEnum::SpT_Stance);
|
helper_send_usage_required_bots(c, BCEnum::SpT_Stance);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -3147,7 +3145,7 @@ void bot_command_follow(Client *c, const Seperator *sep)
|
|||||||
if (helper_command_alias_fail(c, "bot_command_follow", sep->arg[0], "follow"))
|
if (helper_command_alias_fail(c, "bot_command_follow", sep->arg[0], "follow"))
|
||||||
return;
|
return;
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
c->Message(Chat::White, "usage: (<friendly_target>) %s ([option: reset]) [actionable: byname | ownergroup | botgroup | namesgroup | healrotation | spawned] ([actionable_name])", sep->arg[0]);
|
c->Message(Chat::White, "usage: (<friendly_target>) %s ([option: reset]) [actionable: byname | ownergroup | namesgroup | healrotation | spawned] ([actionable_name])", sep->arg[0]);
|
||||||
c->Message(Chat::White, "usage: %s chain", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s chain", sep->arg[0]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -3254,7 +3252,7 @@ void bot_command_guard(Client *c, const Seperator *sep)
|
|||||||
}
|
}
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
|
|
||||||
c->Message(Chat::White, "usage: %s ([option: clear]) [actionable: target | byname | ownergroup | botgroup | namesgroup | healrotation | spawned] ([actionable_name])", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s ([option: clear]) [actionable: target | byname | ownergroup | namesgroup | healrotation | spawned] ([actionable_name])", sep->arg[0]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const int ab_mask = (ActionableBots::ABM_Target | ActionableBots::ABM_Type2);
|
const int ab_mask = (ActionableBots::ABM_Target | ActionableBots::ABM_Type2);
|
||||||
@ -3388,7 +3386,7 @@ void bot_command_hold(Client *c, const Seperator *sep)
|
|||||||
}
|
}
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
|
|
||||||
c->Message(Chat::White, "usage: %s ([option: clear]) [actionable: target | byname | ownergroup | botgroup | namesgroup | healrotation | spawned] ([actionable_name])", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s ([option: clear]) [actionable: target | byname | ownergroup | namesgroup | healrotation | spawned] ([actionable_name])", sep->arg[0]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const int ab_mask = (ActionableBots::ABM_Target | ActionableBots::ABM_Type2);
|
const int ab_mask = (ActionableBots::ABM_Target | ActionableBots::ABM_Type2);
|
||||||
@ -4728,7 +4726,7 @@ void bot_command_taunt(Client *c, const Seperator *sep)
|
|||||||
if (helper_command_alias_fail(c, "bot_command_taunt", sep->arg[0], "taunt"))
|
if (helper_command_alias_fail(c, "bot_command_taunt", sep->arg[0], "taunt"))
|
||||||
return;
|
return;
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
c->Message(Chat::White, "usage: %s ([option: on | off]) ([actionable: target | byname | ownergroup | botgroup | targetgroup | namesgroup | healrotationtargets | spawned] ([actionable_name]))", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s ([option: on | off]) ([actionable: target | byname | ownergroup | targetgroup | namesgroup | healrotationtargets | spawned] ([actionable_name]))", sep->arg[0]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const int ab_mask = ActionableBots::ABM_Type1;
|
const int ab_mask = ActionableBots::ABM_Type1;
|
||||||
@ -5045,7 +5043,7 @@ void bot_subcommand_bot_camp(Client *c, const Seperator *sep)
|
|||||||
if (helper_command_alias_fail(c, "bot_subcommand_bot_camp", sep->arg[0], "botcamp"))
|
if (helper_command_alias_fail(c, "bot_subcommand_bot_camp", sep->arg[0], "botcamp"))
|
||||||
return;
|
return;
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
c->Message(Chat::White, "usage: %s ([actionable: target | byname | ownergroup | botgroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s ([actionable: target | byname | ownergroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const int ab_mask = ActionableBots::ABM_NoFilter;
|
const int ab_mask = ActionableBots::ABM_NoFilter;
|
||||||
@ -5629,7 +5627,7 @@ void bot_subcommand_bot_dye_armor(Client *c, const Seperator *sep)
|
|||||||
c->Message(
|
c->Message(
|
||||||
Chat::White,
|
Chat::White,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"Usage: {} [Material Slot] [Red: 0-255] [Green: 0-255] [Blue: 0-255] ([actionable: target | byname | ownergroup | botgroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))",
|
"Usage: {} [Material Slot] [Red: 0-255] [Green: 0-255] [Blue: 0-255] ([actionable: target | byname | ownergroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))",
|
||||||
sep->arg[0]
|
sep->arg[0]
|
||||||
).c_str()
|
).c_str()
|
||||||
);
|
);
|
||||||
@ -5836,8 +5834,8 @@ void bot_subcommand_bot_follow_distance(Client *c, const Seperator *sep)
|
|||||||
if (helper_command_alias_fail(c, "bot_subcommand_bot_follow_distance", sep->arg[0], "botfollowdistance"))
|
if (helper_command_alias_fail(c, "bot_subcommand_bot_follow_distance", sep->arg[0], "botfollowdistance"))
|
||||||
return;
|
return;
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
c->Message(Chat::White, "usage: %s [set] [distance] ([actionable: target | byname | ownergroup | botgroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s [set] [distance] ([actionable: target | byname | ownergroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
||||||
c->Message(Chat::White, "usage: %s [clear] ([actionable: target | byname | ownergroup | botgroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s [clear] ([actionable: target | byname | ownergroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const int ab_mask = ActionableBots::ABM_NoFilter;
|
const int ab_mask = ActionableBots::ABM_NoFilter;
|
||||||
@ -6011,7 +6009,7 @@ void bot_subcommand_bot_inspect_message(Client *c, const Seperator *sep)
|
|||||||
if (helper_command_alias_fail(c, "bot_subcommand_bot_inspect_message", sep->arg[0], "botinspectmessage"))
|
if (helper_command_alias_fail(c, "bot_subcommand_bot_inspect_message", sep->arg[0], "botinspectmessage"))
|
||||||
return;
|
return;
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
c->Message(Chat::White, "usage: %s [set | clear] ([actionable: target | byname | ownergroup | botgroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s [set | clear] ([actionable: target | byname | ownergroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
||||||
c->Message(Chat::White, "Notes:");
|
c->Message(Chat::White, "Notes:");
|
||||||
if (c->ClientVersion() >= EQ::versions::ClientVersion::SoF) {
|
if (c->ClientVersion() >= EQ::versions::ClientVersion::SoF) {
|
||||||
c->Message(Chat::White, "- Self-inspect and type your bot's inspect message");
|
c->Message(Chat::White, "- Self-inspect and type your bot's inspect message");
|
||||||
@ -6393,7 +6391,7 @@ void bot_subcommand_bot_report(Client *c, const Seperator *sep)
|
|||||||
if (helper_command_alias_fail(c, "bot_subcommand_bot_report", sep->arg[0], "botreport"))
|
if (helper_command_alias_fail(c, "bot_subcommand_bot_report", sep->arg[0], "botreport"))
|
||||||
return;
|
return;
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
c->Message(Chat::White, "usage: %s ([actionable: target | byname | ownergroup | botgroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s ([actionable: target | byname | ownergroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const int ab_mask = ActionableBots::ABM_NoFilter;
|
const int ab_mask = ActionableBots::ABM_NoFilter;
|
||||||
@ -6752,7 +6750,7 @@ void bot_subcommand_bot_summon(Client *c, const Seperator *sep)
|
|||||||
c->Message(
|
c->Message(
|
||||||
Chat::White,
|
Chat::White,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"Usage: {} ([actionable: target | byname | ownergroup | botgroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))",
|
"Usage: {} ([actionable: target | byname | ownergroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))",
|
||||||
sep->arg[0]
|
sep->arg[0]
|
||||||
).c_str()
|
).c_str()
|
||||||
);
|
);
|
||||||
@ -6897,7 +6895,7 @@ void bot_subcommand_bot_toggle_helm(Client *c, const Seperator *sep)
|
|||||||
if (helper_command_alias_fail(c, "bot_subcommand_bot_toggle_helm", sep->arg[0], "bottogglehelm"))
|
if (helper_command_alias_fail(c, "bot_subcommand_bot_toggle_helm", sep->arg[0], "bottogglehelm"))
|
||||||
return;
|
return;
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
c->Message(Chat::White, "usage: %s ([option: on | off]) ([actionable: target | byname | ownergroup | botgroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s ([option: on | off]) ([actionable: target | byname | ownergroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const int ab_mask = ActionableBots::ABM_NoFilter;
|
const int ab_mask = ActionableBots::ABM_NoFilter;
|
||||||
@ -8577,7 +8575,7 @@ void bot_subcommand_pet_get_lost(Client *c, const Seperator *sep)
|
|||||||
if (helper_command_alias_fail(c, "bot_subcommand_pet_get_lost", sep->arg[0], "petgetlost"))
|
if (helper_command_alias_fail(c, "bot_subcommand_pet_get_lost", sep->arg[0], "petgetlost"))
|
||||||
return;
|
return;
|
||||||
if (helper_is_help_or_usage(sep->arg[1])) {
|
if (helper_is_help_or_usage(sep->arg[1])) {
|
||||||
c->Message(Chat::White, "usage: %s ([actionable: target | byname | ownergroup | botgroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
c->Message(Chat::White, "usage: %s ([actionable: target | byname | ownergroup | targetgroup | namesgroup | healrotation | spawned] ([actionable_name]))", sep->arg[0]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int ab_mask = ActionableBots::ABM_NoFilter;
|
int ab_mask = ActionableBots::ABM_NoFilter;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user