93 Commits

Author SHA1 Message Date
bash
8a663ffdfa Update 1_source-install.sh 2025-10-20 00:23:05 +02:00
bash
9e98edb331 Update readme.md 2025-10-19 00:20:31 +02:00
bash
67118ee327 Update settings.env 2025-10-18 13:50:58 +02:00
bash
e165cb7c3e Update settings.env 2025-10-18 13:36:56 +02:00
bash
6632e96fcb Update settings.env 2025-10-18 01:36:26 +02:00
bash
f0d6731a07 Update worldserver.conf 2025-10-18 01:35:48 +02:00
bash
33602f855f Update settings.env 2025-10-17 23:43:40 +02:00
bash
be83e60e47 Update settings.env 2025-10-05 20:25:13 +02:00
bash
03aad7598d Update settings.env 2025-10-05 20:08:43 +02:00
bash
2fb3a079ca Update playerbots.conf 2025-09-28 15:13:44 +02:00
bash
7629576255 Update settings.env 2025-09-28 15:11:53 +02:00
bash
56f962eaf4 Update 3_server-build.sh 2025-09-28 14:32:21 +02:00
bash
7b3a2d4485 Update 1_source-install.sh 2025-09-28 14:28:15 +02:00
bash
0eaea31569 Update 1_source-install.sh 2025-09-28 14:27:13 +02:00
bash
de35d605bd Update setup.sh 2025-09-28 14:18:06 +02:00
bash
0d13d4e7d4 Update settings.env 2025-09-28 14:08:31 +02:00
bash
31147aa3f6 Update worldserver.conf 2025-09-20 22:27:37 +02:00
bash
ed7d516f4f Update worldserver.conf 2025-09-20 22:26:30 +02:00
bash
be8eb9b6e9 Update worldserver.conf 2025-09-20 22:25:19 +02:00
bash
7277cd459f Update readme.md 2025-09-20 22:13:25 +02:00
bash
c067c01b48 Update settings.env 2025-09-20 22:11:52 +02:00
bash
3e2d21a596 Update 5_server-configure.sh 2025-09-20 22:10:43 +02:00
bash
11a46b87e5 Update 5_server-configure.sh 2025-09-20 22:08:21 +02:00
bash
530a8eb94f Update mod_ahbot.conf 2025-09-20 22:04:51 +02:00
bash
65107d791b Update mod_player_bot_level_brackets.conf 2025-09-20 22:02:54 +02:00
bash
6aa9aacfde Update mod_ahbot.conf 2025-09-20 22:02:38 +02:00
bash
e65a927cb7 Update mod_player_bot_level_brackets.conf 2025-09-20 22:02:02 +02:00
bash
49211fcd52 Create mod_player_bot_level_brackets.conf 2025-09-20 22:01:19 +02:00
bash
1ce662ad32 Update 2_source-update.sh 2025-09-20 21:59:40 +02:00
bash
83f049931e Update settings.env 2025-09-20 21:58:08 +02:00
bash
579fde7894 Update 1_source-install.sh 2025-09-20 21:57:04 +02:00
bash
78010528d8 Update 1_source-install.sh 2025-09-20 21:56:16 +02:00
bash
55c96d6dc9 Update mod_ahbot.conf 2025-09-20 21:51:40 +02:00
bash
9383439304 Update settings.env 2025-09-08 19:47:22 +02:00
bash
c0a059dbef Update worldserver.conf 2025-08-22 22:33:26 +02:00
bash
71beadcfa1 Update worldserver.conf 2025-08-18 22:51:49 +02:00
bash
5077944d85 Update playerbots.conf 2025-08-18 22:50:48 +02:00
bash
4286115f24 Update playerbots.conf 2025-08-18 22:50:11 +02:00
bash
1c8889e85e Update readme.md 2025-08-16 12:35:39 +02:00
bash
23c56fa272 Update playerbots.conf 2025-08-12 11:02:54 +02:00
bash
0cf9faccfa Update playerbots.conf 2025-08-12 10:30:20 +02:00
bash
5a41c0356a Update playerbots.conf 2025-08-12 01:02:58 +02:00
bash
2da8c66652 Update worldserver.conf 2025-08-11 22:59:13 +02:00
bash
f7a2bd464e Update playerbots.conf 2025-08-11 22:47:15 +02:00
bash
e092bf5617 Update worldserver.conf 2025-08-11 22:44:56 +02:00
bash
a378a8dc72 Update playerbots.conf 2025-08-11 22:36:19 +02:00
bash
13286a9d55 Update playerbots.conf 2025-08-11 22:35:24 +02:00
bash
1509ae2816 Update worldserver.conf 2025-08-11 22:32:39 +02:00
bash
fed5437d91 Update playerbots.conf 2025-08-11 20:56:09 +02:00
bash
d35b7090dc Update playerbots.conf 2025-08-11 20:47:13 +02:00
bash
3667f14c14 Update playerbots.conf 2025-08-11 20:38:51 +02:00
bash
be5ec27ebc Update playerbots.conf 2025-08-11 20:31:19 +02:00
bash
be53bf2cc6 Update playerbots.conf 2025-08-11 20:29:28 +02:00
bash
36c5507414 Update playerbots.conf 2025-08-11 20:27:22 +02:00
bash
147e07d6a6 Update playerbots.conf 2025-08-11 20:26:06 +02:00
bash
a57fc6ad88 Update playerbots.conf 2025-08-11 20:17:20 +02:00
bash
ac526afd71 Update playerbots.conf 2025-08-11 20:16:57 +02:00
bash
ebc6ed1efa Update playerbots.conf 2025-08-11 20:04:00 +02:00
bash
b0e452ab07 Update playerbots.conf 2025-08-11 19:29:09 +02:00
bash
1d74645e12 Update playerbots.conf 2025-08-11 01:54:17 +02:00
bash
19c6e7babf Update worldserver.conf 2025-08-10 22:53:45 +02:00
bash
8e57ad7f08 Update playerbots.conf 2025-08-10 19:09:54 +02:00
bash
a287247b98 Update playerbots.conf 2025-08-10 19:05:12 +02:00
bash
0b8720af27 Update playerbots.conf 2025-08-10 19:04:19 +02:00
bash
0ccab4ebe8 Update playerbots.conf 2025-08-10 18:53:57 +02:00
bash
6b36d1636e Update playerbots.conf 2025-08-10 18:01:40 +02:00
bash
777c26ae82 Update playerbots.conf 2025-08-10 16:59:06 +02:00
bash
1d4c08372e Update playerbots.conf 2025-08-10 16:58:16 +02:00
bash
591026b611 Update playerbots.conf 2025-08-10 16:51:27 +02:00
bash
1028816465 Update playerbots.conf 2025-08-10 16:36:52 +02:00
bash
6a8e6139c8 Update playerbots.conf 2025-08-10 16:35:43 +02:00
bash
e7f2a2c046 Update clear_playerbots.sql 2025-08-10 16:33:18 +02:00
bash
c69ca7242a Update playerbots.conf 2025-08-10 16:32:04 +02:00
bash
93ab056253 Update playerbots.conf 2025-08-10 16:30:56 +02:00
bash
3181ac0906 Update playerbots.conf 2025-08-10 16:28:27 +02:00
bash
92f3410b6a Update playerbots.conf 2025-08-10 16:25:42 +02:00
bash
78226c5cbf Update playerbots.conf 2025-08-10 16:20:53 +02:00
bash
acf7637a4f Update playerbots.conf 2025-08-10 16:18:47 +02:00
bash
1000fbf6e7 Update playerbots.conf 2025-08-10 16:15:16 +02:00
bash
3fd18d75ec Update playerbots.conf 2025-08-10 16:09:17 +02:00
bash
ef5d6a29e8 Update mod_ahbot.conf 2025-08-10 16:05:52 +02:00
bash
6852ae4503 Update playerbots.conf 2025-08-10 16:04:40 +02:00
bash
feb2a9c9db Update playerbots.conf 2025-08-10 15:56:51 +02:00
bash
bb4da9f717 Update playerbots.conf 2025-08-10 15:50:57 +02:00
bash
2ae44eecfe Update playerbots.conf 2025-08-10 15:44:56 +02:00
bash
aa77d076ee Update readme.md 2025-08-10 15:26:48 +02:00
bash
922783a5b1 Update clear_auctionhouse.sh 2025-08-10 15:09:12 +02:00
bash
a8ddb2cb52 Update clear_playerbots.sh 2025-08-10 15:09:05 +02:00
bash
019d5f6796 Update find_characters.sh 2025-08-10 15:08:49 +02:00
bash
b287476ec7 Update update_ahbot_config.sh 2025-08-10 15:08:34 +02:00
bash
b4e37413c1 Update update_realm_ip.sh 2025-08-10 15:08:24 +02:00
bash
3d3c1d9d7d Update update_realm_name.sh 2025-08-10 15:08:16 +02:00
bash
e634f8a716 Update readme.md 2025-08-10 15:04:35 +02:00
18 changed files with 218 additions and 134 deletions

View File

@@ -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

View 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
#################################################################################################

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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..."

View File

@@ -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/
##########################################################################################

View File

@@ -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 " "
##########################################################################################

View File

@@ -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..."

View File

@@ -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..."

View File

@@ -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..."

View File

@@ -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 "###########################################################################################"

View File

@@ -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 "###########################################################################################"

View File

@@ -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 "###########################################################################################"

View File

@@ -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"

View File

@@ -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

View File

@@ -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`);