| 1 |
#################################################################################
|
| 2 |
# d2dbs.conf - Configuration file for the Diablo2 Game database server #
|
| 3 |
#-------------------------------------------------------------------------------#
|
| 4 |
# #
|
| 5 |
# This file is an example configuration and may require modification to #
|
| 6 |
# suit your needs or your site. Blank lines and lines starting with a "#" #
|
| 7 |
# are ignored. Use quotes around values that contain spaces. #
|
| 8 |
# #
|
| 9 |
#################################################################################
|
| 10 |
|
| 11 |
#################################################################################
|
| 12 |
# Server Major Settings #
|
| 13 |
#-------------------------------------------------------------------------------#
|
| 14 |
# This is a comma delimited list of hostnames that the server should
|
| 15 |
# listen on. It might be useful to make an internal-only server on a
|
| 16 |
# gateway machine for example. If the list is not set or if it has a
|
| 17 |
# entry with no host component, the server will bind to that port on all
|
| 18 |
# interfaces.
|
| 19 |
# dbs default listening port is 6114
|
| 20 |
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
|
| 21 |
servaddrs = 0.0.0.0:6114
|
| 22 |
|
| 23 |
# This is a comma delimited list of game servers
|
| 24 |
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
|
| 25 |
#gameservlist = your.gameserver,another.gameserver
|
| 26 |
|
| 27 |
# #
|
| 28 |
#################################################################################
|
| 29 |
|
| 30 |
#################################################################################
|
| 31 |
# Message logs #
|
| 32 |
#-------------------------------------------------------------------------------#
|
| 33 |
# Multiple log levels can be defined by connecting them with a comma (,)
|
| 34 |
# Available loglevels are:
|
| 35 |
# none
|
| 36 |
# trace
|
| 37 |
# debug
|
| 38 |
# info
|
| 39 |
# warn
|
| 40 |
# error
|
| 41 |
# fatal
|
| 42 |
#loglevels = fatal,error,warn,info
|
| 43 |
loglevels = fatal,error,warn,info,debug,trace
|
| 44 |
|
| 45 |
# #
|
| 46 |
#################################################################################
|
| 47 |
|
| 48 |
#################################################################################
|
| 49 |
# File and Path section #
|
| 50 |
# Use absolute paths in these lines to avoid problems! #
|
| 51 |
#-------------------------------------------------------------------------------#
|
| 52 |
logfile = var\d2dbs.log
|
| 53 |
logfile-gs = var\d2dbs-gs.log
|
| 54 |
charsavedir = var\charsave
|
| 55 |
charinfodir = var\charinfo
|
| 56 |
ladderdir = var\ladders
|
| 57 |
bak_charsavedir = var\bak\charsave
|
| 58 |
bak_charinfodir = var\bak\charinfo
|
| 59 |
# #
|
| 60 |
#################################################################################
|
| 61 |
|
| 62 |
#################################################################################
|
| 63 |
# Misc #
|
| 64 |
#-------------------------------------------------------------------------------#
|
| 65 |
# #
|
| 66 |
# Ladder save interval
|
| 67 |
laddersave_interval = 3600
|
| 68 |
|
| 69 |
# Time that allow characters create after it insert into ladder
|
| 70 |
# These code should be rewritted to support string formmated time
|
| 71 |
ladderinit_time = 0
|
| 72 |
|
| 73 |
# create extra ladder file in XML format that can be parsed more easy
|
| 74 |
# 0 = turn extra output off (default)
|
| 75 |
# 1 = turn on the XML output
|
| 76 |
XML_ladder_output = 0
|
| 77 |
|
| 78 |
# Amount of time to delay shutting down server in seconds.
|
| 79 |
shutdown_delay = 360
|
| 80 |
|
| 81 |
# Amount of time delay period is decremented by either a SIGTERM or SIGINT
|
| 82 |
# (control-c) signal in seconds.
|
| 83 |
shutdown_decr = 60
|
| 84 |
|
| 85 |
# connection max idle time in seconds
|
| 86 |
idletime = 300
|
| 87 |
|
| 88 |
# connection keep alive interval
|
| 89 |
keepalive_interval = 60
|
| 90 |
|
| 91 |
# connection time out check interval
|
| 92 |
timeout_checkinterval = 60
|
| 93 |
|
| 94 |
# experience threshold, minimum experience needed to register on the ladder
|
| 95 |
ladderupdate_threshold = 0
|
| 96 |
|
| 97 |
# What chars will be added to ladder?
|
| 98 |
# 0 = ladder and non-ladder chars
|
| 99 |
# 1 = only ladder chars
|
| 100 |
ladder_chars_only = 1
|
| 101 |
|
| 102 |
# This setting activates a workaround for the well known "Lvl 100" bug.
|
| 103 |
# It should be activated for mods where the max level is greater than 99.
|
| 104 |
# Activating this should work for mods with any max level
|
| 105 |
# If level is greater than 255, it will be set to 255
|
| 106 |
# 0 = deactivated
|
| 107 |
# 1 = activated
|
| 108 |
difficulty_hack = 0
|
| 109 |
|
| 110 |
# #
|
| 111 |
#################################################################################
|