diff --git a/config/modules/playerbots.conf b/config/modules/playerbots.conf index addddc5..cdfda15 100644 --- a/config/modules/playerbots.conf +++ b/config/modules/playerbots.conf @@ -1,22 +1,38 @@ -################################################################################################# +##################################################################################################################### # START: custom playerbots.conf settings -################################################################################################# +##################################################################################################################### -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- # general -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- + AiPlayerbot.Enabled = 1 AiPlayerbot.DeleteRandomBotAccounts = 0 AiPlayerbot.RandomBotAccountPrefix = "rndbot" AiPlayerbot.LimitTalentsExpansion = 0 -#------------------------------------------------------------------- +# Bot group invitation permission level (0 = GM only, 1 = accept based on level, 2 = always accept) +# Default: 1 (accept based on level) +AiPlayerbot.GroupInvitationPermission = 1 + +# Disable randombots when no real players are logged in +# Default: 0 (randombots will login when server starts) +# If enabled, randombots will only log in 30 seconds (default) after a real player logs in, and will log out 300 seconds (default) after all real players log out +AiPlayerbot.DisabledWithoutRealPlayer = 0 +AiPlayerbot.DisabledWithoutRealPlayerLoginDelay = 30 +AiPlayerbot.DisabledWithoutRealPlayerLogoutDelay = 300 + +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- # randombots # - RandomBotMaps: 0=Eastern Kingdoms, 1=Kalimdor, 530=Outland, 571=Northrend # - RandombotStartingLevel (if 'DisableRandomLevels' disabled): below 5 will # cause lag if not worse, due the design of level 1 areas they will cluster # which is hard for the server to deal with. -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- AiPlayerbot.MinRandomBots = 3000 AiPlayerbot.MaxRandomBots = 3000 @@ -27,20 +43,24 @@ AiPlayerbot.RandomBotAllianceRatio = 50 AiPlayerbot.RandomBotHordeRatio = 50 AiPlayerbot.EnableRotation = 0 -AiPlayerbot.RandomBotAccountCount = 400 +AiPlayerbot.RandomBotAccountCount = 500 AiPlayerbot.RandomBotMaps = 0,1,530,571 AiPlayerbot.AutoTeleportForLevel = 1 AiPlayerbot.ProbTeleToBankers = 0.20 +AiPlayerbot.RandomBotTeleportDistance = 100 +AiPlayerbot.RandomBotTeleLowerLevel = 1 +AiPlayerbot.RandomBotTeleHigherLevel = 3 +AiPlayerbot.ProbTeleToBankers = 0.25 AiPlayerbot.RandomBotFixedLevel = 0 AiPlayerbot.DisableRandomLevels = 0 AiPlayerbot.SyncLevelWithPlayers = 0 -AiPlayerbot.AutoDoQuests = 1 AiPlayerbot.SyncQuestWithPlayer = 1 -AiPlayerbot.RandomBotGroupNearby = 0 AiPlayerbot.PreQuests = 0 +AiPlayerbot.AutoDoQuests = 1 +AiPlayerbot.RandomBotGroupNearby = 0 AiPlayerbot.AutoLearnQuestSpells = 1 AiPlayerbot.EquipmentPersistence = 1 @@ -48,17 +68,60 @@ AiPlayerbot.RandombotStartingLevel = 1 AiPlayerbot.RandomBotMinLevelChance = 0.1 AiPlayerbot.RandomBotMaxLevelChance = 0.1 +# Randombots will behave more like real players (experimental) +# This option will override AiPlayerbot.AutoDoQuests, RandomBotTeleLowerLevel, and RandomBotTeleHigherLevel +# Default: 1 (enabled) AiPlayerbot.EnableNewRpgStrategy = 1 -#------------------------------------------------------------------- -# command (gear: 1 = normal, 2 = uncommon, 3 = rare, 4 = epic, 5 = legendary) -#------------------------------------------------------------------- +# WanderRandom (Default: 15 Move randomly nearby to find and kill mobs) +# WanderNpc (Default: 20 Randomly interact with nearby NPCs​) +# GoGrind (Default: 15 Go to nearby level-appropriate locations to grind for killing mobs) +# GoCamp (Default: 10 Return to a nearby camp depending on innkeeper/flightmaster)​ +# DoQuest (Default: 60 Select quest from the quest log and head to the location to attempt completion​) +# TravelFlight (Default: 15 Go to the nearest flightmaster and fly to a level-appropriate area) +# Rest (Default: 5 Take a break for a while and do nothing) +AiPlayerbot.RpgStatusProbWeight.WanderRandom = 15 +AiPlayerbot.RpgStatusProbWeight.WanderNpc = 20 +AiPlayerbot.RpgStatusProbWeight.GoGrind = 15 +AiPlayerbot.RpgStatusProbWeight.GoCamp = 10 +AiPlayerbot.RpgStatusProbWeight.DoQuest = 60 +AiPlayerbot.RpgStatusProbWeight.TravelFlight = 15 +AiPlayerbot.RpgStatusProbWeight.Rest = 5 + +# Enable/Disable cheats for bots +# "gold" (bots have infinite gold) +# "health" (bots have infinite health) +# "mana" (bots have infinite mana) +# "power" (bots have infinite energy, rage, and runic power) +# "taxi" (bots may use all flight paths, though they will not actually learn them) +# "raid" (bots use cheats implemented into raid strategies) +AiPlayerbot.BotCheats = "taxi,raid" + +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +# command +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- AiPlayerbot.AutoGearCommand = 1 AiPlayerbot.AutoGearCommandAltBots = 1 AiPlayerbot.MaintenanceCommand = 1 +# Equipment quality limitation for autogear command (1 = normal, 2 = uncommon, 3 = rare, 4 = epic, 5 = legendary) +# Default: 3 (rare) AiPlayerbot.AutoGearQualityLimit = 3 + +# Equipment item level (not gearscore) limitation for autogear command (0 = no limit) +# Classic +# Max iLVL Tier 1 = 66 | Tier 2 = 76 | Tier 2.5 = 88 | Tier 3 = 92 +# Max iLVL Phase 1(MC, Ony, ZG) = 78 | Phase 2(BWL) = 83 | Phase 2.5(AQ40) = 88 | Phase 3(Naxx40) = 92 +# TBC +# Max iLVL Tier 4 = 120 | Tier 5 = 133 | Tier 6 = 164 +# Max iLVL Phase 1(Kara, Gruul, Mag) = 125 | Phase 1.5(ZA) = 138 | Phase 2(SC, TK) = 141 | Phase 3(Hyjal, BT) = 156 | Phase 4(Sunwell) = 164 +# Wotlk +# Max iLVL Tier 7(10/25) = 200/213 | Tier 8(10/25) = 225/232 | Tier 9(10/25) = 232/245 | Tier 10(10/25/HC) = 251/264/290 +# Max iLVL Phase 1(Naxx) = 224 | Phase 2(Ulduar) = 245 | Phase 3(ToC) = 258 | Phase 4(ICC) = 290 +# Default: 0 (no limit) AiPlayerbot.AutoGearScoreLimit = 0 AiPlayerbot.AllowPlayerBots = 1 @@ -69,9 +132,11 @@ AiPlayerbot.MaxAddedBots = 40 AiPlayerbot.MaxAddedBotsPerClass = 10 AiPlayerbot.AddClassAccountPoolSize = 50 -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- # chat and broadcast (default; RepeatDelay = 2000) -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- AiPlayerbot.EnableBroadcasts = 0 AiPlayerbot.RandomBotTalk = 0 @@ -85,9 +150,11 @@ AIPlayerbot.GuildFeedback = 0 AiPlayerbot.RandomBotSayWithoutMaster = 0 AiPlayerbot.SayWhenCollectingItems = 0 -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- # intervals -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- #AiPlayerbot.RandomBotUpdateInterval = 20 AiPlayerbot.RandomBotUpdateInterval = 1 @@ -104,9 +171,11 @@ AiPlayerbot.MinRandomBotTeleportInterval = 3600 AiPlayerbot.MaxRandomBotTeleportInterval = 18000 AiPlayerbot.RandomBotInWorldWithRotationDisabled = 31104000 -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- # timers -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- #AiPlayerbot.IterationsPerTick = 200 AiPlayerbot.IterationsPerTick = 10 @@ -126,9 +195,12 @@ AiPlayerbot.SitDelay = 10000 AiPlayerbot.ReturnDelay = 2000 AiPlayerbot.LootDelay = 1000 -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- # distance -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- + AiPlayerbot.FarDistance = 20.0 AiPlayerbot.SightDistance = 75.0 AiPlayerbot.SpellDistance = 28.5 @@ -147,16 +219,18 @@ AiPlayerbot.AoeRadius = 10 AiPlayerbot.RpgDistance = 200 AiPlayerbot.AggroDistance = 22 -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- # performance related -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- AiPlayerbot.BotActiveAlone = 10 AiPlayerbot.BotActiveFreezeDuringServerInit = 1 AiPlayerbot.BotActiveAloneForceWhenInRadius = 150 AiPlayerbot.BotActiveAloneForceWhenInZone = 1 AiPlayerbot.BotActiveAloneForceWhenInMap = 0 -# BotActiveAloneForceWhenIsFriend = 1 # hasFriend logic can cause a crash +# BotActiveAloneForceWhenIsFriend = 1 # hasFriend logic might cause a crash AiPlayerbot.BotActiveAloneForceWhenIsFriend = 0 AiPlayerbot.BotActiveAloneForceWhenInGuild = 1 AiPlayerbot.botActiveAloneSmartScale = 1 @@ -168,9 +242,12 @@ AiPlayerbot.botActiveAloneSmartScaleWhenMaxLevel = 80 PlayerbotsDatabase.WorkerThreads = 1 PlayerbotsDatabase.SynchThreads = 1 -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- # custom strategies -#------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- +#-------------------------------------------------------------------------------------------------------------------- + ################################################################################################# # END: custom playerbots.conf settings