Skip to content

Commit

Permalink
Updated playerbot config
Browse files Browse the repository at this point in the history
Changed playerbot install folder to Playerbots instead of Bots
Updated mangosd dockerfile to have better steps.
Updated both dockerfiles to use latest release of mangos instead of master
  • Loading branch information
ChristianANoeddeboe committed Nov 13, 2024
1 parent df23dc9 commit ee04883
Show file tree
Hide file tree
Showing 6 changed files with 120 additions and 109 deletions.
120 changes: 64 additions & 56 deletions config/aiplayerbot.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# MANGOS Ai Playerbot Configuration file #
##########################################

# AiPlayerbot.AllowedLogFiles = player_paths.csv,activity_pid.csv,quest_map.csv,travel_map.csv,zones.csv,creatures.csv,gos.csv,travelNodes.csv,travelPaths.csv,bot_movement.csv,player_location.csv,bot_events.csv,telecache.csv,log_analysis.csv
AiPlayerbot.ShouldQueryAHListingsOutsideOfAH = 1
AiPlayerbot.enableRandomTeleports = 0

[AiPlayerbotConf]
ConfVersion=2020072501

Expand All @@ -15,7 +19,7 @@ AiPlayerbot.RandomBotAutologin = 1
AiPlayerbot.RandomBotLoginAtStartup = 1

# Disable automatic DBStore save
AiPlayerbot.ExplicitDbStoreSave = 0
# AiPlayerbot.ExplicitDbStoreSave = 0

# Log out random bots after BotInWorldTime interval
# AiPlayerbot.RandomBotTimedLogout = 1
Expand All @@ -32,24 +36,27 @@ AiPlayerbot.DeleteRandomBotAccounts = 0
# auto-login all player alts as bots on player login
AiPlayerbot.BotAutologin = 0

# Guild Task system
AiPlayerbot.EnableGuildTasks = 0

# Enable LFG for random bots
AiPlayerbot.RandomBotJoinLfg = 1

# Enable BG/Arena for random Bots
AiPlayerbot.RandomBotJoinBG = 1

# Enable Auto join BG - bots randomly join WSG and 2v2 Arena if server is not lagging
AiPlayerbot.RandomBotAutoJoinBG = 0
AiPlayerbot.RandomBotAutoJoinBG = 1

# Mark many quests <= Bot level as complete (slows down bot creation)
AiPlayerbot.PreQuests = 0
AiPlayerbot.PreQuests = 1

# Create random bot characters automatically
AiPlayerbot.RandomBotAutoCreate = 1

# Random bot count
AiPlayerbot.MinRandomBots = 1000
AiPlayerbot.MaxRandomBots = 1000
AiPlayerbot.MinRandomBots = 100
AiPlayerbot.MaxRandomBots = 100
AiPlayerbot.RandomBotMinLevel = 1
AiPlayerbot.RandomBotMaxLevel = 60

Expand All @@ -71,7 +78,7 @@ AiPlayerbot.DisableBotOptimizations = 1
AiPlayerbot.DisableActivityPriorities = 1

# Percentage of fully active bots. Default is 10, higher numbers may affect performance
# AiPlayerbot.botActiveAlone = 10
AiPlayerbot.botActiveAlone = 100

# Limit random bot max level to online players max level + 5 and uses reference level 1 without a player.
# AiPlayerbot.SyncLevelWithPlayers = 0
Expand Down Expand Up @@ -113,7 +120,7 @@ AiPlayerbot.RandomGearUpgradeEnabled = 0
AiPlayerbot.RandomGearBlacklist = 0

# Chance random bot has max level on first randomize (default 0.15)
AiPlayerbot.RandomBotMaxLevelChance = 0
AiPlayerbot.RandomBotMaxLevelChance = 0.15

# Chance bot chooses RPG (Teleport to random camp for their level) instead of grinding
AiPlayerbot.RandomBotRpgChance = 0.10
Expand All @@ -128,16 +135,15 @@ AiPlayerbot.RandomBotRpgChance = 0.10
# AiPlayerbot.RandomBotTeleportNearPlayerMaxAmountRadius = 0

# Chance for bot to use potions
#AiPlayerbot.UsePotionChance = 1.0
# AiPlayerbot.UsePotionChance = 1.0

# Bots will speed up when following to stay close.
# AiPlayerbot.BoostFollow = 1

# Bots and npcs turn to eachother during an rpg interaction
AiPlayerbot.TurnInRpg = 0

