19 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
bashermens
abc34e5eba Update readme.md 2026-01-13 00:26:38 +01:00
bashermens
9531a67476 Update 6_server-start.sh 2026-01-11 01:45:27 +01:00
bashermens
687e5ccb4f Update 4_server-compile.sh 2026-01-11 00:45:09 +01:00
bashermens
bdb6e914ab Update 6_server-start.sh 2026-01-11 00:40:43 +01:00
bashermens
6a9c39ec2b Update 6_server-start.sh 2026-01-11 00:33:27 +01:00
4 changed files with 46 additions and 25 deletions

View File

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

View File

@@ -205,6 +205,9 @@ Use the above (ifconfig) IP for the following router poort-forwarding and/or fir
.gps .gps
.go xyz .go xyz
/whisper bot nc +debug /whisper bot nc +debug
playerbots pmon toggle
playerbots pmon stack
.playerbots debug bg showpath=all (only work in BG)
``` ```
## useful bot commands ## useful bot commands
@@ -237,8 +240,6 @@ nc -pvp
# After init or talents respec make sure you reset bot AI (see unbot). # After init or talents respec make sure you reset bot AI (see unbot).
.playerbot bot add <name-of-character-on-account> (or account name instead of character name to add all characters on an account .playerbot bot add <name-of-character-on-account> (or account name instead of character name to add all characters on an account
# while in BG
.playerbots debug bg showpath=all
``` ```
Tank attack @dps attack in 10 seconds Tank attack @dps attack in 10 seconds

View File

@@ -2,6 +2,8 @@
if [[ "$1" == "debug" ]]; then if [[ "$1" == "debug" ]]; then
export CTYPE=RelWithDebInfo export CTYPE=RelWithDebInfo
export CFLAGS="-g -O0 -fno-inline"
export CXXFLAGS="-g -O0 -fno-inline"
else else
export CTYPE=Release export CTYPE=Release
fi fi

View File

@@ -75,27 +75,43 @@ AUTH_CMD="${ROOT}/_server/azerothcore/acore.sh run-authserver"
# Worldserver # Worldserver
if [[ $DEBUG_MODE -eq 1 ]]; then if [[ $DEBUG_MODE -eq 1 ]]; then
# via GDB with RelWithDebInfo or Debug build # 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 logging on\" \ -ex \"set logging file $GDB_LOG\" \
-ex \"set pagination off\" \ -ex \"set debuginfod enabled on\" \
-ex \"set confirm off\" \ -ex \"set logging overwrite on\" \
-ex \"set print thread-events on\" \ -ex \"set logging on\" \
-ex \"set print object on\" \ -ex \"set pagination off\" \
-ex \"catch signal SIGSEGV\" \ -ex \"set confirm off\" \
-ex \"catch signal SIGABRT\" \ -ex \"set print pretty on\" \
-ex \"catch signal SIGFPE\" \ -ex \"set print object on\" \
-ex \"catch signal SIGILL\" \ -ex \"run\" \
-ex \"run -c ../etc/worldserver.conf\" \ --args ./worldserver -c ../etc/worldserver.conf"
-ex \"thread apply all bt full\" \
-ex \"info threads\" \
-ex \"thread apply all info locals\" \
-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