Skip to content

Commit

Permalink
Alt login: Swapped default guild and classrace login criteria. Having…
Browse files Browse the repository at this point in the history
… classrace dropped before guild would make it only apply to guild members
  • Loading branch information
mostlikely4r committed Dec 7, 2024
1 parent ec0c137 commit 4bf894e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion playerbot/PlayerbotAIConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ bool PlayerbotAIConfig::Initialize()

loginBotsNearPlayerRange = config.GetIntDefault("AiPlayerbot.LoginBotsNearPlayerRange", 1000);

LoadListString<std::vector<std::string> >(config.GetStringDefault("AiPlayerbot.LoginCriteria", "guild,classrace"), loginCriteria);
LoadListString<std::vector<std::string> >(config.GetStringDefault("AiPlayerbot.LoginCriteria", "classrace,guild"), loginCriteria);

for (uint32 level = 1; level <= DEFAULT_MAX_LEVEL; ++level)
{
Expand Down
2 changes: 1 addition & 1 deletion playerbot/aiplayerbot.conf.dist.in
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ AiPlayerbot.PerfMonEnabled = 0
# AiPlayerbot.AsyncBotLogin = 0
# The login criteria to apply when trying to log in bots. options: classrace,level,range,map,guild
# When trying to reach max bots it will drop the last criteria first. So if classrace,level only reaches 800/1000 bots it will try to get to 1000 only looking at classrace.
# AiPlayerbot.LoginCriteria = guild,classrace
# AiPlayerbot.LoginCriteria = classrace,guild
# When bots are logged in that do not fully match all criteria selected it will do so up to xxx spaces below the maximum. Bots that suddenly match all the criteria will then have room to use this to log in.
# AiPlayerbot.FreeRoomForNonSpareBots = 0

Expand Down
2 changes: 1 addition & 1 deletion playerbot/aiplayerbot.conf.dist.in.tbc
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ AiPlayerbot.PerfMonEnabled = 0
# AiPlayerbot.AsyncBotLogin = 0
# The login criteria to apply when trying to log in bots. options: classrace,level,range,map,guild
# When trying to reach max bots it will drop the last criteria first. So if classrace,level only reaches 800/1000 bots it will try to get to 1000 only looking at classrace.
# AiPlayerbot.LoginCriteria = guild,classrace
# AiPlayerbot.LoginCriteria = classrace,guild
# When bots are logged in that do not fully match all criteria selected it will do so up to xxx spaces below the maximum. Bots that suddenly match all the criteria will then have room to use this to log in.
# AiPlayerbot.FreeRoomForNonSpareBots = 0

Expand Down
2 changes: 1 addition & 1 deletion playerbot/aiplayerbot.conf.dist.in.wotlk
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ AiPlayerbot.PerfMonEnabled = 0
# AiPlayerbot.AsyncBotLogin = 0
# The login criteria to apply when trying to log in bots. options: classrace,level,range,map,guild
# When trying to reach max bots it will drop the last criteria first. So if classrace,level only reaches 800/1000 bots it will try to get to 1000 only looking at classrace.
# AiPlayerbot.LoginCriteria = guild,classrace
# AiPlayerbot.LoginCriteria = classrace,guild
# When bots are logged in that do not fully match all criteria selected it will do so up to xxx spaces below the maximum. Bots that suddenly match all the criteria will then have room to use this to log in.
# AiPlayerbot.FreeRoomForNonSpareBots = 0

Expand Down

0 comments on commit 4bf894e

Please sign in to comment.