| 1 |
################################################################################# |
| 2 |
# d2cs.conf - Configuration file for the diablo2 game control 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 |
################################################################################# |
| 13 |
# Server Major Settings # |
| 14 |
#-------------------------------------------------------------------------------# |
| 15 |
# # |
| 16 |
# Your realm server name # |
| 17 |
# Here you put the value of the first column from the realm line in realm.conf |
| 18 |
# Example, if you have the line |
| 19 |
# "MyRealm" "My Super Realm" <someIP>:6113 |
| 20 |
# in realm.conf then here you put realmname = "MyRealm" |
| 21 |
realmname = D2CS |
| 22 |
|
| 23 |
# This is a comma delimited list of hostnames that the server should |
| 24 |
# listen on. Generally, YOU DONT NEED TO TOUCH THIS but it might be useful |
| 25 |
# to make an internal-only server on a gateway machine for example. If the |
| 26 |
# list is not set or if it has a entry with no host component, the server will |
| 27 |
# bind to that port on all interfaces. |
| 28 |
# d2cs default listening port is 6113 |
| 29 |
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!! |
| 30 |
servaddrs = 0.0.0.0:6113 |
| 31 |
|
| 32 |
# This is a comma delimited list of game servers. Put here the IPs |
| 33 |
# (without ports) of the machines running d2gs. If you run d2gs on the same |
| 34 |
# machine as d2cs you put the IP of that machine here. |
| 35 |
# Example: gameservlist = 192.168.1.10 |
| 36 |
# (if you have a d2gs running on a machine with the IP 192.168.1.10) |
| 37 |
# |
| 38 |
# YOU MUST CHANGE THIS OR D2CS WON'T WORK PROPERLY |
| 39 |
# |
| 40 |
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!! |
| 41 |
gameservlist = <d2gs-IP>,<another-d2gs-IP> |
| 42 |
|
| 43 |
# Put here the address and port of the machine running bnetd (or pvpgn.exe). |
| 44 |
# If you run d2cs on the same machine as bnetd (or pvpgn.exe) then here you |
| 45 |
# put the IP of that machine. |
| 46 |
# |
| 47 |
# YOU MUST CHANGE THIS OR D2CS WON'T WORK PROPERLY |
| 48 |
# |
| 49 |
# bnetd default listening port is 6112 |
| 50 |
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!! |
| 51 |
bnetdaddr = <bnetd-IP>:6112 |
| 52 |
|
| 53 |
# Set this to the maximum number of concurrent connections allowed on |
| 54 |
# this server. DO NOT TOUCH UNLESS STRICTLY NECESSARY! |
| 55 |
max_connections = 1000 |
| 56 |
|
| 57 |
# This sets the realm to Classic or LOD or Both |
| 58 |
# Classic = 0 |
| 59 |
# LOD = 1 |
| 60 |
# Both = 2 (default) |
| 61 |
lod_realm = 2 |
| 62 |
|
| 63 |
# This sets whether you can convert a clasic char to |
| 64 |
# an expansion char. |
| 65 |
# Allow Convert = 1 |
| 66 |
# Don't allow Convert = 0 |
| 67 |
allow_convert = 0 |
| 68 |
|
| 69 |
# here u can enter the symbols allowed in accountnames (additional to |
| 70 |
# alphanumerical symbals which are always accepted). please note that |
| 71 |
# it is absolutly mandatory that u set up the same symbols here as in |
| 72 |
# bnetd.conf or else u wont be able to play D2 with some characters |
| 73 |
# (those whose symbols are allowed in bnetd.conf but not here) |
| 74 |
# same warnings as in bnetd.conf apply here - be warned - and just |
| 75 |
# change something if you know what you are doing |
| 76 |
#default setting is "-_[]" |
| 77 |
account_allowed_symbols = "-_[]" |
| 78 |
|
| 79 |
# # |
| 80 |
################################################################################# |
| 81 |
|
| 82 |
################################################################################# |
| 83 |
# Message logs # |
| 84 |
#-------------------------------------------------------------------------------# |
| 85 |
# Multiple log levels can be defined by connecting them with a comma (,) |
| 86 |
# Available loglevels are: |
| 87 |
# none |
| 88 |
# trace |
| 89 |
# debug |
| 90 |
# info |
| 91 |
# warn |
| 92 |
# error |
| 93 |
# fatal |
| 94 |
#loglevels = fatal,error,warn,info |
| 95 |
loglevels = fatal,error,warn,info,debug,trace |
| 96 |
|
| 97 |
# # |
| 98 |
################################################################################# |
| 99 |
|
| 100 |
################################################################################# |
| 101 |
# File and Path section # |
| 102 |
# Use absolute paths in these lines to avoid problems! # |
| 103 |
#-------------------------------------------------------------------------------# |
| 104 |
# # |
| 105 |
logfile = var\d2cs.log |
| 106 |
charsavedir = var\charsave |
| 107 |
charinfodir = var\charinfo |
| 108 |
bak_charsavedir = var\bak\charsave |
| 109 |
bak_charinfodir = var\bak\charinfo |
| 110 |
ladderdir = var\ladders |
| 111 |
transfile = conf\address_translation.conf |
| 112 |
d2gsconffile = conf\d2server.ini |
| 113 |
#pidfile = var\d2cs.pid |
| 114 |
|
| 115 |
# d2s template for a new created characters |
| 116 |
newbiefile_amazon = files\newbie.save |
| 117 |
newbiefile_sorceress = files\newbie.save |
| 118 |
newbiefile_necromancer = files\newbie.save |
| 119 |
newbiefile_paladin = files\newbie.save |
| 120 |
newbiefile_barbarian = files\newbie.save |
| 121 |
newbiefile_druid = files\newbie.save |
| 122 |
newbiefile_assasin = files\newbie.save |
| 123 |
# # |
| 124 |
################################################################################# |
| 125 |
|
| 126 |
################################################################################# |
| 127 |
# Misc # |
| 128 |
#-------------------------------------------------------------------------------# |
| 129 |
# # |
| 130 |
# Message Of The Day |
| 131 |
motd = "No Message Of The Day Set" |
| 132 |
|
| 133 |
# Set to non-zero to allow creation of new realm character |
| 134 |
allow_newchar = 1 |
| 135 |
|
| 136 |
# Do you want d2cs to check client for multilogin for security reason? |
| 137 |
check_multilogin = 0 |
| 138 |
|
| 139 |
# Maxinum number of character per account |
| 140 |
# Max allowed value is 18 (enforced by server) |
| 141 |
maxchar = 8 |
| 142 |
|
| 143 |
# Character sorting. Options are: level, mtime, name, none. (none assumed if |
| 144 |
# not specified). |
| 145 |
#charlist_sort = "none" |
| 146 |
|
| 147 |
# Do we need ascending or descending order for charlist? |
| 148 |
#charlist_sort_order = "ASC" |
| 149 |
|
| 150 |
# Maxinum number of games will be shown in join game list |
| 151 |
# Zero = infinite |
| 152 |
maxgamelist = 20 |
| 153 |
|
| 154 |
# Set to non-zero to allow show all games with difficulty < character difficulty |
| 155 |
# Otherwise, only game with difficulty = character difficulty will be shown |
| 156 |
gamelist_showall = 0 |
| 157 |
|
| 158 |
# Maxinum time in seconds that a user can idle |
| 159 |
# Zero = infinite |
| 160 |
idletime = 3600 |
| 161 |
|
| 162 |
# Amount of time to delay shutting down server in seconds. |
| 163 |
shutdown_delay = 300 |
| 164 |
|
| 165 |
# Amount of time delay period is decremented by either a SIGTERM or SIGINT |
| 166 |
# (control-c) signal in seconds. |
| 167 |
shutdown_decr = 60 |
| 168 |
# |
| 169 |
################################################################################# |
| 170 |
|
| 171 |
|
| 172 |
################################################################################# |
| 173 |
# Internal System Settings # |
| 174 |
# You may just ignore them and use the default value # |
| 175 |
#-------------------------------------------------------------------------------# |
| 176 |
# |
| 177 |
# How often will the server purge all list to clean unused data (in seconds) |
| 178 |
listpurgeinterval = 300 |
| 179 |
|
| 180 |
# How often will the server check game queues (in seconds) |
| 181 |
gqcheckinterval = 60 |
| 182 |
|
| 183 |
# How often will the server retry to connect to bnetd |
| 184 |
# when connection lost (in seconds) |
| 185 |
s2s_retryinterval = 10 |
| 186 |
|
| 187 |
# How long time the s2s connection will timeout |
| 188 |
s2s_timeout = 10 |
| 189 |
|
| 190 |
# How often the server will check server queues for expired data |
| 191 |
sq_checkinterval = 300 |
| 192 |
|
| 193 |
# How long time will a server queue data expire |
| 194 |
sq_timeout = 300 |
| 195 |
|
| 196 |
# Game serer binary files checksum, use zero to skip this checking |
| 197 |
d2gs_checksum = 0 |
| 198 |
|
| 199 |
# Game server version, use zero to skip this checking |
| 200 |
d2gs_version = 0 |
| 201 |
|
| 202 |
# Game server password |
| 203 |
d2gs_password = "" |
| 204 |
|
| 205 |
# Maxinum number of second that a game will be shown on list( zero = infinite ) |
| 206 |
game_maxlifetime = 0 |
| 207 |
|
| 208 |
# Maximum level allowed in this (realm) game. |
| 209 |
# Normal games have a max level 99, while the internal field size limit is 255. |
| 210 |
# Extreme game MODs may have higher values, but be warned: |
| 211 |
# !!! Use them at your own risk !!! |
| 212 |
# game_maxlevel = 255 |
| 213 |
|
| 214 |
# A game will be automatically destroied after how long time idle |
| 215 |
max_game_idletime = 0 |
| 216 |
|
| 217 |
# Allow Limitation created game with password, player number or level limit? |
| 218 |
allow_gamelimit = 1 |
| 219 |
|
| 220 |
# Ladder refresh time |
| 221 |
ladder_refresh_interval = 3600 |
| 222 |
|
| 223 |
# server to server connection max idle time in seconds |
| 224 |
s2s_idletime = 300 |
| 225 |
|
| 226 |
# server to server connection keepalive interval |
| 227 |
s2s_keepalive_interval = 60 |
| 228 |
|
| 229 |
# all connection timeout check interval |
| 230 |
timeout_checkinterval = 60 |
| 231 |
|
| 232 |
# game server restart interval |
| 233 |
# when sending SIGUSR2 signal to your d2cs this issues a restart |
| 234 |
# of all connected d2gs after d2gs_restart_delay seconds |
| 235 |
d2gs_restart_delay = 300 |
| 236 |
|
| 237 |
# ladder start time |
| 238 |
# format: yyyy-mm-dd hh:mm:ss |
| 239 |
# be carefull: |
| 240 |
# all chars created before this date will revert to non-ladder chars |
| 241 |
ladder_start_time = "" |
| 242 |
|
| 243 |
# number of days before a char expires (default 0=unlimited) |
| 244 |
char_expire_day = 0 |
| 245 |
|
| 246 |
# |
| 247 |
################################################################################# |