mirror of
https://github.com/hermensbas/azerothcore_installer.git
synced 2026-03-10 08:30:30 +00:00
Compare commits
15 Commits
abc34e5eba
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
accab263c2 | ||
|
|
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.MinRandomBots = 3000
|
||||||
AiPlayerbot.MaxRandomBots = 2000
|
AiPlayerbot.MaxRandomBots = 3000
|
||||||
AiPlayerbot.RandomBotMinLevel = 1
|
AiPlayerbot.RandomBotMinLevel = 1
|
||||||
AiPlayerbot.RandomBotMaxLevel = 80
|
AiPlayerbot.RandomBotMaxLevel = 80
|
||||||
AiPlayerbot.DisableDeathKnightLogin = 0
|
AiPlayerbot.DisableDeathKnightLogin = 0
|
||||||
@@ -235,7 +235,8 @@ AiPlayerbot.AggroDistance = 22
|
|||||||
#--------------------------------------------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------------------------------------------
|
||||||
#--------------------------------------------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
AiPlayerbot.BotActiveAlone = 10
|
# AiPlayerbot.BotActiveAlone = 10
|
||||||
|
AiPlayerbot.BotActiveAlone = 100
|
||||||
AiPlayerbot.BotActiveFreezeDuringServerInit = 1
|
AiPlayerbot.BotActiveFreezeDuringServerInit = 1
|
||||||
AiPlayerbot.BotActiveAloneForceWhenInRadius = 150
|
AiPlayerbot.BotActiveAloneForceWhenInRadius = 150
|
||||||
AiPlayerbot.BotActiveAloneForceWhenInZone = 1
|
AiPlayerbot.BotActiveAloneForceWhenInZone = 1
|
||||||
@@ -243,7 +244,8 @@ AiPlayerbot.BotActiveAloneForceWhenInMap = 0
|
|||||||
# BotActiveAloneForceWhenIsFriend = 1 # hasFriend logic might cause a crash
|
# BotActiveAloneForceWhenIsFriend = 1 # hasFriend logic might cause a crash
|
||||||
AiPlayerbot.BotActiveAloneForceWhenIsFriend = 0
|
AiPlayerbot.BotActiveAloneForceWhenIsFriend = 0
|
||||||
AiPlayerbot.BotActiveAloneForceWhenInGuild = 1
|
AiPlayerbot.BotActiveAloneForceWhenInGuild = 1
|
||||||
AiPlayerbot.botActiveAloneSmartScale = 1
|
# AiPlayerbot.botActiveAloneSmartScale = 1
|
||||||
|
AiPlayerbot.botActiveAloneSmartScale = 0
|
||||||
AiPlayerbot.botActiveAloneSmartScaleDiffLimitfloor = 50
|
AiPlayerbot.botActiveAloneSmartScaleDiffLimitfloor = 50
|
||||||
AiPlayerbot.botActiveAloneSmartScaleDiffLimitCeiling = 200
|
AiPlayerbot.botActiveAloneSmartScaleDiffLimitCeiling = 200
|
||||||
AiPlayerbot.botActiveAloneSmartScaleWhenMinLevel = 1
|
AiPlayerbot.botActiveAloneSmartScaleWhenMinLevel = 1
|
||||||
|
|||||||
@@ -78,8 +78,8 @@ ThreadPool = 8
|
|||||||
MapUpdate.Threads = 16
|
MapUpdate.Threads = 16
|
||||||
Network.Threads = 4
|
Network.Threads = 4
|
||||||
|
|
||||||
MapUpdateInterval = 15
|
MapUpdateInterval = 10
|
||||||
MinWorldUpdateTime = 5
|
MinWorldUpdateTime = 1
|
||||||
|
|
||||||
LoginDatabase.WorkerThreads = 1
|
LoginDatabase.WorkerThreads = 1
|
||||||
WorldDatabase.WorkerThreads = 1
|
WorldDatabase.WorkerThreads = 1
|
||||||
|
|||||||
@@ -76,28 +76,42 @@ AUTH_CMD="${ROOT}/_server/azerothcore/acore.sh run-authserver"
|
|||||||
if [[ $DEBUG_MODE -eq 1 ]]; then
|
if [[ $DEBUG_MODE -eq 1 ]]; then
|
||||||
|
|
||||||
# via GDB with RelWithDebInfo or Debug build (debuginfod downloads missing symbols real-time)
|
# 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 && \
|
WORLD_CMD="cd $ROOT/_server/azerothcore/env/dist/bin && \
|
||||||
gdb -ex \"set logging file $GDB_LOG\" \
|
gdb \
|
||||||
-ex \"set debuginfod enabled on\" \
|
-ex \"set logging file $GDB_LOG\" \
|
||||||
-ex \"set logging on\" \
|
-ex \"set debuginfod enabled on\" \
|
||||||
-ex \"set pagination off\" \
|
-ex \"set logging overwrite on\" \
|
||||||
-ex \"set confirm off\" \
|
-ex \"set logging on\" \
|
||||||
-ex \"set print pretty on\" \
|
-ex \"set pagination off\" \
|
||||||
-ex \"set print elements 0\" \
|
-ex \"set confirm off\" \
|
||||||
-ex \"set print object on\" \
|
-ex \"set print pretty on\" \
|
||||||
-ex \"catch signal SIGSEGV\" \
|
-ex \"set print object on\" \
|
||||||
-ex \"catch signal SIGABRT\" \
|
-ex \"run\" \
|
||||||
-ex \"catch signal SIGFPE\" \
|
--args ./worldserver -c ../etc/worldserver.conf"
|
||||||
-ex \"catch signal SIGILL\" \
|
|
||||||
-ex \"run -c ../etc/worldserver.conf\" \
|
|
||||||
-ex \"bt full\" \
|
|
||||||
-ex \"info locals\" \
|
|
||||||
-ex \"info threads\" \
|
|
||||||
-ex \"quit\" \
|
|
||||||
--args ./worldserver"
|
|
||||||
else
|
|
||||||
|
|
||||||
|
# when crash
|
||||||
|
# bt full
|
||||||
|
#thread apply all bt
|
||||||
|
#set logging off
|
||||||
|
#quit
|
||||||
|
else
|
||||||
# via acore.sh for auto-restart
|
# via acore.sh for auto-restart
|
||||||
WORLD_CMD="$ROOT/_server/azerothcore/acore.sh run-worldserver"
|
WORLD_CMD="$ROOT/_server/azerothcore/acore.sh run-worldserver"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user