mirror of
https://github.com/hermensbas/azerothcore_installer.git
synced 2026-02-03 17:43:47 +00:00
Compare commits
19 Commits
4d100d16fa
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
abfd09ffb8 | ||
|
|
f93c7d3ce3 | ||
|
|
030ebc27b7 | ||
|
|
7ef72f8986 | ||
|
|
7610bec8a4 | ||
|
|
5c702972a3 | ||
|
|
85e008f0b2 | ||
|
|
7bfd1fab85 | ||
|
|
5967b6c1ba | ||
|
|
1ecfa87583 | ||
|
|
b2a832af16 | ||
|
|
36c5483ed1 | ||
|
|
5e03cea5ba | ||
|
|
1ecd9fe16f | ||
|
|
abc34e5eba | ||
|
|
9531a67476 | ||
|
|
687e5ccb4f | ||
|
|
bdb6e914ab | ||
|
|
6a9c39ec2b |
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user