Debian Codegraph @

conf/d2dbs.conf.in

raw
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. Generally, YOU DONT NEED TO TOUCH THIS but it might be useful
16 # to make an internal-only server on a gateway machine for example. If the
17 # list is not set or if it has a entry with no host component, the server will
18 # bind to that port on all interfaces.
19 # d2dbs 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 # Put here EXACTLY the same thing you put in d2cs.conf gameservlist setting.
24 # For more information about this setting consult the d2cs.conf comments
25 # above it.
26 #
27 # YOU MUST CHANGE THIS OR D2DBS WON'T WORK PROPERLY
28 #
29 # WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
30 gameservlist = <d2gs-IP>,<another-d2gs-IP>
31
32 # #
33 #################################################################################
34
35 #################################################################################
36 # Message logs #
37 #-------------------------------------------------------------------------------#
38 # Multiple log levels can be defined by connecting them with a comma (,)
39 # Available loglevels are:
40 # none
41 # trace
42 # debug
43 # info
44 # warn
45 # error
46 # fatal
47 #loglevels = fatal,error,warn,info
48 loglevels = fatal,error,warn,info,debug,trace
49
50 # #
51 #################################################################################
52
53 #################################################################################
54 # File and Path section #
55 # Use absolute paths in these lines to avoid problems! #
56 #-------------------------------------------------------------------------------#
57 logfile = "${LOCALSTATEDIR}/d2dbs.log"
58 logfile-gs = "${LOCALSTATEDIR}/d2dbs-gs.log"
59 charsavedir = "${LOCALSTATEDIR}/charsave"
60 charinfodir = "${LOCALSTATEDIR}/charinfo"
61 ladderdir = "${LOCALSTATEDIR}/ladders"
62 bak_charsavedir = "${LOCALSTATEDIR}/bak/charsave"
63 bak_charinfodir = "${LOCALSTATEDIR}/bak/charinfo"
64 #pidfile = "${LOCALSTATEDIR}/d2dbs.pid"
65
66 # #
67 #################################################################################
68
69 #################################################################################
70 # Misc #
71 #-------------------------------------------------------------------------------#
72 # #
73 # Ladder save interval
74 laddersave_interval = 3600
75
76 # Time that allow characters create after it insert into ladder
77 # These code should be rewritted to support string formmated time
78 ladderinit_time = 0
79
80 # create extra ladder file in XML format that can be parsed more easy
81 # 0 = turn extra output off (default)
82 # 1 = turn on the XML output
83 XML_ladder_output = 0
84
85 # Amount of time to delay shutting down server in seconds.
86 shutdown_delay = 360
87
88 # Amount of time delay period is decremented by either a SIGTERM or SIGINT
89 # (control-c) signal in seconds.
90 shutdown_decr = 60
91
92 # connection max idle time in seconds
93 idletime = 300
94
95 # connection keep alive interval
96 keepalive_interval = 60
97
98 # connection time out check interval
99 timeout_checkinterval = 60
100
101 # experience threshold, minimum experience needed to register on the ladder
102 ladderupdate_threshold = 0
103
104 # What chars will be added to ladder?
105 # 0 = ladder and non-ladder chars
106 # 1 = only ladder chars
107 ladder_chars_only = 1
108
109 # This setting activates a workaround for the well known "Lvl 100" bug.
110 # It should be activated for mods where the max level is greater than 99.
111 # Activating this should work for mods with any max level
112 # If level is greater than 255, it will be set to 255
113 # 0 = deactivated
114 # 1 = activated
115 difficulty_hack = 0
116
117 # #
118 #################################################################################