5 Commits

Author SHA1 Message Date
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
3 changed files with 11 additions and 6 deletions

View File

@@ -205,6 +205,9 @@ Use the above (ifconfig) IP for the following router poort-forwarding and/or fir
.gps
.go xyz
/whisper bot nc +debug
playerbots pmon toggle
playerbots pmon stack
.playerbots debug bg showpath=all (only work in BG)
```
## useful bot commands
@@ -237,8 +240,6 @@ nc -pvp
# 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
# while in BG
.playerbots debug bg showpath=all
```
Tank attack @dps attack in 10 seconds

View File

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

View File

@@ -75,23 +75,25 @@ AUTH_CMD="${ROOT}/_server/azerothcore/acore.sh run-authserver"
# Worldserver
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"
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 thread-events on\" \
-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 \"thread apply all bt full\" \
-ex \"bt full\" \
-ex \"info locals\" \
-ex \"info threads\" \
-ex \"thread apply all info locals\" \
-ex \"quit\" \
--args ./worldserver"
else