# Bots will make sounds when repairing, selling items ect.
AiPlayerbot.GlobalSoundEffects = 0
AiPlayerbot.GlobalSoundEffects = 1

# Show progress bars for random bots (disabled by default)
AiPlayerbot.ShowProgressBars = 1
Expand Down Expand Up @@ -165,11 +171,11 @@ AiPlayerbot.DisableRandomLevels = 1

# Set XP rate for bots (default: 1)
# Server XP Rate * AiPlayerbot.XPRate
AiPlayerbot.XPRate = 2
# AiPlayerbot.XPRate = 1

# Set minimum level of randombots where gets enchants on items (Maxlevel + 1 to disable)
# Default: 60
AiPlayerbot.minEnchantingBotLevel = 81
AiPlayerbot.minEnchantingBotLevel = 50

# Randombots checking players gear score level and deny the group invite if it's too low
# Default: 0 (disabled)
Expand All @@ -186,24 +192,32 @@ AiPlayerbot.ImmuneSpellIds = 19428
AiPlayerbot.RandomBotQuestIds = 7848,3802,5505,6502,7761,9378

# Randombots will invite players to groups/raids/guilds. (This can also be disabled by turning on DnD on your character)
# AiPlayerbot.RandomBotInvitePlayer = 1
AiPlayerbot.RandomBotInvitePlayer = 1

# Randombots will invite nearby bots to groups/raids/guilds
# AiPlayerbot.RandomBotGroupNearby = 1
# AiPlayerbot.RandomBotRaidNearby = 1
# AiPlayerbot.RandomBotGuildNearby = 1
AiPlayerbot.RandomBotGroupNearby = 1
AiPlayerbot.RandomBotRaidNearby = 1
AiPlayerbot.RandomBotGuildNearby = 1

# Randombots will form guilds by buying a charter, getting signatures and handing it in.
# AiPlayerbot.RandomBotFormGuild = 1
AiPlayerbot.RandomBotFormGuild = 1

# Bots will chat in say/guild when they invite other bots to groups/raids/guilds
# AiPlayerbot.InviteChat = 1
AiPlayerbot.InviteChat = 1

# Bots will chat in guild about certain events
AIPlayerbot.GuildFeedbackRate = 100.0 # Actual events like levelup, hard kills or nice loot.
AiPlayerbot.GuildSuggestRate = 25.0 # Random suggestions.
AiPlayerbot.GuildRepliesRate = 10.0 # Reply someone saying something.

# Bots without a master will say their lines
# AiPlayerbot.RandomBotSayWithoutMaster = 0

# The summon command can be used without restriction by non-gms.
# AiPlayerbot.NonGmFreeSummon = 0

# Bots will put their talentspec in guild notes when they change/tell their talents if they have the rights.
# AiPlayerbot.TalentsInPublicNote = 0
AiPlayerbot.TalentsInPublicNote = 1

#max limit of members in a guild (bots will leave guild if there are more members than this number)
# AiPlayerbot.guildMaxBotLimit = 1000
Expand Down Expand Up @@ -309,15 +323,15 @@ AiPlayerbot.RandomBotQuestIds = 7848,3802,5505,6502,7761,9378
# Automation

# Bots pick their quest reward (yes = picks first useful item, no = list all rewards, ask = pick useful item and lists if multiple)
AiPlayerbot.AutoPickReward = ask
AiPlayerbot.AutoPickReward = yes

# Bots equip upgrades (Bots will equip any item obtained from looting or a quest if they are upgrades)
# Default: 0 (disabled)
AiPlayerbot.AutoEquipUpgradeLoot = 1

# Sync quests with player (Bots will complete quests the moment you hand them in. Bots will ignore looting quest items.)
# Default: 0 (disabled)
AiPlayerbot.SyncQuestWithPlayer = 1
AiPlayerbot.SyncQuestWithPlayer = 0

# Bot automatically trains spells when talking to trainer (yes = train all available spells as long as the bot has the money, free = auto trains with no money cost, no = only list spells)
AiPlayerbot.AutoTrainSpells = yes
Expand Down Expand Up @@ -483,8 +497,10 @@ AiPlayerbot.PremadeSpecName.2.1 = pve dps ret (geared ret)
AiPlayerbot.PremadeSpecLink.2.1.60 = 5550012--552300512003151
AiPlayerbot.PremadeSpecName.2.2 = pve heal holy (sanctuary)
AiPlayerbot.PremadeSpecLink.2.2.60 = 0550312152105-503251000131
AiPlayerbot.PremadeSpecName.2.3 = pve heal holy (prot! holy shock taunt)
AiPlayerbot.PremadeSpecName.2.3 = pve heal holy (holy shock)
AiPlayerbot.PremadeSpecLink.2.3.60 = 55153122501001-053200334
AiPlayerbot.PremadeSpecName.2.9 = pve tank prot (stun reckoning)
AiPlayerbot.PremadeSpecLink.2.9.60 = 500501-053051335301551

