Advertisement
Guest User

Untitled

a guest
Jun 7th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.49 KB | None | 0 0
  1. ##############################################################################
  2. # bnetd.conf - Configuration file for the Unix Battle.net daemon #
  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. # Storage section #
  14. # storage_path will tell pvpgn how and where from/to to read/write accounts #
  15. # right now it supports 2 "drivers" : file and sql #
  16. # #
  17. # Syntax: #
  18. # * for plain file driver: #
  19. # storage_path = file:mode=plain;dir=<path_to_user_files>;clan=<path_to_clan_files>;team=<path_to_team_files>;default=/path/to/default/account #
  20. # * for cdb file driver: #
  21. # storage_path = file:mode=cdb;dir=<path_to_cdb_files>;clan=<path_to_clan_files>;team=<path_to_team_files>;default=/path/to/default/account #
  22. # * for sql/sql2 driver: #
  23. # storage_path = sql:variable=value;...;default=0 (0 is the default uid) #
  24. # or storage_path = sql2:variable=value;...;default=0 (0 is the default uid) #
  25. # #
  26. # Variables for sql/sql2 can be: #
  27. # - "mode" : tells PVPGN the sql mode you will use (mysql/pgsql/etc..) #
  28. # - "host" : the database host #
  29. # - "port" : the TCP/IP port if needed #
  30. # - "socket" : the UNIX local socket if needed #
  31. # - "name" : database name #
  32. # - "user" : db username #
  33. # - "pass" : db password #
  34. # - "default" : specify the UID to use for the default account data #
  35. # - "prefix" : prefix to use for all pvpgn tables (default "") #
  36. # #
  37. # Examples: #
  38. # storage_path = file:mode=plain;dir=var\users;clan=var\clans;team=var\teams\;default=conf\bnetd_default_user.plain
  39. # storage_path = file:mode=cdb;dir=var\userscdb;clan=var\clans;team=var\teams\;default=conf\bnetd_default_user.cdb
  40. # storage_path = sql:mode=mysql;host=127.0.0.1;name=PVPGN;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn_
  41. # storage_path = sql:mode=pgsql;host=127.0.0.1;name=pvpgn;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn_
  42. # storage_path = sql:mode=sqlite3;name=var\users.db;default=0;prefix=pvpgn_
  43. # storage_path = sql:mode=odbc;name=PVPGN;prefix=pvpgn_
  44. # storage_path = sql2:mode=mysql;host=127.0.0.1;name=PVPGN;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn_
  45. # storage_path = sql2:mode=pgsql;host=127.0.0.1;name=pvpgn;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn_
  46. # storage_path = sql2:mode=sqlite3;name=var\users.db;default=0;prefix=pvpgn_
  47. # storage_path = sql2:mode=odbc;name=PVPGN;prefix=pvpgn_
  48. #----------------------------------------------------------------------------#
  49.  
  50. #storage_path = file:mode=plain;dir=var\users;clan=var\clans;team=var\teams;default=conf\bnetd_default_user.plain
  51. storage_path = sql:mode=mysql;host=localhost;name=bnet;user=root;pass=;default=0
  52.  
  53. # #
  54. ##############################################################################
  55.  
  56. ##############################################################################
  57. # File section #
  58. # The pidfile can be set to "" to turn it off. #
  59. # Use absolute paths in these lines to avoid problems! #
  60. #----------------------------------------------------------------------------#
  61.  
  62. filedir = files
  63. reportdir = var\reports
  64. chanlogdir = var\chanlogs
  65. motdfile = conf\bnmotd.txt
  66. issuefile = conf\bnissue.txt
  67. channelfile = conf\channel.conf
  68. newsfile = conf\news.txt
  69. adfile = conf\ad.conf
  70. topicfile = conf\topics.conf
  71. ipbanfile = conf\bnban.conf
  72. helpfile = conf\bnhelp.conf
  73. transfile = conf\address_translation.conf
  74. mpqfile = conf\autoupdate.conf
  75. logfile = var\bnetd.log
  76. realmfile = conf\realm.conf
  77. versioncheck_file = conf\versioncheck.conf
  78. mapsfile = conf\bnmaps.conf
  79. xplevelfile = conf\bnxplevel.conf
  80. xpcalcfile = conf\bnxpcalc.conf
  81. #pidfile = var\bnetd.pid
  82. ladderdir = var\ladders
  83. command_groups_file = conf\command_groups.conf
  84. statusdir = var\status
  85. aliasfile = conf\bnalias.conf
  86. anongame_infos_file = conf\anongame_infos.conf
  87. DBlayoutfile = conf\sql_DB_layout.conf
  88. supportfile = conf\supportfile.conf
  89.  
  90. fortunecmd = bin\fortune.exe
  91.  
  92. # #
  93. ##############################################################################
  94.  
  95.  
  96. ##############################################################################
  97. # Message logs #
  98. #----------------------------------------------------------------------------#
  99.  
  100. # Multiple log levels can be defined by connecting them with a comma (,)
  101. # Available loglevels are:
  102. # none
  103. # trace
  104. # debug
  105. # info
  106. # warn
  107. # error
  108. # fatal
  109. #loglevels = fatal,error,warn,info,debug,trace
  110. loglevels = fatal,error
  111.  
  112. # #
  113. ##############################################################################
  114.  
  115.  
  116. ##############################################################################
  117. # D2CS realm server settings #
  118. #----------------------------------------------------------------------------#
  119.  
  120. # Version of D2CS server to connect with (set to zero to disable version check)
  121. d2cs_version = 0
  122.  
  123. # Allow the D2CS server to change realm names?
  124. allow_d2cs_setname = true
  125.  
  126. # #
  127. ##############################################################################
  128.  
  129.  
  130. ##############################################################################
  131. # Downloadable files #
  132. #----------------------------------------------------------------------------#
  133.  
  134. # These filenames are reported directly to the client and are relative to
  135. # the "filedir" directory specified above.
  136. iconfile = "icons.bni"
  137. war3_iconfile = "icons-WAR3.bni"
  138. star_iconfile = "icons_STAR.bni"
  139.  
  140. tosfile = "tos.txt"
  141.  
  142. # #
  143. ##############################################################################
  144.  
  145.  
  146. ##############################################################################
  147. # Client verification and upgrades #
  148. #----------------------------------------------------------------------------#
  149.  
  150. # This option lists the client types allowed to connect (only valid for
  151. # the bnet protocol). The list is a comma separated list of any of the
  152. # following elements:
  153. # all : all client types allowed (default)
  154. # chat : client type "CHAT" allowed (used by some bot software)
  155. # dshr : client type Diablo 1 Shareware
  156. # drtl : client type Diablo 1 (Retail)
  157. # sshr : client type Starcraft Shareware
  158. # star : client type Starcraft
  159. # sexp : client type Starcraft Broodwar
  160. # w2bn : client type Warcraft II Battle.Net Edition
  161. # d2dv : client type Diablo 2
  162. # d2xp : client type Diablo 2 LOD
  163. # war3 : client type Warcraft III (Reign Of Chaos)
  164. # w3xp : client type Warcraft III Frozen Throne
  165. #
  166. # Example: allowed_clients = war3,w3xp
  167. allowed_clients = all
  168.  
  169. # If this option is enabled, the verification step is skipped if possible.
  170. # This only works with clients < 109. It is useful because you no longer
  171. # need any of the IX86AUTH?.MPQ and PMACAUTH?.MPQ files. Note that it will
  172. # also skip over all the autoupdate checks effectively disabling it.
  173. #
  174. # If you disable this you must have one or more of the MPQ files. Otherwise
  175. # clients will hang when they first connect because they are attempting to
  176. # download them. The versioncheck can only be skipped for clients older
  177. # than 109. Starting with version 109 the clients will always do version
  178. # checking since they do not function properly if the server does not
  179. # request it.
  180. skip_versioncheck = false
  181.  
  182. # If you enable the version checks but want to allow clients that don't pass
  183. # the checksum test then enable this.
  184. allow_bad_version = false
  185.  
  186. # If you enable the version checks but want to allow clients that aren't
  187. # listed in the versioncheck configuration file then enable this. Unless
  188. # you have a very complete file or are very paranoid about cheaters this
  189. # is a good idea.
  190. allow_unknown_version = true
  191.  
  192. # This defines how the exeinfo field in the versioncheck file is being
  193. # checked. You can choose between no match at all [none] (default),
  194. # exact match [exact], exact case-sensitive match [exactcase], dumb wildcard
  195. # match [wildcard], and parsed value comparison [parse].
  196. # NOTE: [parse] needs the mktime() function and might therefore not work on
  197. # every system.
  198. version_exeinfo_match = none
  199.  
  200. # If you have choosen [parse] above, this is the tolerance with which
  201. # the time can differ. The value must be given in seconds. If it's 0 this
  202. # check is disabled.
  203. version_exeinfo_maxdiff = 0
  204.  
  205. # #
  206. ##############################################################################
  207.  
  208.  
  209. ##############################################################################
  210. # Time values #
  211. #----------------------------------------------------------------------------#
  212.  
  213. # Time in seconds between account file updates, 0 means wait forever.
  214. usersync = 300
  215. # Number of seconds of inactivity before file is unloaded from memory.
  216. # (only checked during account file updates)
  217. userflush = 1200
  218. # Number of users checked for updates at once. Higher values make sense if you
  219. # either have very fast hardware or you don't have many number of accounts.
  220. # Lower values make sense if you have very high CPU usage on the system you run
  221. # the server (dont make it too low or your system will save accounts continously).
  222. # Modify this value ONLY if you know what you are doing!!
  223. userstep = 100
  224.  
  225. # How often to send user latency tests in seconds.
  226. latency = 600
  227.  
  228. # How often to send null or keepalive packets in seconds.
  229. nullmsg = 120
  230.  
  231. # Amount of time to delay shutting down server in seconds.
  232. shutdown_delay = 300
  233. # Amount of time delay period is decremented by either a SIGTERM or SIGINT
  234. # (control-c) signal in seconds.
  235. shutdown_decr = 60
  236.  
  237. # How often should bans be checked for expiration? (in seconds)
  238. #ipban_check_int = 30
  239.  
  240. # #
  241. ##############################################################################
  242.  
  243.  
  244. ##############################################################################
  245. # Policy options #
  246. #----------------------------------------------------------------------------#
  247.  
  248. # If you don't want people to be able to create new accounts, set this to
  249. # false.
  250. new_accounts = true
  251.  
  252. # Set this to the maximum number of accounts you want to allow to be
  253. # created on your server. A value of 0 means infinite and is the default.
  254. #max_accounts = 0
  255.  
  256. # If someone attempts to log in more than once, should it kick off the old
  257. # login, or deny the new one?
  258. kick_old_login = true
  259. #kick_old_login = false
  260. # With no passwords, this is bad to have enabled --NonReal
  261.  
  262. # load_new_account option has been eliminated and the functionality now is
  263. # always active in PvPGN
  264.  
  265. # If a user is creating a new channel, should it be added automatically, or
  266. # prompt them first?
  267. ask_new_channel = true
  268.  
  269. # Should a game report be written for every game played or just ladder
  270. # games?
  271. #report_all_games = false
  272. report_all_games = true
  273.  
  274. # Should Diablo I/II reports be written? There are no winners/losers.
  275. report_diablo_games = false
  276.  
  277. # Should games with passwords be hidden on the game list?
  278. hide_pass_games = true
  279.  
  280. # Should games already started be hidden on the game list? (for heavily
  281. # loaded servers)
  282. hide_started_games = true
  283.  
  284. # Should non-permanent channels hidden on the channel list?
  285. hide_temp_channels = true
  286.  
  287. # Should the extended /-commands be avaliable? (of course!)
  288. extra_commands = true
  289.  
  290. # Should any and all disconnects to be counted as losses?
  291. # (Turning this on will override the user's choice in ladder games!)
  292. disc_is_loss = false
  293.  
  294. # List additional game types to be counted as ladder games
  295. # Curently allowed types: topvbot, melee, ffa, oneonone
  296. # Example: ladder_games = "topvbot,oneonone"
  297. ladder_games = "none"
  298.  
  299. # If additional game types are configured (see above) to be counted as ladder
  300. # games then this setting configures a game name prefix to make only games
  301. # which match this game name prefix be counted as ladder. This allows to
  302. # still have normal games of the game types configured with "ladder_games"
  303. # directive. However if this setting is commented or "" then ALL games
  304. # which match the game types configured with "ladder_games" are to be
  305. # considered as ladder games. The prefix checking is CASE SENSITIVE!
  306. # Example: ladder_prefix = "ldr_"
  307. ladder_prefix = ""
  308.  
  309. # Should all users be able to use the /con and /connections commands?
  310. enable_conn_all = true
  311.  
  312. # Should client IP addresses (from /con, /games, /gameinfo, /netinfo)
  313. # be hidden from non-admins?
  314. hide_addr = false
  315.  
  316. # Should private channel messages be logged to files in the chanlogdir
  317. # directory? (see channels.list for public channels)
  318. chanlog = false
  319.  
  320. # Do you want to use the channel quota feature?
  321. quota = yes
  322.  
  323. # The following options deal with flood prevention.
  324. #
  325. # How many lines do you accept in quota_time seconds?
  326. # (The default should allow 5 lines in 5 seconds,
  327. # longer time periods allow "bursts" of traffic before the quota is full.)
  328. quota_lines = 5 # must be between 1 and 100 lines
  329. quota_time = 5 # must be between 1 and 60 seconds
  330. # "virtual wrapping", so long lines count as multiple lines
  331. quota_wrapline = 40 # must be between 1 to 256 chars
  332. # absolute maximum characters allowed in a line
  333. quota_maxline = 200 # must be between 1 to 256 chars
  334. #
  335. # How many lines do you accept in quota_time seconds before user is
  336. # disconnected?
  337. # (According to Jung-woo, Dobae is a Korean term for flooding the game server...
  338. # it originally meant "to paint the wallpaper on a new or refurbished house").
  339. # If it less than or equal to quota_lines, there is no warning before
  340. # disconnection so don't set this too low.
  341. quota_dobae = 10 # must be between 1 and 100 lines
  342.  
  343. # Mail support
  344. mail_support = true
  345. mail_quota = 5
  346.  
  347. # Channel logging message
  348. log_notice = "*** Please note this channel is logged! ***"
  349.  
  350. # Ban on repeated password fails against bruteforce password thieves
  351. # Fails required to get ip banned (0 to disable ban on password fail)
  352. passfail_count = 0
  353.  
  354. # Password fail IP ban duration (in seconds)
  355. passfail_bantime = 300
  356.  
  357. # Max users limit in private channels (0 = unlimited)
  358. maxusers_per_channel = 0
  359.  
  360. # #
  361. ##############################################################################
  362.  
  363.  
  364. ##############################################################################
  365. # Account configuration #
  366. #----------------------------------------------------------------------------#
  367.  
  368. # Should account files be named by the account number or the player name?
  369. savebyname = true
  370.  
  371. # Save the account data on logoff
  372. sync_on_logoff = false
  373.  
  374. # How man rows should the account lookup hash table have? Servers with
  375. # more accounts should use a larger table for better performance.
  376. hashtable_size = 61
  377.  
  378. # Per default, only alphanumerical symbols are allowed in account names
  379. # with this variable you can add some extra symbols to be allowed
  380. # but be warned - that some of them might cause trouble - at least with
  381. # savebyname=true (some symbols are forbidden in filenames or might cause
  382. # you real trouble - plz neither allow wildcard symbols like '*' or '?'.
  383. # Path delimiters like '/' or '\' are hardcoded filtered and can't be allowed.
  384. # Also note that allowing the '.' might cause u some headache on win32 systems.
  385. # You have been warned - the rest is up to you.
  386. # default setting is "-_[]" as it was previous versions
  387. account_allowed_symbols = "-_[]"
  388.  
  389. # This setting affects users that login with their uid rather than their
  390. # username. If set to true their displayed username will be forcefully
  391. # converted to their registered account name.
  392. account_force_username = false
  393.  
  394. # maximum number of friends a user can add to there friends list
  395. # default setting is 20
  396. max_friends = 20
  397.  
  398. # #
  399. ##############################################################################
  400.  
  401.  
  402. ##############################################################################
  403. # Tracking server info #
  404. #----------------------------------------------------------------------------#
  405.  
  406. # Set track=0 to disable tracking. Any other number will set number
  407. # of seconds between sending tracking packets. This is OFF by default.
  408. #track = 0
  409. track = 60
  410. # 10 minutes
  411.  
  412. # Tracking server(s)
  413. # Use a comma delimited list of hostnames with optional UDP port numbers
  414. # after colons. (port 6114 is the default for the newer tracking protocol)
  415. #trackaddrs = "track.bnetd.org,localhost:9999"
  416. #trackaddrs = "track.pvpgn.org"
  417.  
  418. # Change these to match your system, for example:
  419. location = "unknown"
  420. description = "unknown"
  421. url = "unknown"
  422. contact_name = "a PvPGN user"
  423. contact_email = "unknown"
  424.  
  425. # #
  426. ##############################################################################
  427.  
  428.  
  429. ##############################################################################
  430. # Server network info #
  431. #----------------------------------------------------------------------------#
  432.  
  433. # Servername by which the server identifies itself (default: "PvPGN Realm")
  434. servername = "PvPGN Realm2"
  435.  
  436. # Set this to the maximum number of concurrent connections allowed on
  437. # this server (minimum 32). This limit sets a general server connection
  438. # limit, NOT the concurrent user limit (for that see next option)
  439. max_connections = 1000
  440.  
  441. # Maximum number of concurrent users (0 means unlimited).
  442. max_concurrent_logins = 0
  443.  
  444. # Set this option to true to allow TCP to detect and close stale
  445. # connections.
  446. use_keepalive = false
  447.  
  448. # Limit maximum number of connections per IP (0 = unlimited)
  449. # this feature is new, so no recommended value so far
  450. max_conns_per_IP = 0
  451.  
  452. # This is a comma delimited list of hostnames that the server should
  453. # listen on. It might be useful to make an internal-only server on a
  454. # gateway machine for example. If the list is not set or if it has a
  455. # entry with no host component, the server will bind to that port on all
  456. # interfaces.
  457. #servaddrs = ":9999"
  458. #servaddrs = "myinternalname.some.com,localhost"
  459. servaddrs = ":" # default interface (all) and default port (6112)
  460.  
  461. # Don't change these unless you really need to! You will need to run a proxy
  462. # or modify the clients. Also note that these will not change when simply
  463. # sending a HUP signal to the server; they are only read on startup.
  464.  
  465. # This is the port the server send the UDP test packets to by default.
  466. # Setting it to zero makes the server use the same port as the TCP connection
  467. # comes from. Newer clients can override this setting on a per connection
  468. # basis.
  469. #udptest_port = 6112
  470.  
  471.  
  472. # W3 Play Game router address. Just put your server address in here
  473. # or use 0.0.0.0:6200 for server to bind to all interfaces,
  474. # but make sure you set up w3trans if you do.
  475. w3routeaddr = "85.214.203.254:6200"
  476.  
  477. # w3routeshow has been removed.
  478. # see the address_translation.conf for translating the w3route ip for local networks
  479.  
  480. # initkill_timer sets up a periodic timer on init/defer class connections
  481. # this should detect and clean up stale connections to your server
  482. initkill_timer = 120
  483.  
  484. # #
  485. ##############################################################################
  486.  
  487. ##############################################################################
  488. # Westwood Online (WOL) configuration #
  489. #----------------------------------------------------------------------------#
  490.  
  491. # NOTE: WOL support is still experimental!
  492.  
  493. # This specifies the addresses where IRC connections should be accepted. See
  494. # the description of servaddrs for formatting information. Leave this field
  495. # blank if you do not want to accept IRC connections. If the port is not
  496. # specifed then 4005 will be used. Note: DO NOT SET THE PORT TO ANYTHING OTHER
  497. # THEN 4005, WOL WILL FAIL IF YOU DO!
  498. #woladdrs = ":4005"
  499.  
  500. # Just leave these as default (unless you know the timezone, longitiude and latitude
  501. # of your server
  502. woltimezone = "-8"
  503. wollongitude = "36.1083"
  504. wollatitude = "-115.0582"
  505.  
  506. # #
  507. ##############################################################################
  508.  
  509. ##############################################################################
  510. # Internet Relay Chat (IRC) configuration #
  511. #----------------------------------------------------------------------------#
  512.  
  513. # NOTE: IRC support is still experimental!
  514.  
  515. # This specifies the addresses where IRC connections should be accepted. See
  516. # the description of servaddrs for formatting information. Leave this field
  517. # blank if you do not want to accept IRC connections. If the port is not
  518. # specifed then 6667 will be used.
  519. #ircaddrs = ":6667"
  520.  
  521. # This is the IRC network name. If this is not specified then the default of
  522. # "PvPGN" will be used.
  523. #irc_network_name = "PvPGN"
  524.  
  525. # This is the hostname used for IRC connections. Set this to your
  526. # hostname, if the automatic detection doesn't correctly.
  527. #hostname = "none"
  528.  
  529. # Set this to the desired IRC connection timeout in seconds.
  530. #irc_latency = 180
  531.  
  532. # #
  533. ##############################################################################
  534.  
  535.  
  536. ##############################################################################
  537. # Telnet configuration #
  538. #----------------------------------------------------------------------------#
  539.  
  540. # This specifies the addresses where telnet connections should be accepted.
  541. # See the description of servaddrs for formatting information. Leave this
  542. # field # blank if you do not want to accept telnet connections. If the port
  543. # is not specifed then 23 will be used.
  544. #telnetaddrs = ":23"
  545.  
  546. # #
  547. ##############################################################################
  548.  
  549. ###############################################################################
  550. # war3 ladder textual output #
  551. #-----------------------------------------------------------------------------#
  552. # this is for all the guys, that want Warcraft 3 ladder, but don't want their
  553. # server to run with MySQL support.
  554. # For each ladder (solo, team, ffa, at) a corresponing file is created,
  555. # so it's easy to build your ladder pages with them
  556.  
  557. # the following value determines, at which rate, these files are created
  558. # set to 0 if you don't want or need these files
  559. war3_ladder_update_secs = 300
  560.  
  561. # jfro's latest ladder is based on XML... so we can switch to XML output of ladder
  562. # on demand. Maybe we should set update interval bigger cause XML output version
  563. # is much more verbose than the standard output
  564. XML_output_ladder = false
  565.  
  566. ###############################################################################
  567. # server status textual output #
  568. #-----------------------------------------------------------------------------#
  569. # This is for writing status of the server in an attempt to see number of user
  570. # on line actually, and games/chans.
  571. # This is store in file var\status\warcraft3.dat as a *.ini format.
  572. # Shouldn't be so hard in php to create dynamic website using this content.
  573.  
  574. # the following value determines, at which rate, these files are created
  575. # set to 0 if you don't want or need these files
  576. output_update_secs = 60
  577.  
  578. # jfro's latest ladder is based on XML... so we can switch to XML output of ladder
  579. # on demand. Maybe we should set update interval bigger cause XML output version
  580. # is much more verbose than the standard output
  581. XML_status_output = false
  582.  
  583. ###############################################################################
  584. # clan settings #
  585. #-----------------------------------------------------------------------------#
  586.  
  587. # Time in hours for a new member of clan to be a newer(Peon icon, cannot premote to Grunt)
  588. # default value 168(7 days). If set to 0, all new members could be promote in no time
  589. clan_newer_time = 0
  590.  
  591. # max members count allowed in a clan, set between 10 and 100, default 50.
  592. clan_max_members = 50
  593.  
  594. # Default clan channel status when create a clan, 1 for private, 0 for public
  595. clan_channel_default_private = 0
  596.  
  597.  
  598.  
  599. d2cs:
  600.  
  601. #################################################################################
  602. # d2cs.conf - Configuration file for the diablo2 game control server #
  603. #-------------------------------------------------------------------------------#
  604. # #
  605. # This file is an example configuration and may require modification to #
  606. # suit your needs or your site. Blank lines and lines starting with a "#" #
  607. # are ignored. Use quotes around values that contain spaces. #
  608. # #
  609. #################################################################################
  610.  
  611.  
  612. #################################################################################
  613. # Server Major Settings #
  614. #-------------------------------------------------------------------------------#
  615. # #
  616. # Your realm server name #
  617. # Here you put the value of the first column from the realm line in realm.conf
  618. # Example, if you have the line
  619. # "MyRealm" "My Super Realm" <someIP>:6113
  620. # in realm.conf then here you put realmname = "MyRealm"
  621. realmname = D2CS
  622.  
  623. # This is a comma delimited list of hostnames that the server should
  624. # listen on. Generally, YOU DONT NEED TO TOUCH THIS but it might be useful
  625. # to make an internal-only server on a gateway machine for example. If the
  626. # list is not set or if it has a entry with no host component, the server will
  627. # bind to that port on all interfaces.
  628. # d2cs default listening port is 6113
  629. # WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
  630. servaddrs = 0.0.0.0:6113
  631.  
  632. # This is a comma delimited list of game servers. Put here the IPs
  633. # (without ports) of the machines running d2gs. If you run d2gs on the same
  634. # machine as d2cs you put the IP of that machine here.
  635. # Example: gameservlist = 192.168.1.10
  636. # (if you have a d2gs running on a machine with the IP 192.168.1.10)
  637. #
  638. # YOU MUST CHANGE THIS OR D2CS WON'T WORK PROPERLY
  639. #
  640. # WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
  641. gameservlist = 85.214.203.254
  642.  
  643. # Put here the address and port of the machine running bnetd (or pvpgn.exe).
  644. # If you run d2cs on the same machine as bnetd (or pvpgn.exe) then here you
  645. # put the IP of that machine.
  646. #
  647. # YOU MUST CHANGE THIS OR D2CS WON'T WORK PROPERLY
  648. #
  649. # bnetd default listening port is 6112
  650. # WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
  651. bnetdaddr = 85.214.203.254:6112
  652.  
  653. # Set this to the maximum number of concurrent connections allowed on
  654. # this server. DO NOT TOUCH UNLESS STRICTLY NECESSARY!
  655. max_connections = 1000
  656.  
  657. # This sets the realm to Classic or LOD or Both
  658. # Classic = 0
  659. # LOD = 1
  660. # Both = 2 (default)
  661. lod_realm = 2
  662.  
  663. # This sets whether you can convert a clasic char to
  664. # an expansion char.
  665. # Allow Convert = 1
  666. # Don't allow Convert = 0
  667. allow_convert = 0
  668.  
  669. # here u can enter the symbols allowed in accountnames (additional to
  670. # alphanumerical symbals which are always accepted). please note that
  671. # it is absolutly mandatory that u set up the same symbols here as in
  672. # bnetd.conf or else u wont be able to play D2 with some characters
  673. # (those whose symbols are allowed in bnetd.conf but not here)
  674. # same warnings as in bnetd.conf apply here - be warned - and just
  675. # change something if you know what you are doing
  676. #default setting is "-_[]"
  677. account_allowed_symbols = "-_[]"
  678.  
  679. # #
  680. #################################################################################
  681.  
  682. #################################################################################
  683. # Message logs #
  684. #-------------------------------------------------------------------------------#
  685. # Multiple log levels can be defined by connecting them with a comma (,)
  686. # Available loglevels are:
  687. # none
  688. # trace
  689. # debug
  690. # info
  691. # warn
  692. # error
  693. # fatal
  694. #loglevels = fatal,error,warn,info
  695. loglevels = fatal,error,warn,info,debug,trace
  696.  
  697. # #
  698. #################################################################################
  699.  
  700. #################################################################################
  701. # File and Path section #
  702. # Use absolute paths in these lines to avoid problems! #
  703. #-------------------------------------------------------------------------------#
  704. # #
  705. logfile = var\d2cs.log
  706. charsavedir = var\charsave
  707. charinfodir = var\charinfo
  708. bak_charsavedir = var\bak\charsave
  709. bak_charinfodir = var\bak\charinfo
  710. ladderdir = var\ladders
  711. newbiefile = files\newbie.save
  712. transfile = conf\address_translation.conf
  713. d2gsconffile = conf\d2server.ini
  714. # #
  715. #################################################################################
  716.  
  717. #################################################################################
  718. # Misc #
  719. #-------------------------------------------------------------------------------#
  720. # #
  721. # Message Of The Day
  722. motd = "No Message Of The Day Set"
  723.  
  724. # Set to non-zero to allow creation of new realm character
  725. allow_newchar = 1
  726.  
  727. # Do you want d2cs to check client for multilogin for security reason?
  728. check_multilogin = 0
  729.  
  730. # Maxinum number of character per account
  731. # Max allowed value is 18 (enforced by server)
  732. maxchar = 8
  733.  
  734. # Character sorting. Options are: level, mtime, name, none. (none assumed if
  735. # not specified).
  736. #charlist_sort = "none"
  737.  
  738. # Do we need ascending or descending order for charlist?
  739. #charlist_sort_order = "ASC"
  740.  
  741. # Maxinum number of games will be shown in join game list
  742. # Zero = infinite
  743. maxgamelist = 20
  744.  
  745. # Set to non-zero to allow show all games with difficulty < character difficulty
  746. # Otherwise, only game with difficulty = character difficulty will be shown
  747. gamelist_showall = 0
  748.  
  749. # Maxinum time in seconds that a user can idle
  750. # Zero = infinite
  751. idletime = 3600
  752.  
  753. # Amount of time to delay shutting down server in seconds.
  754. shutdown_delay = 300
  755.  
  756. # Amount of time delay period is decremented by either a SIGTERM or SIGINT
  757. # (control-c) signal in seconds.
  758. shutdown_decr = 60
  759. #
  760. #################################################################################
  761.  
  762.  
  763. #################################################################################
  764. # Internal System Settings #
  765. # You may just ignore them and use the default value #
  766. #-------------------------------------------------------------------------------#
  767. #
  768. # How often will the server purge all list to clean unused data (in seconds)
  769. listpurgeinterval = 300
  770.  
  771. # How often will the server check game queues (in seconds)
  772. gqcheckinterval = 60
  773.  
  774. # How often will the server retry to connect to bnetd
  775. # when connection lost (in seconds)
  776. s2s_retryinterval = 10
  777.  
  778. # How long time the s2s connection will timeout
  779. s2s_timeout = 10
  780.  
  781. # How often the server will check server queues for expired data
  782. sq_checkinterval = 300
  783.  
  784. # How long time will a server queue data expire
  785. sq_timeout = 300
  786.  
  787. # Game serer binary files checksum, use zero to skip this checking
  788. d2gs_checksum = 0
  789.  
  790. # Game server version, use zero to skip this checking
  791. d2gs_version = 0
  792.  
  793. # Game server password
  794. d2gs_password = ""
  795.  
  796. # Maxinum number of second that a game will be shown on list( zero = infinite )
  797. game_maxlifetime = 0
  798.  
  799. # A game will be automatically destroied after how long time idle
  800. max_game_idletime = 0
  801.  
  802. # Allow Limitation created game with password, player number or level limit?
  803. allow_gamelimit = 1
  804.  
  805. # Ladder refresh time
  806. ladder_refresh_interval = 3600
  807.  
  808. # server to server connection max idle time in seconds
  809. s2s_idletime = 300
  810.  
  811. # server to server connection keepalive interval
  812. s2s_keepalive_interval = 60
  813.  
  814. # all connection timeout check interval
  815. timeout_checkinterval = 60
  816.  
  817. # game server restart interval
  818. # when sending SIGUSR2 signal to your d2cs this issues a restart
  819. # of all connected d2gs after d2gs_restart_delay seconds
  820. d2gs_restart_delay = 300
  821.  
  822. # ladder start time
  823. # format: yyyy-mm-dd hh:mm:ss
  824. # be carefull:
  825. # all chars created before this date will revert to non-ladder chars
  826. ladder_start_time = ""
  827.  
  828. # number of days before a char expires (default 0=unlimited)
  829. char_expire_day = 0
  830.  
  831. #
  832. #################################################################################
  833.  
  834.  
  835. d2dbs:
  836. #################################################################################
  837. # d2dbs.conf - Configuration file for the Diablo2 Game database server #
  838. #-------------------------------------------------------------------------------#
  839. # #
  840. # This file is an example configuration and may require modification to #
  841. # suit your needs or your site. Blank lines and lines starting with a "#" #
  842. # are ignored. Use quotes around values that contain spaces. #
  843. # #
  844. #################################################################################
  845.  
  846. #################################################################################
  847. # Server Major Settings #
  848. #-------------------------------------------------------------------------------#
  849. # This is a comma delimited list of hostnames that the server should
  850. # listen on. Generally, YOU DONT NEED TO TOUCH THIS but it might be useful
  851. # to make an internal-only server on a gateway machine for example. If the
  852. # list is not set or if it has a entry with no host component, the server will
  853. # bind to that port on all interfaces.
  854. # d2dbs default listening port is 6114
  855. # WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
  856. servaddrs = 0.0.0.0:6114
  857.  
  858. # Put here EXACTLY the same thing you put in d2cs.conf gameservlist setting.
  859. # For more information about this setting consult the d2cs.conf comments
  860. # above it.
  861. #
  862. # YOU MUST CHANGE THIS OR D2DBS WON'T WORK PROPERLY
  863. #
  864. # WARNING!! DO NOT USE "127.0.0.1" or "localhost" !!!
  865. gameservlist = 85.214.203.254
  866.  
  867. # #
  868. #################################################################################
  869.  
  870. #################################################################################
  871. # Message logs #
  872. #-------------------------------------------------------------------------------#
  873. # Multiple log levels can be defined by connecting them with a comma (,)
  874. # Available loglevels are:
  875. # none
  876. # trace
  877. # debug
  878. # info
  879. # warn
  880. # error
  881. # fatal
  882. #loglevels = fatal,error,warn,info
  883. loglevels = fatal,error,warn,info,debug,trace
  884.  
  885. # #
  886. #################################################################################
  887.  
  888. #################################################################################
  889. # File and Path section #
  890. # Use absolute paths in these lines to avoid problems! #
  891. #-------------------------------------------------------------------------------#
  892. logfile = var\d2dbs.log
  893. logfile-gs = var\d2dbs-gs.log
  894. charsavedir = var\charsave
  895. charinfodir = var\charinfo
  896. ladderdir = var\ladders
  897. bak_charsavedir = var\bak\charsave
  898. bak_charinfodir = var\bak\charinfo
  899. # #
  900. #################################################################################
  901.  
  902. #################################################################################
  903. # Misc #
  904. #-------------------------------------------------------------------------------#
  905. # #
  906. # Ladder save interval
  907. laddersave_interval = 3600
  908.  
  909. # Time that allow characters create after it insert into ladder
  910. # These code should be rewritted to support string formmated time
  911. ladderinit_time = 0
  912.  
  913. # create extra ladder file in XML format that can be parsed more easy
  914. # 0 = turn extra output off (default)
  915. # 1 = turn on the XML output
  916. XML_ladder_output = 0
  917.  
  918. # Amount of time to delay shutting down server in seconds.
  919. shutdown_delay = 360
  920.  
  921. # Amount of time delay period is decremented by either a SIGTERM or SIGINT
  922. # (control-c) signal in seconds.
  923. shutdown_decr = 60
  924.  
  925. # connection max idle time in seconds
  926. idletime = 300
  927.  
  928. # connection keep alive interval
  929. keepalive_interval = 60
  930.  
  931. # connection time out check interval
  932. timeout_checkinterval = 60
  933.  
  934. # experience threshold, minimum experience needed to register on the ladder
  935. ladderupdate_threshold = 0
  936.  
  937. # What chars will be added to ladder?
  938. # 0 = ladder and non-ladder chars
  939. # 1 = only ladder chars
  940. ladder_chars_only = 1
  941.  
  942. # This setting activates a workaround for the well known "Lvl 100" bug.
  943. # It should be activated for mods where the max level is greater than 99.
  944. # Activating this should work for mods with any max level
  945. # If level is greater than 255, it will be set to 255
  946. # 0 = deactivated
  947. # 1 = activated
  948. difficulty_hack = 0
  949.  
  950. # #
  951. #################################################################################
  952.  
  953. realm.conf:
  954. #################################################################################
  955. # realm.list - List of Diablo II Realms #
  956. #-------------------------------------------------------------------------------#
  957. # #
  958. # Realms are areas that hold closed characters and games. #
  959. # Users are given this list of realms to choose from when #
  960. # creating a new character. Next time the character is #
  961. # used, they will automatically join the same realm. #
  962. # #
  963. # The realm server runs on port 6113 by default. #
  964. # If you do not specify a port number, it will use this by default. #
  965. # #
  966. # <realmname> : the realm name (mandatory; must start and end with " ) #
  967. # <description> : the realm description (optional; must start and end with " ) #
  968. # ip:port - actual ip the d2cs server is running on (mandatory) #
  969. # #
  970. # --- realm name --- --- description --- --- real address --- #
  971. # (mandatory) (optional) (mandatory) #
  972. #-------------------------------------------------------------------------------#
  973. # "<realmname>" ["<description>"] <ip:port> #
  974. # #
  975. #################################################################################
  976.  
  977. # WARNING!! DO NOT USE "127.0.0.1" or "localhost" FOR ANY IP ADDRESS
  978.  
  979. # example (having a d2cs server running on IP 1.2.3.4):
  980. "D2CS" "PvPGN Closed Realm" 85.214.203.254:6113
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement