aboutsummaryrefslogtreecommitdiff
path: root/src/trinitycore
diff options
context:
space:
mode:
Diffstat (limited to 'src/trinitycore')
-rw-r--r--src/trinitycore/trinitycore.conf.dist33
1 files changed, 27 insertions, 6 deletions
diff --git a/src/trinitycore/trinitycore.conf.dist b/src/trinitycore/trinitycore.conf.dist
index 45002de76aa..2c94b21b3ed 100644
--- a/src/trinitycore/trinitycore.conf.dist
+++ b/src/trinitycore/trinitycore.conf.dist
@@ -133,11 +133,6 @@ BindIP = "0.0.0.0"
# These spells are ignored for LoS calculation
# List of ids with delimiter ','
#
-# DetectPosCollision
-# Check final move position, summon position, etc for visible collision with other objects or
-# wall (wall only if vmaps are enabled)
-# Default: 1 (enable, required more CPU power usage)
-# 0 (disable, less nice position selection but will less CPU power usage)
#
# TargetPosRecalculateRange
# Max distance from movement target point (+moving unit size) and targeted object (+size)
@@ -179,7 +174,6 @@ vmap.enableLOS = 0
vmap.enableHeight = 0
vmap.ignoreMapIds = "369"
vmap.ignoreSpellIds = "7720"
-DetectPosCollision = 1
TargetPosRecalculateRange = 1.5
UpdateUptimeInterval = 10
MaxCoreStuckTime = 0
@@ -1053,3 +1047,30 @@ Arena.AutoDistributeInterval = 7
###################################################################################################################
BattleGround.PrematureFinishTimer = 0
+
+###################################################################################################################
+#
+# Network config
+#
+# Threads: number of threads for network ,recommend 1 thread per 1000 players.
+# Default: 1
+#
+# OutKBuff: the output kernel buffer used ( SO_SNDBUF socket option ) , -1 means use system default. Refer to tcp manual for explanation.
+# Default: -1
+#
+# OutUBuff: userspace buffer for output
+# Default: 65536
+#
+# TcpNodelay: enable ( 1 ) , disable ( 0 ) ,TCP_NODELAY socket option. Refer to tcp manual for explanation.
+# Default: 1
+#
+#
+#
+###################################################################################################################
+
+Network.Threads = 1
+Network.OutKBuff = -1
+Network.OutUBuff = 65536
+Network.TcpNodelay = 1
+
+