mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
*Changed default settings
*Make configurable the short world sleep time on Linux - by XTZGZoReX --HG-- branch : trunk
This commit is contained in:
16
configure.ac
16
configure.ac
@@ -232,6 +232,22 @@ AC_ARG_ENABLE(lc,
|
||||
])
|
||||
AC_MSG_RESULT($TRINITYD_ENABLE_LC)
|
||||
|
||||
# Enable short world sleep?
|
||||
AC_MSG_CHECKING(whether we use short world sleep)
|
||||
TRINITYD_ENABLE_SS=no
|
||||
AC_ARG_ENABLE(ss,
|
||||
[ --enable-ss Enable short world sleep],
|
||||
[
|
||||
if test "$enableval" = "yes" ; then
|
||||
CFLAGS="-DSHORT_SLEEP $CFLAGS"
|
||||
CXXFLAGS="-DSHORT_SLEEP $CXXFLAGS"
|
||||
TRINITYD_ENABLE_SS=yes
|
||||
elif test "$withval" != "no" ; then
|
||||
AC_MSG_ERROR(Please choose yes or no)
|
||||
fi
|
||||
])
|
||||
AC_MSG_RESULT($TRINITYD_ENABLE_SS)
|
||||
|
||||
## Check for required header files.
|
||||
AC_HEADER_STDC
|
||||
AC_HEADER_DIRENT
|
||||
|
||||
@@ -32,10 +32,10 @@
|
||||
|
||||
#include "Database/DatabaseEnv.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#if (defined(SHORT_SLEEP) || defined(WIN32))
|
||||
#define WORLD_SLEEP_CONST 50
|
||||
#else
|
||||
#define WORLD_SLEEP_CONST 100 //Is this still needed?? [On linux some time ago not working 50ms]
|
||||
#define WORLD_SLEEP_CONST 100 //Is this still needed?? [On linux some time ago not working 50ms]
|
||||
#endif
|
||||
|
||||
/// Heartbeat for the World
|
||||
|
||||
@@ -678,7 +678,7 @@ TalentsInspecting = 1
|
||||
# ThreatRadius
|
||||
# Radius for creature to evade after being pulled away from combat start point
|
||||
# If ThreatRadius is less than creature aggro radius then aggro radius will be used
|
||||
# Default: 100 yards
|
||||
# Default: 60 yards
|
||||
#
|
||||
# Rate.Creature.Aggro
|
||||
# Aggro radius percent or off.
|
||||
@@ -709,7 +709,7 @@ TalentsInspecting = 1
|
||||
#
|
||||
# Rate.Corpse.Decay.Looted
|
||||
# Controls how long the creature corpse stays after it had been looted, as a multiplier of its Corpse.Decay.* config.
|
||||
# Default: 0.1
|
||||
# Default: 0.5
|
||||
#
|
||||
# Rate.Creature.Normal.Damage
|
||||
# Rate.Creature.Elite.Elite.Damage
|
||||
@@ -749,7 +749,7 @@ TalentsInspecting = 1
|
||||
#
|
||||
###################################################################################################################
|
||||
|
||||
ThreatRadius = 100
|
||||
ThreatRadius = 60
|
||||
Rate.Creature.Aggro = 1
|
||||
CreatureFamilyAssistanceRadius = 10
|
||||
CreatureFamilyAssistanceDelay = 1500
|
||||
@@ -759,7 +759,7 @@ Corpse.Decay.RARE = 300
|
||||
Corpse.Decay.ELITE = 300
|
||||
Corpse.Decay.RAREELITE = 300
|
||||
Corpse.Decay.WORLDBOSS = 3600
|
||||
Rate.Corpse.Decay.Looted = 0.1
|
||||
Rate.Corpse.Decay.Looted = 0.5
|
||||
Rate.Creature.Normal.Damage = 1
|
||||
Rate.Creature.Elite.Elite.Damage = 1
|
||||
Rate.Creature.Elite.RAREELITE.Damage = 1
|
||||
|
||||
Reference in New Issue
Block a user