Skip to content

Commit

Permalink
Remove deletion of add event value
Browse files Browse the repository at this point in the history
  • Loading branch information
liyunfan1223 committed Jan 14, 2025
1 parent 14a29a1 commit 9e2c269
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions conf/playerbots.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ AiPlayerbot.RandomBotRandomPassword = 0
AiPlayerbot.RandomBotAccountPrefix = "rndbot"

# Enable/Disable rotation of bots (randomly select a bot from the bots pool to go online and rotate them periodically)
# Need to reset rndbot after changing the setting (.playerbot rndbot reset)
# default: 0 (disable, the online bots are fixed)
AiPlayerbot.EnableRotation = 0

Expand All @@ -526,10 +527,12 @@ AiPlayerbot.PreQuests = 0
AiPlayerbot.RandomBotJoinLfg = 1

# Percentage ratio of alliance and horde
# Need to reset rndbot after changing the setting (.playerbot rndbot reset)
AiPlayerbot.RandomBotAllianceRatio = 50
AiPlayerbot.RandomBotHordeRatio = 50

# Disable death knight for bots login
# Need to reset rndbot after changing the setting (.playerbot rndbot reset)
AiPlayerbot.DisableDeathKnightLogin = 0

#
Expand Down
1 change: 0 additions & 1 deletion src/RandomPlayerbotMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ RandomPlayerbotMgr::RandomPlayerbotMgr() : PlayerbotHolder(), processTicks(0)
BattlegroundData[queueType][bracket] = BattlegroundInfo();
}
}
PlayerbotsDatabase.Execute("DELETE FROM playerbots_random_bots where event = 'add'");
BgCheckTimer = 0;
LfgCheckTimer = 0;
PlayersCheckTimer = 0;
Expand Down

0 comments on commit 9e2c269

Please sign in to comment.