| 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 |
realmname = D2CS
|
| 18 |
|
| 19 |
# This is a comma delimited list of hostnames that the server should
|
| 20 |
# listen on. It might be useful to make an internal-only server on a
|
| 21 |
# gateway machine for example. If the list is not set or if it has a
|
| 22 |
# entry with no host component, the server will bind to that port on all
|
| 23 |
# interfaces.
|
| 24 |
# d2cs default listening port is 6113
|
| 25 |
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
|
| 26 |
servaddrs = 0.0.0.0:6113
|
| 27 |
|
| 28 |
# This is a comma delimited list of game servers
|
| 29 |
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
|
| 30 |
#gameservlist = your.gameserver,another.gameserver
|
| 31 |
|
| 32 |
# This is bnetd server address with port
|
| 33 |
# bnetd default listening port is 6112
|
| 34 |
# WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
|
| 35 |
#bnetdaddr = xxx.xxx.xxx.xxx:6112
|
| 36 |
|
| 37 |
# Set this to the maximum number of concurrent connections allowed on
|
| 38 |
# this server.
|
| 39 |
max_connections = 1000
|
| 40 |
|
| 41 |
# This sets the realm to Classic or LOD or Both
|
| 42 |
# Classic = 0
|
| 43 |
# LOD = 1
|
| 44 |
# Both = 2 (default)
|
| 45 |
lod_realm = 2
|
| 46 |
|
| 47 |
# This sets whether you can convert a clasic char to
|
| 48 |
# an expansion char.
|
| 49 |
# Allow Convert = 1
|
| 50 |
# Don't allow Convert = 0
|
| 51 |
allow_convert = 0
|
| 52 |
|
| 53 |
# here u can enter the symbols allowed in accountnames (additional to
|
| 54 |
# alphanumerical symbals which are always accepted). please note that
|
| 55 |
# it is absolutly mandatory that u set up the same symbols here as in
|
| 56 |
# bnetd.conf or else u wont be able to play D2 with some characters
|
| 57 |
# (those whose symbols are allowed in bnetd.conf but not here)
|
| 58 |
# same warnings as in bnetd.conf apply here - be warned - and just
|
| 59 |
# change something if you know what you are doing
|
| 60 |
#default setting is "-_[]"
|
| 61 |
account_allowed_symbols = "-_[]"
|
| 62 |
|
| 63 |
# #
|
| 64 |
#################################################################################
|
| 65 |
|
| 66 |
#################################################################################
|
| 67 |
# Message logs #
|
| 68 |
#-------------------------------------------------------------------------------#
|
| 69 |
# Multiple log levels can be defined by connecting them with a comma (,)
|
| 70 |
# Available loglevels are:
|
| 71 |
# none
|
| 72 |
# trace
|
| 73 |
# debug
|
| 74 |
# info
|
| 75 |
# warn
|
| 76 |
# error
|
| 77 |
# fatal
|
| 78 |
#loglevels = fatal,error,warn,info
|
| 79 |
loglevels = fatal,error,warn,info,debug,trace
|
| 80 |
|
| 81 |
# #
|
| 82 |
#################################################################################
|
| 83 |
|
| 84 |
#################################################################################
|
| 85 |
# File and Path section #
|
| 86 |
# Use absolute paths in these lines to avoid problems! #
|
| 87 |
#-------------------------------------------------------------------------------#
|
| 88 |
# #
|
| 89 |
logfile = var\d2cs.log
|
| 90 |
charsavedir = var\charsave
|
| 91 |
charinfodir = var\charinfo
|
| 92 |
bak_charsavedir = var\bak\charsave
|
| 93 |
bak_charinfodir = var\bak\charinfo
|
| 94 |
ladderdir = var\ladders
|
| 95 |
newbiefile = files\newbie.save
|
| 96 |
transfile = conf\address_translation.conf
|
| 97 |
d2gsconffile = conf\d2server.ini
|
| 98 |
# #
|
| 99 |
#################################################################################
|
| 100 |
|
| 101 |
#################################################################################
|
| 102 |
# Misc #
|
| 103 |
#-------------------------------------------------------------------------------#
|
| 104 |
# #
|
| 105 |
# Message Of The Day, support hexcode
|
| 106 |
motd = "Tips: How to use color in your profile(Right click on your portrait to open pr ofile editing). Use \\\\xffc as Prefix (\\\\xff means ascii code 0xff,but you should use copy/paste trick to in put it, c means character 'c'. Color also works in game chat,but have input limit). Then append the Color chara cter list below: \\xffc0White '0' \\xffc1Red '1' \\xffc2Green '2' \\xffc3Blue '3' \\xffc4Gold '4' \\xffc5Gray '5' Black '6' \\xffc7DarkYellow '7' \\xffc8Orange '8' \\xffc9Yellow '9' \\xffc:DarkGreen ':' \\xffc;Purple ';' \\xffc<LightDarkGreen '<'"
|
| 107 |
|
| 108 |
# Set to non-zero to allow creation of new realm character
|
| 109 |
allow_newchar = 1
|
| 110 |
|
| 111 |
# Do you want d2cs to check client for multilogin for security reason?
|
| 112 |
check_multilogin = 0
|
| 113 |
|
| 114 |
# Maxinum number of character per account
|
| 115 |
# Max allowed value is 21 (enforced by server)
|
| 116 |
maxchar = 8
|
| 117 |
|
| 118 |
# Character sorting. Options are: level, mtime, name, none. (none assumed if
|
| 119 |
# not specified).
|
| 120 |
#charlist_sort = "none"
|
| 121 |
|
| 122 |
# Do we need ascending or descending order for charlist?
|
| 123 |
#charlist_sort_order = "ASC"
|
| 124 |
|
| 125 |
# Maxinum number of games will be shown in join game list
|
| 126 |
# Zero = infinite
|
| 127 |
maxgamelist = 20
|
| 128 |
|
| 129 |
# Set to non-zero to allow show all games with difficulty < character difficulty
|
| 130 |
# Otherwise, only game with difficulty = character difficulty will be shown
|
| 131 |
gamelist_showall = 0
|
| 132 |
|
| 133 |
# Maxinum time in seconds that a user can idle
|
| 134 |
# Zero = infinite
|
| 135 |
idletime = 3600
|
| 136 |
|
| 137 |
# Amount of time to delay shutting down server in seconds.
|
| 138 |
shutdown_delay = 300
|
| 139 |
|
| 140 |
# Amount of time delay period is decremented by either a SIGTERM or SIGINT
|
| 141 |
# (control-c) signal in seconds.
|
| 142 |
shutdown_decr = 60
|
| 143 |
#
|
| 144 |
#################################################################################
|
| 145 |
|
| 146 |
|
| 147 |
#################################################################################
|
| 148 |
# Internal System Settings #
|
| 149 |
# You may just ignore them and use the default value #
|
| 150 |
#-------------------------------------------------------------------------------#
|
| 151 |
#
|
| 152 |
# How often will the server purge all list to clean unused data (in seconds)
|
| 153 |
listpurgeinterval = 300
|
| 154 |
|
| 155 |
# How often will the server check game queues (in seconds)
|
| 156 |
gqcheckinterval = 60
|
| 157 |
|
| 158 |
# How often will the server retry to connect to bnetd
|
| 159 |
# when connection lost (in seconds)
|
| 160 |
s2s_retryinterval = 10
|
| 161 |
|
| 162 |
# How long time the s2s connection will timeout
|
| 163 |
s2s_timeout = 10
|
| 164 |
|
| 165 |
# How often the server will check server queues for expired data
|
| 166 |
sq_checkinterval = 300
|
| 167 |
|
| 168 |
# How long time will a server queue data expire
|
| 169 |
sq_timeout = 300
|
| 170 |
|
| 171 |
# Game serer binary files checksum, use zero to skip this checking
|
| 172 |
d2gs_checksum = 0
|
| 173 |
|
| 174 |
# Game server version, use zero to skip this checking
|
| 175 |
d2gs_version = 0
|
| 176 |
|
| 177 |
# Game server password
|
| 178 |
d2gs_password = ""
|
| 179 |
|
| 180 |
# Maxinum number of second that a game will be shown on list( zero = infinite )
|
| 181 |
game_maxlifetime = 0
|
| 182 |
|
| 183 |
# A game will be automatically destroied after how long time idle
|
| 184 |
max_game_idletime = 0
|
| 185 |
|
| 186 |
# Allow Limitation created game with password, player number or level limit?
|
| 187 |
allow_gamelimit = 1
|
| 188 |
|
| 189 |
# Ladder refresh time
|
| 190 |
ladder_refresh_interval = 3600
|
| 191 |
|
| 192 |
# server to server connection max idle time in seconds
|
| 193 |
s2s_idletime = 300
|
| 194 |
|
| 195 |
# server to server connection keepalive interval
|
| 196 |
s2s_keepalive_interval = 60
|
| 197 |
|
| 198 |
# all connection timeout check interval
|
| 199 |
timeout_checkinterval = 60
|
| 200 |
|
| 201 |
# game server restart interval
|
| 202 |
# when sending SIGUSR2 signal to your d2cs this issues a restart
|
| 203 |
# of all connected d2gs after d2gs_restart_delay seconds
|
| 204 |
d2gs_restart_delay = 300
|
| 205 |
|
| 206 |
# ladder start time
|
| 207 |
# format: yyyy-mm-dd hh:mm:ss
|
| 208 |
# be carefull:
|
| 209 |
# all chars created before this date will revert to non-ladder chars
|
| 210 |
ladder_start_time = ""
|
| 211 |
|
| 212 |
# number of days before a char expires (default 0=unlimited)
|
| 213 |
char_expire_day = 0
|
| 214 |
|
| 215 |
#
|
| 216 |
#################################################################################
|