фикс для playerbots
This commit is contained in:
@@ -124,6 +124,10 @@ ACORE_PLAYERBOTS_FORCE=0
|
|||||||
# worldserver.conf: управляемые override-настройки
|
# worldserver.conf: управляемые override-настройки
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# В контейнерном режиме консоль worldserver лучше отключать.
|
||||||
|
# Иначе при EOF на stdin сервер может сам завершиться и контейнер начнет перезапускаться.
|
||||||
|
ACORE_WORLD_CONSOLE_ENABLE=0
|
||||||
|
|
||||||
# Включает PlayerSettings, необходимые для mod-individual-progression.
|
# Включает PlayerSettings, необходимые для mod-individual-progression.
|
||||||
ACORE_WORLD_ENABLE_PLAYER_SETTINGS=1
|
ACORE_WORLD_ENABLE_PLAYER_SETTINGS=1
|
||||||
|
|
||||||
@@ -399,3 +403,12 @@ ACORE_PLAYERBOTS_RANDOM_BOT_JOIN_LFG=0
|
|||||||
|
|
||||||
# Читы, которые выдаются ботам.
|
# Читы, которые выдаются ботам.
|
||||||
ACORE_PLAYERBOTS_BOT_CHEATS=food,taxi,raid
|
ACORE_PLAYERBOTS_BOT_CHEATS=food,taxi,raid
|
||||||
|
|
||||||
|
# Количество arena teams для random bots.
|
||||||
|
# Для PvE-сервера лучше оставить 0.
|
||||||
|
ACORE_PLAYERBOTS_RANDOM_BOT_ARENA_TEAM_2V2_COUNT=0
|
||||||
|
ACORE_PLAYERBOTS_RANDOM_BOT_ARENA_TEAM_3V3_COUNT=0
|
||||||
|
ACORE_PLAYERBOTS_RANDOM_BOT_ARENA_TEAM_5V5_COUNT=0
|
||||||
|
|
||||||
|
# Разовая очистка random-bot arena teams перед следующим стартом.
|
||||||
|
ACORE_PLAYERBOTS_DELETE_RANDOM_BOT_ARENA_TEAMS=0
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
ac-worldserver:
|
ac-worldserver:
|
||||||
|
stdin_open: false
|
||||||
|
tty: false
|
||||||
environment:
|
environment:
|
||||||
AC_RATE_XP_KILL: "${AC_RATE_XP_KILL:-1}"
|
AC_RATE_XP_KILL: "${AC_RATE_XP_KILL:-1}"
|
||||||
AC_AI_PLAYERBOT_RANDOM_BOT_AUTOLOGIN: "${AC_AI_PLAYERBOT_RANDOM_BOT_AUTOLOGIN:-1}"
|
AC_AI_PLAYERBOT_RANDOM_BOT_AUTOLOGIN: "${AC_AI_PLAYERBOT_RANDOM_BOT_AUTOLOGIN:-1}"
|
||||||
|
|||||||
@@ -1207,9 +1207,9 @@ AiPlayerbot.RandomBotAutoJoinBGRatedArena5v5Count = 0
|
|||||||
# Warning: Reinitializing bots completely resets them (command in game: .playerbots rndbot init)
|
# Warning: Reinitializing bots completely resets them (command in game: .playerbots rndbot init)
|
||||||
# Bots only join one arena team to avoid queueing issues. Take that into account when increasing count.
|
# Bots only join one arena team to avoid queueing issues. Take that into account when increasing count.
|
||||||
# Default: 2v2: 10 (20 Bots), 3v3: 10 (30 bots), 5v5: 5 (25 bots)
|
# Default: 2v2: 10 (20 Bots), 3v3: 10 (30 bots), 5v5: 5 (25 bots)
|
||||||
AiPlayerbot.RandomBotArenaTeam2v2Count = 10
|
AiPlayerbot.RandomBotArenaTeam2v2Count = 0
|
||||||
AiPlayerbot.RandomBotArenaTeam3v3Count = 10
|
AiPlayerbot.RandomBotArenaTeam3v3Count = 0
|
||||||
AiPlayerbot.RandomBotArenaTeam5v5Count = 5
|
AiPlayerbot.RandomBotArenaTeam5v5Count = 0
|
||||||
|
|
||||||
# Arena rating is randomized on team creation.
|
# Arena rating is randomized on team creation.
|
||||||
# Default: Max: 2000, Min: 1000
|
# Default: Max: 2000, Min: 1000
|
||||||
@@ -2182,4 +2182,4 @@ AiPlayerbot.SummonAtInnkeepersEnabled = 1
|
|||||||
# 30% more damage, 40% damage reduction (tank bots), increased all resistances, reduced threat for non tank bots, increased threat for tank bots.
|
# 30% more damage, 40% damage reduction (tank bots), increased all resistances, reduced threat for non tank bots, increased threat for tank bots.
|
||||||
# Buffs will be applied on PP, Sindragosa and Lich King
|
# Buffs will be applied on PP, Sindragosa and Lich King
|
||||||
|
|
||||||
AiPlayerbot.EnableICCBuffs = 1
|
AiPlayerbot.EnableICCBuffs = 1
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ DRY_RUN=0
|
|||||||
FORCE_PLAYERBOTS="${FORCE_PLAYERBOTS:-${ACORE_PLAYERBOTS_FORCE:-0}}"
|
FORCE_PLAYERBOTS="${FORCE_PLAYERBOTS:-${ACORE_PLAYERBOTS_FORCE:-0}}"
|
||||||
|
|
||||||
: "${ACORE_WORLD_ENABLE_PLAYER_SETTINGS:=1}"
|
: "${ACORE_WORLD_ENABLE_PLAYER_SETTINGS:=1}"
|
||||||
|
: "${ACORE_WORLD_CONSOLE_ENABLE:=0}"
|
||||||
: "${ACORE_WORLD_DBC_ENFORCE_ITEM_ATTRIBUTES:=0}"
|
: "${ACORE_WORLD_DBC_ENFORCE_ITEM_ATTRIBUTES:=0}"
|
||||||
: "${ACORE_WORLD_INSTANCE_IGNORE_RAID:=1}"
|
: "${ACORE_WORLD_INSTANCE_IGNORE_RAID:=1}"
|
||||||
: "${ACORE_WORLD_RATE_CREATURE_ELITE_ELITE_DAMAGE:=0.80}"
|
: "${ACORE_WORLD_RATE_CREATURE_ELITE_ELITE_DAMAGE:=0.80}"
|
||||||
@@ -106,6 +107,10 @@ FORCE_PLAYERBOTS="${FORCE_PLAYERBOTS:-${ACORE_PLAYERBOTS_FORCE:-0}}"
|
|||||||
: "${ACORE_PLAYERBOTS_RANDOM_BOT_INVITE_PLAYER:=0}"
|
: "${ACORE_PLAYERBOTS_RANDOM_BOT_INVITE_PLAYER:=0}"
|
||||||
: "${ACORE_PLAYERBOTS_RANDOM_BOT_JOIN_LFG:=0}"
|
: "${ACORE_PLAYERBOTS_RANDOM_BOT_JOIN_LFG:=0}"
|
||||||
: "${ACORE_PLAYERBOTS_BOT_CHEATS:=food,taxi,raid}"
|
: "${ACORE_PLAYERBOTS_BOT_CHEATS:=food,taxi,raid}"
|
||||||
|
: "${ACORE_PLAYERBOTS_RANDOM_BOT_ARENA_TEAM_2V2_COUNT:=0}"
|
||||||
|
: "${ACORE_PLAYERBOTS_RANDOM_BOT_ARENA_TEAM_3V3_COUNT:=0}"
|
||||||
|
: "${ACORE_PLAYERBOTS_RANDOM_BOT_ARENA_TEAM_5V5_COUNT:=0}"
|
||||||
|
: "${ACORE_PLAYERBOTS_DELETE_RANDOM_BOT_ARENA_TEAMS:=0}"
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
@@ -408,6 +413,10 @@ AiPlayerbot.SyncLevelWithPlayers = ${ACORE_PLAYERBOTS_SYNC_LEVEL_WITH_PLAYERS}
|
|||||||
AiPlayerbot.ApplyInstanceStrategies = ${ACORE_PLAYERBOTS_APPLY_INSTANCE_STRATEGIES}
|
AiPlayerbot.ApplyInstanceStrategies = ${ACORE_PLAYERBOTS_APPLY_INSTANCE_STRATEGIES}
|
||||||
AiPlayerbot.RandomBotInvitePlayer = ${ACORE_PLAYERBOTS_RANDOM_BOT_INVITE_PLAYER}
|
AiPlayerbot.RandomBotInvitePlayer = ${ACORE_PLAYERBOTS_RANDOM_BOT_INVITE_PLAYER}
|
||||||
AiPlayerbot.RandomBotJoinLfg = ${ACORE_PLAYERBOTS_RANDOM_BOT_JOIN_LFG}
|
AiPlayerbot.RandomBotJoinLfg = ${ACORE_PLAYERBOTS_RANDOM_BOT_JOIN_LFG}
|
||||||
|
AiPlayerbot.RandomBotArenaTeam2v2Count = ${ACORE_PLAYERBOTS_RANDOM_BOT_ARENA_TEAM_2V2_COUNT}
|
||||||
|
AiPlayerbot.RandomBotArenaTeam3v3Count = ${ACORE_PLAYERBOTS_RANDOM_BOT_ARENA_TEAM_3V3_COUNT}
|
||||||
|
AiPlayerbot.RandomBotArenaTeam5v5Count = ${ACORE_PLAYERBOTS_RANDOM_BOT_ARENA_TEAM_5V5_COUNT}
|
||||||
|
AiPlayerbot.DeleteRandomBotArenaTeams = ${ACORE_PLAYERBOTS_DELETE_RANDOM_BOT_ARENA_TEAMS}
|
||||||
AiPlayerbot.BotCheats = "${ACORE_PLAYERBOTS_BOT_CHEATS}"
|
AiPlayerbot.BotCheats = "${ACORE_PLAYERBOTS_BOT_CHEATS}"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
@@ -415,6 +424,7 @@ EOF
|
|||||||
configure_worldserver() {
|
configure_worldserver() {
|
||||||
ensure_world_conf
|
ensure_world_conf
|
||||||
|
|
||||||
|
set_config_value "$WORLD_CONF" "Console.Enable" "$ACORE_WORLD_CONSOLE_ENABLE"
|
||||||
set_config_value "$WORLD_CONF" "EnablePlayerSettings" "$ACORE_WORLD_ENABLE_PLAYER_SETTINGS"
|
set_config_value "$WORLD_CONF" "EnablePlayerSettings" "$ACORE_WORLD_ENABLE_PLAYER_SETTINGS"
|
||||||
set_config_value "$WORLD_CONF" "DBC.EnforceItemAttributes" "$ACORE_WORLD_DBC_ENFORCE_ITEM_ATTRIBUTES"
|
set_config_value "$WORLD_CONF" "DBC.EnforceItemAttributes" "$ACORE_WORLD_DBC_ENFORCE_ITEM_ATTRIBUTES"
|
||||||
set_config_value "$WORLD_CONF" "Instance.IgnoreRaid" "$ACORE_WORLD_INSTANCE_IGNORE_RAID"
|
set_config_value "$WORLD_CONF" "Instance.IgnoreRaid" "$ACORE_WORLD_INSTANCE_IGNORE_RAID"
|
||||||
|
|||||||
Reference in New Issue
Block a user