mirror of
https://github.com/hermensbas/azerothcore_installer.git
synced 2026-02-07 19:21:09 +00:00
Compare commits
14 Commits
abc34e5eba
...
abfd09ffb8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
abfd09ffb8 | ||
|
|
f93c7d3ce3 | ||
|
|
030ebc27b7 | ||
|
|
7ef72f8986 | ||
|
|
7610bec8a4 | ||
|
|
5c702972a3 | ||
|
|
85e008f0b2 | ||
|
|
7bfd1fab85 | ||
|
|
5967b6c1ba | ||
|
|
1ecfa87583 | ||
|
|
b2a832af16 | ||
|
|
36c5483ed1 | ||
|
|
5e03cea5ba | ||
|
|
1ecd9fe16f |
@@ -36,8 +36,8 @@ AiPlayerbot.DisabledWithoutRealPlayerLogoutDelay = 300
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
AiPlayerbot.MinRandomBots = 2000
|
||||
AiPlayerbot.MaxRandomBots = 2000
|
||||
AiPlayerbot.MinRandomBots = 3000
|
||||
AiPlayerbot.MaxRandomBots = 3000
|
||||
AiPlayerbot.RandomBotMinLevel = 1
|
||||
AiPlayerbot.RandomBotMaxLevel = 80
|
||||
AiPlayerbot.DisableDeathKnightLogin = 0
|
||||
@@ -235,7 +235,8 @@ AiPlayerbot.AggroDistance = 22
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
#--------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
AiPlayerbot.BotActiveAlone = 10
|
||||
# AiPlayerbot.BotActiveAlone = 10
|
||||
AiPlayerbot.BotActiveAlone = 100
|
||||
AiPlayerbot.BotActiveFreezeDuringServerInit = 1
|
||||
AiPlayerbot.BotActiveAloneForceWhenInRadius = 150
|
||||
AiPlayerbot.BotActiveAloneForceWhenInZone = 1
|
||||
@@ -243,7 +244,8 @@ AiPlayerbot.BotActiveAloneForceWhenInMap = 0
|
||||
# BotActiveAloneForceWhenIsFriend = 1 # hasFriend logic might cause a crash
|
||||
AiPlayerbot.BotActiveAloneForceWhenIsFriend = 0
|
||||
AiPlayerbot.BotActiveAloneForceWhenInGuild = 1
|
||||
AiPlayerbot.botActiveAloneSmartScale = 1
|
||||
# AiPlayerbot.botActiveAloneSmartScale = 1
|
||||
AiPlayerbot.botActiveAloneSmartScale = 0
|
||||
AiPlayerbot.botActiveAloneSmartScaleDiffLimitfloor = 50
|
||||
AiPlayerbot.botActiveAloneSmartScaleDiffLimitCeiling = 200
|
||||
AiPlayerbot.botActiveAloneSmartScaleWhenMinLevel = 1
|
||||
|
||||
@@ -76,28 +76,42 @@ AUTH_CMD="${ROOT}/_server/azerothcore/acore.sh run-authserver"
|
||||
if [[ $DEBUG_MODE -eq 1 ]]; then
|
||||
|
||||
# via GDB with RelWithDebInfo or Debug build (debuginfod downloads missing symbols real-time)
|
||||
echo "DEBUG MODE: Running worldserver under GDB"
|
||||
echo
|
||||
echo "======================================================"
|
||||
echo " WORLD SERVER DEBUG MODE (GDB)"
|
||||
echo "------------------------------------------------------"
|
||||
echo " When a crash happens, type the following in GDB:"
|
||||
echo
|
||||
echo " bt full"
|
||||
echo " thread apply all bt"
|
||||
echo " set logging off"
|
||||
echo " quit"
|
||||
echo
|
||||
echo " Crash log will be saved to:"
|
||||
echo " $GDB_LOG"
|
||||
echo "======================================================"
|
||||
echo
|
||||
read -p "Press ENTER to continue..."
|
||||
echo
|
||||
WORLD_CMD="cd $ROOT/_server/azerothcore/env/dist/bin && \
|
||||
gdb -ex \"set logging file $GDB_LOG\" \
|
||||
-ex \"set debuginfod enabled on\" \
|
||||
-ex \"set logging on\" \
|
||||
-ex \"set pagination off\" \
|
||||
-ex \"set confirm off\" \
|
||||
-ex \"set print pretty on\" \
|
||||
-ex \"set print elements 0\" \
|
||||
-ex \"set print object on\" \
|
||||
-ex \"catch signal SIGSEGV\" \
|
||||
-ex \"catch signal SIGABRT\" \
|
||||
-ex \"catch signal SIGFPE\" \
|
||||
-ex \"catch signal SIGILL\" \
|
||||
-ex \"run -c ../etc/worldserver.conf\" \
|
||||
-ex \"bt full\" \
|
||||
-ex \"info locals\" \
|
||||
-ex \"info threads\" \
|
||||
-ex \"quit\" \
|
||||
--args ./worldserver"
|
||||
else
|
||||
gdb \
|
||||
-ex \"set logging file $GDB_LOG\" \
|
||||
-ex \"set debuginfod enabled on\" \
|
||||
-ex \"set logging overwrite on\" \
|
||||
-ex \"set logging on\" \
|
||||
-ex \"set pagination off\" \
|
||||
-ex \"set confirm off\" \
|
||||
-ex \"set print pretty on\" \
|
||||
-ex \"set print object on\" \
|
||||
-ex \"run\" \
|
||||
--args ./worldserver -c ../etc/worldserver.conf"
|
||||
|
||||
# when crash
|
||||
# bt full
|
||||
#thread apply all bt
|
||||
#set logging off
|
||||
#quit
|
||||
else
|
||||
# via acore.sh for auto-restart
|
||||
WORLD_CMD="$ROOT/_server/azerothcore/acore.sh run-worldserver"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user