Debian Codegraph @

conf/d2dbs.conf.win32

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 = var\d2dbs.log
58 logfile-gs = var\d2dbs-gs.log
59 charsavedir = var\charsave
60 charinfodir = var\charinfo
61 ladderdir = var\ladders
62 bak_charsavedir = var\bak\charsave
63 bak_charinfodir = var\bak\charinfo
64 #pidfile = var\d2d2s.pid
65 # #
66 #################################################################################
67
68 #################################################################################
69 # Misc #
70 #-------------------------------------------------------------------------------#
71 # #
72 # Ladder save interval
73 laddersave_interval = 3600
74
75 # Time that allow characters create after it insert into ladder
76 # These code should be rewritted to support string formmated time
77 ladderinit_time = 0
78
79 # create extra ladder file in XML format that can be parsed more easy
80 # 0 = turn extra output off (default)
81 # 1 = turn on the XML output
82 XML_ladder_output = 0
83
84 # Amount of time to delay shutting down server in seconds.
85 shutdown_delay = 360
86
87 # Amount of time delay period is decremented by either a SIGTERM or SIGINT
88 # (control-c) signal in seconds.
89 shutdown_decr = 60
90
91 # connection max idle time in seconds
92 idletime = 300
93
94 # connection keep alive interval
95 keepalive_interval = 60
96
97 # connection time out check interval
98 timeout_checkinterval = 60
99
100 # experience threshold, minimum experience needed to register on the ladder
101 ladderupdate_threshold = 0
102
103 # What chars will be added to ladder?
104 # 0 = ladder and non-ladder chars
105 # 1 = only ladder chars
106 ladder_chars_only = 1
107
108 # This setting activates a workaround for the well known "Lvl 100" bug.
109 # It should be activated for mods where the max level is greater than 99.
110 # Activating this should work for mods with any max level
111 # If level is greater than 255, it will be set to 255
112 # 0 = deactivated
113 # 1 = activated
114 difficulty_hack = 0
115
116 # #
117 #################################################################################