14 Commits

Author SHA1 Message Date
bashermens
abfd09ffb8 Update 6_server-start.sh 2026-01-30 11:05:03 +01:00
bashermens
f93c7d3ce3 Delete ac_crash.gdb 2026-01-30 10:35:49 +01:00
bashermens
030ebc27b7 Update 6_server-start.sh 2026-01-30 10:35:33 +01:00
bashermens
7ef72f8986 Update 6_server-start.sh 2026-01-30 10:27:17 +01:00
bashermens
7610bec8a4 Update 6_server-start.sh 2026-01-30 10:05:37 +01:00
bashermens
5c702972a3 Create ac_crash.gdb 2026-01-30 10:04:49 +01:00
bashermens
85e008f0b2 Update 6_server-start.sh 2026-01-30 10:01:15 +01:00
bashermens
7bfd1fab85 Update 6_server-start.sh 2026-01-30 09:54:29 +01:00
bashermens
5967b6c1ba Update 6_server-start.sh 2026-01-30 09:53:58 +01:00
bashermens
1ecfa87583 Update 6_server-start.sh 2026-01-30 09:51:01 +01:00
bashermens
b2a832af16 Update 6_server-start.sh 2026-01-30 09:49:05 +01:00
bashermens
36c5483ed1 Update 6_server-start.sh 2026-01-30 09:46:50 +01:00
bashermens
5e03cea5ba Update playerbots.conf 2026-01-30 09:38:02 +01:00
bashermens
1ecd9fe16f Update 6_server-start.sh 2026-01-30 09:37:05 +01:00
2 changed files with 40 additions and 24 deletions

View File

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

View File

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