AiPlayerbot.PremadeSpecName.2.4 = pvp heal holy
AiPlayerbot.PremadeSpecProb.2.4 = 80
Expand Down Expand Up @@ -527,23 +543,17 @@ AiPlayerbot.PremadeSpecName.3.7 = pvp dps bm
AiPlayerbot.PremadeSpecLink.3.7.60 = 1500322150501051-051510305

# Rogue
AiPlayerbot.PremadeSpecName.4.2 = pve dps combat (swords)
AiPlayerbot.PremadeSpecLink.4.2.60 = 005323105-3210052020050150231
AiPlayerbot.PremadeSpecName.4.3 = pve dps combat (daggers)
AiPlayerbot.PremadeSpecLink.4.3.60 = 005023005-3203052020550100201-05
AiPlayerbot.PremadeSpecName.4.4 = pve dps combat (daggers2)
AiPlayerbot.PremadeSpecLink.4.4.60 = 305020005-02505501005001-50005002
AiPlayerbot.PremadeSpecName.4.5 = pve dps combat
AiPlayerbot.PremadeSpecLink.4.5.60 = 305023005-3200550100050150231
AiPlayerbot.PremadeSpecName.4.0 = pve dps combat (swords)
AiPlayerbot.PremadeSpecLink.4.0.60 = 005323105-3210052020050150231
AiPlayerbot.PremadeSpecName.4.1 = pve dps combat (daggers)
AiPlayerbot.PremadeSpecLink.4.1.60 = 005023005-3203052020550100201-05
AiPlayerbot.PremadeSpecName.4.2 = pve dps assassination
AiPlayerbot.PremadeSpecLink.4.2.60 = 305303105501051-303305-05

AiPlayerbot.PremadeSpecName.4.6 = pvp dps combat (swords)
AiPlayerbot.PremadeSpecLink.4.6.60 = 005323105-3210052020050150231
AiPlayerbot.PremadeSpecName.4.7 = pvp dps combat (daggers)
AiPlayerbot.PremadeSpecLink.4.7.60 = 005023005-3203052020550100201-05
AiPlayerbot.PremadeSpecName.4.8 = pvp dps combat (daggers2)
AiPlayerbot.PremadeSpecLink.4.8.60 = 305020005-02505501005001-50005002
AiPlayerbot.PremadeSpecName.4.9 = pvp dps combat
AiPlayerbot.PremadeSpecLink.4.9.60 = 305023005-3200550100050150231
AiPlayerbot.PremadeSpecName.4.9 = pvp dps subtlety
AiPlayerbot.PremadeSpecLink.4.9.60 = 305320115001-32-500243100330121


# Priest
Expand Down Expand Up @@ -590,7 +600,7 @@ AiPlayerbot.PremadeSpecProb.8.0 = 33
AiPlayerbot.PremadeSpecLink.8.0.60 = 2300450310031531--053500030013
AiPlayerbot.PremadeSpecName.8.1 = pve dps fire
AiPlayerbot.PremadeSpecProb.8.1 = 33
AiPlayerbot.PremadeSpecLink.8.1.60 = 230055000002-5052000123033151-003
AiPlayerbot.PremadeSpecLink.8.1.60 = 23005500002-5052020023033051-003
AiPlayerbot.PremadeSpecName.8.2 = pve dps frost (winter’s chill spec)
AiPlayerbot.PremadeSpecProb.8.2 = 33
AiPlayerbot.PremadeSpecLink.8.2.60 = 230045030003--05350003101301351
Expand Down Expand Up @@ -703,7 +713,7 @@ AiPlayerbot.AllowGuildBots = 1
AiPlayerbot.AllowMultiAccountAltBots = 1

# Delay between two short-time spells cast (Default 500)
AiPlayerbot.GlobalCooldown = 1500
AiPlayerbot.GlobalCooldown = 500

