mirror of
https://github.com/hermensbas/azerothcore_installer.git
synced 2026-01-13 08:37:17 +00:00
Compare commits
93 Commits
AC_Data_v1
...
AC_Data_v1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a663ffdfa | ||
|
|
9e98edb331 | ||
|
|
67118ee327 | ||
|
|
e165cb7c3e | ||
|
|
6632e96fcb | ||
|
|
f0d6731a07 | ||
|
|
33602f855f | ||
|
|
be83e60e47 | ||
|
|
03aad7598d | ||
|
|
2fb3a079ca | ||
|
|
7629576255 | ||
|
|
56f962eaf4 | ||
|
|
7b3a2d4485 | ||
|
|
0eaea31569 | ||
|
|
de35d605bd | ||
|
|
0d13d4e7d4 | ||
|
|
31147aa3f6 | ||
|
|
ed7d516f4f | ||
|
|
be8eb9b6e9 | ||
|
|
7277cd459f | ||
|
|
c067c01b48 | ||
|
|
3e2d21a596 | ||
|
|
11a46b87e5 | ||
|
|
530a8eb94f | ||
|
|
65107d791b | ||
|
|
6aa9aacfde | ||
|
|
e65a927cb7 | ||
|
|
49211fcd52 | ||
|
|
1ce662ad32 | ||
|
|
83f049931e | ||
|
|
579fde7894 | ||
|
|
78010528d8 | ||
|
|
55c96d6dc9 | ||
|
|
9383439304 | ||
|
|
c0a059dbef | ||
|
|
71beadcfa1 | ||
|
|
5077944d85 | ||
|
|
4286115f24 | ||
|
|
1c8889e85e | ||
|
|
23c56fa272 | ||
|
|
0cf9faccfa | ||
|
|
5a41c0356a | ||
|
|
2da8c66652 | ||
|
|
f7a2bd464e | ||
|
|
e092bf5617 | ||
|
|
a378a8dc72 | ||
|
|
13286a9d55 | ||
|
|
1509ae2816 | ||
|
|
fed5437d91 | ||
|
|
d35b7090dc | ||
|
|
3667f14c14 | ||
|
|
be5ec27ebc | ||
|
|
be53bf2cc6 | ||
|
|
36c5507414 | ||
|
|
147e07d6a6 | ||
|
|
a57fc6ad88 | ||
|
|
ac526afd71 | ||
|
|
ebc6ed1efa | ||
|
|
b0e452ab07 | ||
|
|
1d74645e12 | ||
|
|
19c6e7babf | ||
|
|
8e57ad7f08 | ||
|
|
a287247b98 | ||
|
|
0b8720af27 | ||
|
|
0ccab4ebe8 | ||
|
|
6b36d1636e | ||
|
|
777c26ae82 | ||
|
|
1d4c08372e | ||
|
|
591026b611 | ||
|
|
1028816465 | ||
|
|
6a8e6139c8 | ||
|
|
e7f2a2c046 | ||
|
|
c69ca7242a | ||
|
|
93ab056253 | ||
|
|
3181ac0906 | ||
|
|
92f3410b6a | ||
|
|
78226c5cbf | ||
|
|
acf7637a4f | ||
|
|
1000fbf6e7 | ||
|
|
3fd18d75ec | ||
|
|
ef5d6a29e8 | ||
|
|
6852ae4503 | ||
|
|
feb2a9c9db | ||
|
|
bb4da9f717 | ||
|
|
2ae44eecfe | ||
|
|
aa77d076ee | ||
|
|
922783a5b1 | ||
|
|
a8ddb2cb52 | ||
|
|
019d5f6796 | ||
|
|
b287476ec7 | ||
|
|
b4e37413c1 | ||
|
|
3d3c1d9d7d | ||
|
|
e634f8a716 |
@@ -2,66 +2,11 @@
|
||||
# START: custom mod_ahbot.conf settings
|
||||
#################################################################################################
|
||||
|
||||
#-----------------------------------------------------------------------------------------------
|
||||
# Use helper/find-character.sh to locate your newly created ah account and character GUID
|
||||
#-----------------------------------------------------------------------------------------------
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# ah-bot account and character
|
||||
#---- general
|
||||
#-------------------------------------------------------------------
|
||||
AuctionHouseBot.Account = 1
|
||||
AuctionHouseBot.GUID = 1
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# enable (disabled for now)
|
||||
#-------------------------------------------------------------------
|
||||
AuctionHouseBot.EnableSeller = 0
|
||||
AuctionHouseBot.EnableBuyer = 0
|
||||
AuctionHouseBot.ItemsPerCycle = 500
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# type of items being offered
|
||||
#-------------------------------------------------------------------
|
||||
AuctionHouseBot.VendorItems = 1
|
||||
AuctionHouseBot.VendorTradeGoods = 1
|
||||
AuctionHouseBot.LootItems = 1
|
||||
AuctionHouseBot.LootTradeGoods = 1
|
||||
AuctionHouseBot.OtherItems = 1
|
||||
AuctionHouseBot.OtherTradeGoods = 0
|
||||
AuctionHouseBot.No_Bind = 1
|
||||
AuctionHouseBot.Bind_When_Picked_Up = 0
|
||||
AuctionHouseBot.Bind_When_Equipped = 1
|
||||
AuctionHouseBot.Bind_When_Use = 1
|
||||
AuctionHouseBot.Bind_Quest_Item = 1
|
||||
AuctionHouseBot.DisablePermEnchant = 0
|
||||
AuctionHouseBot.DisableConjured = 0
|
||||
AuctionHouseBot.DisableGems = 0
|
||||
AuctionHouseBot.DisableMoney = 0
|
||||
AuctionHouseBot.DisableMoneyLoot = 0
|
||||
AuctionHouseBot.DisableLootable = 0
|
||||
AuctionHouseBot.DisableKeys = 0
|
||||
AuctionHouseBot.DisableDuration = 0
|
||||
AuctionHouseBot.DisableBOP_Or_Quest_NoReqLevel = 0
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# items for vanilla races only
|
||||
#-------------------------------------------------------------------
|
||||
#AuctionHouseBot.DisableDKItems = 1
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# vanilla items only
|
||||
#-------------------------------------------------------------------
|
||||
#AuctionHouseBot.DisableItemsAboveLevel = 60
|
||||
#AuctionHouseBot.DisableTGsAboveLevel = 60
|
||||
#AuctionHouseBot.DisableItemsAboveReqLevel = 60
|
||||
#AuctionHouseBot.DisableTGsAboveReqLevel = 60
|
||||
AuctionHouseBot.DisableItemsAboveReqSkillRank = 500
|
||||
AuctionHouseBot.DisableTGsAboveReqSkillRank = 500
|
||||
|
||||
AuctionHouseBot.EnableSeller = false
|
||||
AuctionHouseBot.GUID = 0
|
||||
|
||||
#################################################################################################
|
||||
# END: custom mod_ahbot.conf settings
|
||||
|
||||
12
config/modules/mod_player_bot_level_brackets.conf
Normal file
12
config/modules/mod_player_bot_level_brackets.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
#################################################################################################
|
||||
# START: custom mod_player_bot_level_brackets.conf settings
|
||||
#################################################################################################
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
#---- general
|
||||
#-------------------------------------------------------------------
|
||||
BotLevelBrackets.Enabled = 1
|
||||
|
||||
#################################################################################################
|
||||
# END: custom mod_player_bot_level_brackets.conf settings
|
||||
#################################################################################################
|
||||
@@ -1,39 +1,60 @@
|
||||
#################################################################################################
|
||||
#####################################################################################################################
|
||||
# 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
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
AiPlayerbot.MinRandomBots = 500
|
||||
AiPlayerbot.MaxRandomBots = 500
|
||||
#AiPlayerbot.MinRandomBots = 3000
|
||||
#AiPlayerbot.MaxRandomBots = 3000
|
||||
AiPlayerbot.RandomBotMinLevel = 1
|
||||
AiPlayerbot.RandomBotMaxLevel = 80
|
||||
AiPlayerbot.DisableDeathKnightLogin = 0
|
||||
AiPlayerbot.RandomBotAllianceRatio = 50
|
||||
AiPlayerbot.RandomBotHordeRatio = 50
|
||||
|
||||
AiPlayerbot.EnableRotation = 0
|
||||
AiPlayerbot.RandomBotAccountCount = 400
|
||||
AiPlayerbot.RandomBotAccountCount = 0
|
||||
#AiPlayerbot.RandomBotAccountCount = 500
|
||||
|
||||
AiPlayerbot.AutoTeleportForLevel = 1
|
||||
AiPlayerbot.RandomBotMaps = 0,1,530,571
|
||||
AiPlayerbot.AutoTeleportForLevel = 1
|
||||
AiPlayerbot.ProbTeleToBankers = 0.20
|
||||
AiPlayerbot.RandomBotRpgChance = 0.20
|
||||
AiPlayerbot.RandomBotGroupNearby = 0
|
||||
AiPlayerbot.RandomBotTeleportDistance = 100
|
||||
AiPlayerbot.RandomBotTeleLowerLevel = 1
|
||||
AiPlayerbot.RandomBotTeleHigherLevel = 3
|
||||
AiPlayerbot.ProbTeleToBankers = 0.25
|
||||
|
||||
AiPlayerbot.RandomBotFixedLevel = 0
|
||||
AiPlayerbot.DisableRandomLevels = 0
|
||||
@@ -42,25 +63,75 @@ AiPlayerbot.SyncLevelWithPlayers = 0
|
||||
AiPlayerbot.SyncQuestWithPlayer = 1
|
||||
AiPlayerbot.PreQuests = 0
|
||||
AiPlayerbot.AutoDoQuests = 1
|
||||
AiPlayerbot.RandomBotGroupNearby = 0
|
||||
AiPlayerbot.AutoLearnQuestSpells = 1
|
||||
AiPlayerbot.EquipmentPersistence = 1
|
||||
AiPlayerbot.SummonWhenGroup = 0
|
||||
|
||||
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
|
||||
|
||||
# Control probability weights for RPG status of bots. Takes effect only when the status meets its premise.
|
||||
# Sum of weights need not be 100. Set to 0 to disable the status.
|
||||
#
|
||||
# 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
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# command (gear: 1 = normal, 2 = uncommon, 3 = rare, 4 = epic, 5 = legendary)
|
||||
#-------------------------------------------------------------------
|
||||
AiPlayerbot.AutoGearQualityLimit = 3
|
||||
AiPlayerbot.AutoGearScoreLimit = 0
|
||||
# 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
|
||||
AiPlayerbot.AllowGuildBots = 1
|
||||
|
||||
@@ -70,9 +141,12 @@ AiPlayerbot.MaxAddedBotsPerClass = 10
|
||||
AiPlayerbot.AddClassAccountPoolSize = 50
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
# chat and broadcast (default; RepeatDelay = 2000)
|
||||
#-------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
AiPlayerbot.EnableBroadcasts = 0
|
||||
AiPlayerbot.RandomBotTalk = 0
|
||||
AiPlayerbot.RandomBotEmote = 0
|
||||
@@ -86,9 +160,12 @@ AiPlayerbot.RandomBotSayWithoutMaster = 0
|
||||
AiPlayerbot.SayWhenCollectingItems = 0
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
# intervals
|
||||
#-------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
#AiPlayerbot.RandomBotUpdateInterval = 20
|
||||
AiPlayerbot.RandomBotUpdateInterval = 1
|
||||
AiPlayerbot.RandomBotCountChangeMinInterval = 1800
|
||||
@@ -105,9 +182,12 @@ AiPlayerbot.MaxRandomBotTeleportInterval = 18000
|
||||
AiPlayerbot.RandomBotInWorldWithRotationDisabled = 31104000
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
# timers
|
||||
#-------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
#AiPlayerbot.IterationsPerTick = 200
|
||||
AiPlayerbot.IterationsPerTick = 10
|
||||
AiPlayerbot.GlobalCooldown = 500
|
||||
@@ -127,9 +207,12 @@ AiPlayerbot.ReturnDelay = 2000
|
||||
AiPlayerbot.LootDelay = 1000
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
# distance
|
||||
#-------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
AiPlayerbot.FarDistance = 20.0
|
||||
AiPlayerbot.SightDistance = 75.0
|
||||
AiPlayerbot.SpellDistance = 28.5
|
||||
@@ -149,15 +232,18 @@ 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
|
||||
@@ -169,10 +255,12 @@ AiPlayerbot.botActiveAloneSmartScaleWhenMaxLevel = 80
|
||||
PlayerbotsDatabase.WorkerThreads = 1
|
||||
PlayerbotsDatabase.SynchThreads = 1
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# custom strategies
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
# custom strategies
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
#################################################################################################
|
||||
# END: custom playerbots.conf settings
|
||||
|
||||
@@ -41,13 +41,20 @@ SocketTimeOutTimeActive = 300000
|
||||
AllFlightPaths = 1
|
||||
PlayerStart.AllReputation = 1
|
||||
InstantLogout = 0
|
||||
PlayerSaveInterval = 600000 #10m
|
||||
|
||||
# save (5m, default 10m)
|
||||
PlayerSaveInterval = 300000
|
||||
PlayerSave.Stats.SaveOnlyOnLogout = 0
|
||||
ChangeWeatherInterval = 600000 #10m
|
||||
|
||||
# weather (5m, default 10m)
|
||||
ActivateWeather = 1
|
||||
ChangeWeatherInterval = 300000
|
||||
|
||||
# Otherwise playerbots wont accept quests
|
||||
Quests.IgnoreAutoAccept = 1
|
||||
|
||||
# 1 is default
|
||||
Respawn.DynamicRateCreature = 2
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# factions (Auction required for mod-ahbot)
|
||||
@@ -55,13 +62,13 @@ Quests.IgnoreAutoAccept = 1
|
||||
AllowTwoSide.Interaction.Auction = 1
|
||||
AllowTwoSide.WhoList = 1
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# performance
|
||||
#-------------------------------------------------------------------
|
||||
PreloadAllNonInstancedMapGrids = 1
|
||||
#SetAllCreaturesWithWaypointMovementActive = 0
|
||||
#DontCacheRandomMovementPaths = 1
|
||||
MoveMaps.Enable = 1
|
||||
|
||||
Compression = 1
|
||||
ProcessPriority = 1
|
||||
|
||||
28
readme.md
28
readme.md
@@ -9,10 +9,10 @@ For development and play
|
||||
- ubuntu-24.04-live-server-amd64.iso (minimal setup)
|
||||
- 100GB disk
|
||||
- 64 GB memory
|
||||
- 16 cores (AMD 7945HX)
|
||||
- assigned 16 threads (8 cores, 2 cores per thread) running on AMD 7945HX
|
||||
- network (bridged mode)
|
||||
|
||||
#### mysql 8.4.3
|
||||
#### mysql 8.4.x (LTS)
|
||||
```
|
||||
mysql --help | grep my.cnf
|
||||
sudo nano /etc/mysql/my.cnf
|
||||
@@ -22,25 +22,27 @@ SHOW VARIABLES LIKE 'innodb_buffer_pool_size';
|
||||
sudo journalctl -xeu mysql.service --no-pager | tail -n 30
|
||||
```
|
||||
|
||||
/etc/mysql/my.cnf
|
||||
/etc/mysql/mysql.conf.d/mysqld.cnf
|
||||
```
|
||||
[mysqld]
|
||||
# ------------------ Memory Usage ------------------
|
||||
innodb_buffer_pool_size = 24G
|
||||
innodb_buffer_pool_instances = 8
|
||||
innodb_log_buffer_size = 512M
|
||||
innodb_redo_log_capacity = 6G
|
||||
innodb_redo_log_capacity = 2G
|
||||
|
||||
# ------------------ I/O & NVMe Tuning ------------------
|
||||
innodb_flush_method = O_DIRECT # Avoid OS cache — best for NVMe
|
||||
innodb_use_fdatasync = ON
|
||||
innodb_flush_log_at_trx_commit = 2 # Fast + safe enough with battery/UPS
|
||||
innodb_io_capacity = 2000 # Pushes high IOPS for writes
|
||||
innodb_io_capacity_max = 8000 # Maximize during bursts
|
||||
innodb_io_capacity = 8000 # Pushes high IOPS for writes
|
||||
innodb_io_capacity_max = 16000 # Maximize during bursts
|
||||
|
||||
# ------------------ Temp Tables & Buffers ------------------
|
||||
tmp_table_size = 256M
|
||||
max_heap_table_size = 256M
|
||||
table_open_cache = 4096
|
||||
open_files_limit = 65535
|
||||
thread_cache_size = 200
|
||||
join_buffer_size = 2M
|
||||
sort_buffer_size = 4M
|
||||
read_buffer_size = 2M
|
||||
@@ -65,6 +67,7 @@ slow_query_log = 1
|
||||
slow_query_log_file = /var/log/mysql/mysql-slow.log
|
||||
long_query_time = 1
|
||||
log_queries_not_using_indexes = 1
|
||||
binlog_expire_logs_seconds = 604800 # 7 days
|
||||
```
|
||||
|
||||
## How to start
|
||||
@@ -97,10 +100,10 @@ AiPlayerbot.Enabled = 0
|
||||
disable ahbot
|
||||
```bash
|
||||
nano config/modules/mod_ahbot.config
|
||||
AuctionHouseBot.Account = 0
|
||||
#AuctionHouseBot.Account = 0
|
||||
AuctionHouseBot.GUID = 0
|
||||
AuctionHouseBot.EnableSeller = 0
|
||||
AuctionHouseBot.EnableBuyer = 0
|
||||
#AuctionHouseBot.EnableBuyer = 0
|
||||
```
|
||||
|
||||
### Step 3
|
||||
@@ -113,7 +116,7 @@ start
|
||||
Create accounts
|
||||
```bash
|
||||
> account create ahbot mypass
|
||||
> acccount create admin mypass
|
||||
> account create admin mypass
|
||||
> account set gmlevel admin 3 -1
|
||||
```
|
||||
|
||||
@@ -131,10 +134,10 @@ Find character executed...
|
||||
Configure and enable ahbot
|
||||
```bash
|
||||
nano config/modules/mod_ahbot.config
|
||||
AuctionHouseBot.Account = 1
|
||||
#AuctionHouseBot.Account = 1
|
||||
AuctionHouseBot.GUID = 1
|
||||
AuctionHouseBot.EnableSeller = 1
|
||||
AuctionHouseBot.EnableBuyer = 1
|
||||
#AuctionHouseBot.EnableBuyer = 1
|
||||
```
|
||||
|
||||
Enable playerbots
|
||||
@@ -199,6 +202,7 @@ Use the above (ifconfig) IP for the following router poort-forwarding and/or fir
|
||||
.lookup event moonfair
|
||||
.event start|stop id
|
||||
.distance (amount of yards between you and selected target)
|
||||
.gps
|
||||
```
|
||||
|
||||
## useful bot commands
|
||||
|
||||
@@ -83,6 +83,14 @@ then
|
||||
git config --global --add safe.directory "${ROOT_DIR}/_download/modules/mod-ah-bot"
|
||||
git clone ${AC_MODE_AHBOT_REPO} --branch=${AC_MODE_AHBOT_REPO_BRANCH} ${ROOT_DIR}/_download/modules/mod-ah-bot
|
||||
|
||||
|
||||
##########################################################################################
|
||||
# Clone module /mod-player-bot-level-brackets
|
||||
##########################################################################################
|
||||
sudo rm -rf ${ROOT_DIR}/_download/modules/mod-player-bot-level-brackets > /dev/null 2>&1
|
||||
git config --global --add safe.directory "${ROOT_DIR}/_download/modules/mod-player-bot-level-brackets"
|
||||
git clone ${AC_MODE_BRACKETS_REPO} --branch=${AC_MODE_BRACKETS_REPO_BRANCH} ${ROOT_DIR}/_download/modules/mod-player-bot-level-brackets
|
||||
|
||||
|
||||
##########################################################################################
|
||||
# Download client-data (only if file does not exist)
|
||||
@@ -90,7 +98,7 @@ then
|
||||
if ! [ -f ${ROOT_DIR}/_data/data.zip ];
|
||||
then
|
||||
mkdir -p ${ROOT_DIR}/_data > /dev/null 2>&1
|
||||
sudo curl -L https://github.com/wowgaming/client-data/releases/download/v16/data.zip --output ${ROOT_DIR}/_data/data.zip
|
||||
sudo curl -L https://github.com/wowgaming/client-data/releases/download/v17/data.zip --output ${ROOT_DIR}/_data/data.zip
|
||||
fi
|
||||
|
||||
|
||||
|
||||
@@ -28,6 +28,12 @@ then
|
||||
git -C ${ROOT_DIR}/_download/modules/mod-ah-bot clean -fd
|
||||
git -C ${ROOT_DIR}/_download/modules/mod-ah-bot reset --hard origin/${AC_MODE_AHBOT_REPO_BRANCH}
|
||||
|
||||
##########################################################################################
|
||||
# resetmod-player-bot-level-brackets to latest branch
|
||||
##########################################################################################
|
||||
git -C ${ROOT_DIR}/_download/modules/mod-player-bot-level-brackets fetch origin
|
||||
git -C ${ROOT_DIR}/_download/modules/mod-player-bot-level-brackets clean -fd
|
||||
git -C ${ROOT_DIR}/_download/modules/mod-player-bot-level-brackets reset --hard origin/${AC_MODE_BRACKETS_REPO_BRANCH}
|
||||
|
||||
echo "Executed..."
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@ then
|
||||
##########################################################################################
|
||||
# Copy certain mod sql scripts into server custom folders (only if required)
|
||||
##########################################################################################
|
||||
mkdir -p ${ROOT_DIR}/_server/azerothcore/data/sql/custom/db_world && \
|
||||
cp -r ${ROOT_DIR}/_download/modules/mod-ah-bot/data/sql/db-world/mod_auctionhousebot.sql \
|
||||
${ROOT_DIR}/_server/azerothcore/data/sql/custom/db_world/
|
||||
#mkdir -p ${ROOT_DIR}/_server/azerothcore/data/sql/custom/db_world && \
|
||||
# cp -r ${ROOT_DIR}/_download/modules/mod-ah-bot/data/sql/db-world/mod_auctionhousebot.sql \
|
||||
# ${ROOT_DIR}/_server/azerothcore/data/sql/custom/db_world/
|
||||
|
||||
|
||||
##########################################################################################
|
||||
|
||||
@@ -62,6 +62,9 @@ then
|
||||
${ROOT_DIR}/_server/azerothcore/env/dist/etc/modules/mod_ahbot.conf.dist > \
|
||||
${ROOT_DIR}/_server/azerothcore/env/dist/etc/modules/mod_ahbot.conf | exit 1
|
||||
|
||||
sudo cat ${ROOT_DIR}/config/modules/mod_player_bot_level_brackets.conf \
|
||||
${ROOT_DIR}/_server/azerothcore/env/dist/etc/modules/mod_player_bot_level_brackets.conf.dist > \
|
||||
${ROOT_DIR}/_server/azerothcore/env/dist/etc/modules/mod_player_bot_level_brackets.conf | exit 1
|
||||
|
||||
##########################################################################################
|
||||
# Apply server realm configuration
|
||||
@@ -74,8 +77,8 @@ then
|
||||
##########################################################################################
|
||||
# Apply ah-bot custom configuration
|
||||
##########################################################################################
|
||||
source ${ROOT_DIR}/script/update_ahbot_config.sh ${AH_BOT_MIN_ITEMS} ${AH_BOT_MAX_ITEMS}
|
||||
echo " "
|
||||
#source ${ROOT_DIR}/script/update_ahbot_config.sh ${AH_BOT_MIN_ITEMS} ${AH_BOT_MAX_ITEMS}
|
||||
#echo " "
|
||||
|
||||
|
||||
##########################################################################################
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo mysql -u root -p --database="acore_characters" < ${ROOT_DIR}/sql/clear_auctionhouse.sql
|
||||
sudo mysql -u root --database="acore_characters" < ${ROOT_DIR}/sql/clear_auctionhouse.sql
|
||||
|
||||
echo "Auction house items deleted..."
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo mysql -u root -p --database="acore_characters" < ${ROOT_DIR}/sql/clear_playerbots.sql
|
||||
sudo mysql -u root --database="acore_characters" < ${ROOT_DIR}/sql/clear_playerbots.sql
|
||||
|
||||
echo "Playerbots accounts and characters deleted..."
|
||||
|
||||
@@ -10,6 +10,6 @@ fi
|
||||
|
||||
sed -e "s/{{ACCOUNT_NAME}}/$ACCOUNT_NAME/g" \
|
||||
"${ROOT_DIR}/sql/find_character.sql" > "/tmp/find_character.sql"
|
||||
sudo mysql -u root -p --database="acore_characters" < /tmp/find_character.sql
|
||||
sudo mysql -u root --database="acore_characters" < /tmp/find_character.sql
|
||||
|
||||
echo "Find character executed..."
|
||||
|
||||
@@ -20,7 +20,7 @@ fi
|
||||
sed -e "s/{{AH_BOT_MIN_ITEMS}}/$AH_BOT_MIN_ITEMS/g" \
|
||||
-e "s/{{AH_BOT_MAX_ITEMS}}/$AH_BOT_MAX_ITEMS/g" \
|
||||
"${ROOT_DIR}/sql/update_ahbot_config.sql" > "/tmp/update_ahbot_config.sql"
|
||||
sudo mysql -u root -p --database="acore_characters" < /tmp/update_ahbot_config.sql
|
||||
sudo mysql -u root --database="acore_characters" < /tmp/update_ahbot_config.sql
|
||||
|
||||
echo " "
|
||||
echo "###########################################################################################"
|
||||
|
||||
@@ -10,7 +10,7 @@ fi
|
||||
|
||||
sed -e "s/{{REALM_IP}}/$REALM_IP/g" \
|
||||
"${ROOT_DIR}/sql/update_realm_ip.sql" > "/tmp/update_realm_ip.sql"
|
||||
sudo mysql -u root -p --database="acore_characters" < /tmp/update_realm_ip.sql
|
||||
sudo mysql -u root --database="acore_characters" < /tmp/update_realm_ip.sql
|
||||
|
||||
echo " "
|
||||
echo "###########################################################################################"
|
||||
|
||||
@@ -10,7 +10,7 @@ fi
|
||||
|
||||
sed -e "s/{{REALM_NAME}}/$REALM_NAME/g" \
|
||||
"${ROOT_DIR}/sql/update_realm_name.sql" > "/tmp/update_realm_name.sql"
|
||||
sudo mysql -u root -p --database="acore_characters" < /tmp/update_realm_name.sql
|
||||
sudo mysql -u root --database="acore_characters" < /tmp/update_realm_name.sql
|
||||
|
||||
echo " "
|
||||
echo "###########################################################################################"
|
||||
|
||||
38
settings.env
38
settings.env
@@ -1,24 +1,28 @@
|
||||
REALM_IP="192.168.2.30"
|
||||
REALM_IP="192.168.197.128"
|
||||
REALM_NAME="azerothcore.org"
|
||||
|
||||
AH_BOT_MIN_ITEMS="25000"
|
||||
AH_BOT_MAX_ITEMS="30000"
|
||||
|
||||
|
||||
#AC_WOTLK_REPO="https://github.com/hermensbas/azerothcore-wotlk.git"
|
||||
#AC_WOTLK_REPO_BRANCH="Playerbot"
|
||||
|
||||
#AC_MODE_PLAYER_BOTS_REPO="https://github.com/hermensbas/mod-playerbots.git"
|
||||
#AC_MODE_PLAYER_BOTS_REPO_BRANCH="master"
|
||||
|
||||
#AC_MODE_AHBOT_REPO="https://github.com/hermensbas/mod-ah-bot.git"
|
||||
#AC_MODE_AHBOT_REPO_BRANCH="master"
|
||||
|
||||
AC_WOTLK_REPO="https://github.com/liyunfan1223/azerothcore-wotlk.git"
|
||||
AC_WOTLK_REPO="https://github.com/hermensbas/azerothcore-wotlk.git"
|
||||
AC_WOTLK_REPO_BRANCH="Playerbot"
|
||||
|
||||
AC_MODE_PLAYER_BOTS_REPO="https://github.com/liyunfan1223/mod-playerbots.git"
|
||||
AC_MODE_PLAYER_BOTS_REPO="https://github.com/hermensbas/mod-playerbots.git"
|
||||
AC_MODE_PLAYER_BOTS_REPO_BRANCH="master"
|
||||
|
||||
AC_MODE_AHBOT_REPO="https://github.com/azerothcore/mod-ah-bot.git"
|
||||
AC_MODE_BRACKETS_REPO="https://github.com/hermensbas/mod-player-bot-level-brackets.git"
|
||||
AC_MODE_BRACKETS_REPO_BRANCH="main"
|
||||
|
||||
# new version of ah-bot
|
||||
AC_MODE_AHBOT_REPO="https://github.com/hermensbas/mod-ah-bot.git"
|
||||
AC_MODE_AHBOT_REPO_BRANCH="master"
|
||||
|
||||
##### OG
|
||||
#AC_WOTLK_REPO="https://github.com/liyunfan1223/azerothcore-wotlk.git"
|
||||
#AC_WOTLK_REPO_BRANCH="Playerbot"
|
||||
|
||||
#AC_MODE_PLAYER_BOTS_REPO="https://github.com/liyunfan1223/mod-playerbots.git"
|
||||
#AC_MODE_PLAYER_BOTS_REPO_BRANCH="master"
|
||||
|
||||
# old version
|
||||
#AH_BOT_MIN_ITEMS="25000"
|
||||
#AH_BOT_MAX_ITEMS="30000"
|
||||
#AC_MODE_AHBOT_REPO="https://github.com/azerothcore/mod-ah-bot.git"
|
||||
#AC_MODE_AHBOT_REPO_BRANCH="master"
|
||||
|
||||
3
setup.sh
3
setup.sh
@@ -58,6 +58,9 @@ echo "export AC_MODE_PLAYER_BOTS_REPO_BRANCH=${AC_MODE_PLAYER_BOTS_REPO_BRANCH}"
|
||||
echo "export AC_MODE_AHBOT_REPO=${AC_MODE_AHBOT_REPO}" >> ~/.bash_wow
|
||||
echo "export AC_MODE_AHBOT_REPO_BRANCH=${AC_MODE_AHBOT_REPO_BRANCH}" >> ~/.bash_wow
|
||||
|
||||
echo "export AC_MODE_BRACKETS_REPO=${AC_MODE_BRACKETS_REPO}" >> ~/.bash_wow
|
||||
echo "export AC_MODE_BRACKETS_REPO_BRANCH=${AC_MODE_BRACKETS_REPO_BRANCH}" >> ~/.bash_wow
|
||||
|
||||
echo "export DATAPATH=${DATAPATH}" >> ~/.bash_wow
|
||||
|
||||
echo "export AUTHSERVER_SESSION=${AUTHSERVER_SESSION}" >> ~/.bash_wow
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
USE `acore_playerbots`;
|
||||
DELETE FROM `playerbots_random_bots`;
|
||||
DELETE FROM `playerbots_account_type`;
|
||||
|
||||
USE `acore_characters`;
|
||||
DELETE FROM `characters` WHERE `account` IN (SELECT `id` FROM `acore_auth`.`account` WHERE `username` LIKE 'RNDBOT%') OR `account` NOT IN (SELECT `id` FROM `acore_auth`.`account`);
|
||||
@@ -37,6 +38,9 @@ DELETE FROM `guild_member` WHERE `guildid` NOT IN (SELECT `guildid` FROM `guild`
|
||||
DELETE FROM `guild_rank` WHERE `guildid` NOT IN (SELECT `guildid` FROM `guild`);
|
||||
DELETE FROM `petition` WHERE `ownerguid` NOT IN (SELECT `guid` FROM `characters`);
|
||||
DELETE FROM `petition_sign` WHERE `ownerguid` NOT IN (SELECT `guid` FROM `characters`) OR `playerguid` NOT IN (SELECT `guid` FROM `characters`);
|
||||
DELETE FROM `character_arena_stats` WHERE `guid` NOT IN (SELECT `guid` FROM `characters`);
|
||||
DELETE FROM `character_entry_point` WHERE `guid` NOT IN (SELECT `guid` FROM `characters`);
|
||||
|
||||
USE `acore_auth`;
|
||||
DELETE FROM `account` WHERE `username` LIKE 'RNDBOT%';
|
||||
DELETE FROM `realmcharacters` WHERE `acctid` NOT IN (SELECT `id` FROM `account`);
|
||||
|
||||
Reference in New Issue
Block a user