# Max wait time when moving
#AiPlayerbot.MaxWaitForMove = 5000
Expand Down Expand Up @@ -771,17 +781,10 @@ AiPlayerbot.FleeingEnabled = 1
#AiPlayerbot.MediumMana = 40

# Random bot default strategies (applied after defaults)
#AiPlayerbot.RandomBotCombatStrategies = +dps,+dps assist,-threat
#AiPlayerbot.RandomBotNonCombatStrategies = +grind,+loot,+rpg,+custom::say
#AiPlayerbot.RandomBotReactStrategies =
#AiPlayerbot.RandomBotDeadStrategies =
#AiPlayerbot.CombatStrategies = +custom::say
#AiPlayerbot.NonCombatStrategies = +custom::say,+return,+delayed roll
#AiPlayerbot.ReactStrategies =
#AiPlayerbot.DeadStrategies =

# Quest items to leave (do not destroy)
#AiPlayerbot.RandomBotQuestItems = 6948,5175,5176,5177,5178,16309,12382,13704,11000
AiPlayerbot.RandomBotCombatStrategies =
AiPlayerbot.RandomBotNonCombatStrategies = +custom::say,+rpg craft
AiPlayerbot.CombatStrategies = +custom::say,+shadow
AiPlayerbot.NonCombatStrategies = +return,+delayed roll,+rpg craft

# PvP Restricted Zones (bots don't pvp)
#AiPlayerbot.PvpProhibitedZoneIds = 2255,656,2361,2362,2363,976,35,2268,3425,392,541,1446,3828,3712,3738,3565,3539,3623,4152,3988,4658,4284,4418,4436,4275,4323
Expand All @@ -795,11 +798,11 @@ AiPlayerbot.FleeingEnabled = 1
#AiPlayerbot.OpenGoSpell = 6477

# Intervals
AiPlayerbot.RandomBotUpdateInterval = 1
#AiPlayerbot.RandomBotUpdateInterval = 1
AiPlayerbot.RandomBotCountChangeMinInterval = 1800
AiPlayerbot.RandomBotCountChangeMaxInterval = 7200
#AiPlayerbot.MinRandomBotInWorldTime = 3600
#AiPlayerbot.MaxRandomBotInWorldTime = 1209600
AiPlayerbot.MinRandomBotInWorldTime = 360
AiPlayerbot.MaxRandomBotInWorldTime = 3600
#AiPlayerbot.MinRandomBotRandomizeTime = 7200
#AiPlayerbot.MaxRandomRandomizeTime = 1209600
#AiPlayerbot.RandomBotsPerInterval = 3
Expand Down Expand Up @@ -874,7 +877,6 @@ AiPlayerbot.UseKnockback = 1

AiPlayerbot.PerfMonEnabled = 0


##################################################################################
# #
# !!EXPERIMENTAL!! #
Expand All @@ -899,15 +901,21 @@ AiPlayerbot.PerfMonEnabled = 0
# movespeed (very fast movespeed)
# attackspeed (very fast attackspeed)
# breath (underwater breathing)
# AiPlayerbot.BotCheats = taxi,item,breath
# AiPlayerbot.BotCheats =


# The summon command can be used without restriction by non-gms.
# AiPlayerbot.NonGmFreeSummon = 0

# Bots will put their talentspec in guild notes when they change/tell their talents if they have the rights.
# AiPlayerbot.TalentsInPublicNote = 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)
# AiPlayerbot.SelfBotLevel = 1
AiPlayerbot.SelfBotLevel = 2

# Account/character names that are either, always online as bot (SelfBotLevel < 4) or prevented from being always online as bot (SelfBotLevel = 4)
# When AiPlayerbot.BotAutologin is set to 2 these characters only log in on player (on the same account) logs in.
# AiPlayerbot.ToggleAlwaysOnlineAccounts =
# AiPlayerbot.ToggleAlwaysOnlineChars =

Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ services:
MYSQL_INTERACTIVE_TIMEOUT: 28800
MYSQL_MAX_ALLOWED_PACKET: 128M
volumes:
- db:/var/lib/mysql
- "./db:/config"
#- "./db:/etc/mysql/conf.d"
networks:
- mangosbot-network
ports:
Expand All @@ -46,6 +48,7 @@ services:
# dockerfile: ./mangosd/Dockerfile
# args:
# - BUILD_PLAYERBOT=ON
# - BUILD_AHBOT=ON
image: angercraft/mangosbot-mangosd
container_name: cmangos-classic-mangosd
networks:
Expand Down
Loading

0 comments on commit ee04883

Please sign in to comment.