1. Соблюдайте Правила форума и проявляйте уважение к другим участникам беседы.

[FreeBSD]brtGhost - нужна помощь..

Тема в разделе 'Кодинг/Собственные решения', создана пользователем RePlod, 11 апр 2012.

  1. RePlod Ньюфаг

    Сообщения:
    5
    Спасибы:
    0
    Все скомпилил по инструкции, собрал без ошибок. но когда запускаю гхост, вижу в батл нете что бот пытается хостить карту но сразу исчезает, как решить проблему?
    и еще почему то в логах отображает вот такой текст
    [Wed Apr 11 23:10:29 2012] [ BNET: =svoi.server.bnet] using custom exe version bnet_custom_exeversion =
    [Wed Apr 11 23:10:29 2012] [ BNET: =svoi.server.bnet] using custom exe version hash bnet_custom_exeversionhash = б н Г Р

    в конфиге стоит нормально мой конф кусочек

    bnet_custom_war3version = 26
    bnet_custom_exeversion = 1 0 26 1
    bnet_custom_exeversionhash = 194 206 231 242
    bnet_custom_passwordhashtype = pvpgn

    Код:
    [Wed Apr 11 23:10:29 2012] [                            GHOST] starting up
    [Wed Apr 11 23:10:29 2012] [                            GHOST] using log method 1, logging is enabled and [log.txt] will not be locked
    [Wed Apr 11 23:10:29 2012] [                            GHOST] using monotonic timer with resolution 0.00 microseconds
    [Wed Apr 11 23:10:29 2012] [                        UDPSOCKET] using default broadcast target
    [Wed Apr 11 23:10:29 2012] [                            GHOST] opening primary database
    [Wed Apr 11 23:10:29 2012] [                            MYSQL] connecting to database server
    [Wed Apr 11 23:10:29 2012] [                            GHOST] opening secondary (local) database
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] version 3.6.16
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] opening database [ghost.dbs]
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] found schema number [7_b]
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] checking ban table
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] found tempban additions
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] checking admin table
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] found improved admins table
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] checking score table
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] found normal score table
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] checking score table 2
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] found normal score table
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] checking safelist table
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] creating safelist table
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] error creating table safelist - table safelist already exists
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] checking improved safelist table
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] upgrading safelist table
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] error upgrading safelist table - duplicate column name: voucher
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] checking notes table
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] creating notes table
    [Wed Apr 11 23:10:29 2012] [                          SQLITE3] error creating table notes - table notes already exists
    [Wed Apr 11 23:10:29 2012] [                            GHOST] attempting to find local IP addresses
    [Wed Apr 11 23:10:29 2012] [                            GHOST] local hostname is [game]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] local IP address #1 is [46.48.140.109]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] acting as Warcraft III: The Frozen Throne
    [Wed Apr 11 23:10:29 2012] [                           CONFIG] loading file [ghost.cfg]
    [Wed Apr 11 23:10:29 2012] [                           CONFIG] loading file [languages.cfg]
    [Wed Apr 11 23:10:29 2012] [                              WTV] WaaaghTV is not enabled.
    [Wed Apr 11 23:10:29 2012] [                           CONFIG] loading file [hostcounter.cfg]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] loading file [providers.txt]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] loading file [welcome.txt]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] loading file [channelwelcome.txt]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] loading file [mars.txt]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] found battle.net connection #1 for server [127.0.0.1]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] unable to get system locale, using default locale of 1033
    [Wed Apr 11 23:10:29 2012] [                            GHOST] loading MPQ file [war/War3Patch.mpq]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] extracting Scripts\common.j from MPQ file to [mapcfgs/common.j]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] extracting Scripts\blizzard.j from MPQ file to [mapcfgs/blizzard.j]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] adding ".cfg" to default map -> new default is [map.cfg]
    [Wed Apr 11 23:10:29 2012] [                           CONFIG] loading file [mapcfgs/map.cfg]
    [Wed Apr 11 23:10:29 2012] [                              MAP] loading MPQ file [war/Maps/dota.w3x]
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_size = 188 38 127 0
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_info = 102 217 48 5
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_crc = 226 241 142 134
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_sha1 =  254 25 231 241 113 209 228 6 139 151 225 38 179 199 30 30 136 156 164 240
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_options = 96
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_width = 118 0
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_height = 120 0
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_numplayers = 10
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_numteams = 2
    [Wed Apr 11 23:10:29 2012] [                              MAP] found 10 slots
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_size with config value map_size = 188 38 127 0
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_info with config value map_info = 102 217 48 5
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_crc with config value map_crc = 226 241 142 134
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_sha1 with config value map_sha1 = 254 25 231 241 113 209 228 6 139 151 225 38 179 199 30 30 136 156 164 240
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_width with config value map_width = 118 0
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_height with config value map_height = 120 0
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_numplayers with config value map_numplayers = 10
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_numteams with config value map_numteams = 2
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding slots
    [Wed Apr 11 23:10:29 2012] [                            GHOST] using hardcoded admin game map
    [Wed Apr 11 23:10:29 2012] [                              MAP] using hardcoded Emerald Gardens map data for Warcraft 3 version 1.24 & 1.24b
    [Wed Apr 11 23:10:29 2012] [                           CONFIG] loading file [mapcfgs/dota.cfg]
    [Wed Apr 11 23:10:29 2012] [                              MAP] loading MPQ file [war/Maps/dota.w3x]
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_size = 188 38 127 0
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_info = 102 217 48 5
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_crc = 226 241 142 134
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_sha1 =  254 25 231 241 113 209 228 6 139 151 225 38 179 199 30 30 136 156 164 240
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_options = 96
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_width = 118 0
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_height = 120 0
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_numplayers = 10
    [Wed Apr 11 23:10:29 2012] [                              MAP] calculated map_numteams = 2
    [Wed Apr 11 23:10:29 2012] [                              MAP] found 10 slots
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_size with config value map_size = 188 38 127 0
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_info with config value map_info = 102 217 48 5
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_crc with config value map_crc = 226 241 142 134
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_sha1 with config value map_sha1 = 254 25 231 241 113 209 228 6 139 151 225 38 179 199 30 30 136 156 164 240
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_width with config value map_width = 118 0
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_height with config value map_height = 120 0
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_numplayers with config value map_numplayers = 10
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding calculated map_numteams with config value map_numteams = 2
    [Wed Apr 11 23:10:29 2012] [                              MAP] overriding slots
    [Wed Apr 11 23:10:29 2012] [                           CONFIG] loading file [ips.cfg]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] started loading [ips.dbs]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] iptocountry loading finished in 262 ms
    [Wed Apr 11 23:10:29 2012] [                            GHOST] Listening for game broadcasters on port [6969]
    [Wed Apr 11 23:10:29 2012] [                            GHOST] brtGHost Version (1.7.0.9 r151)Ghost  (with MySQL support)
    [Wed Apr 11 23:10:29 2012] [                            GHOST] listening for GProxy++ reconnects on port 6114
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] refreshed ban list (0 -> 0 bans)
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] connecting to server [127.0.0.1] on port 6112
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] resolved and cached server IP address 127.0.0.1
    [Wed Apr 11 23:10:29 2012] [                            GHOST] creating game [dota_brt #494]
    [Wed Apr 11 23:10:29 2012] [              GAME: dota_brt #494] loading IP blacklist file [ipblacklist.txt]
    [Wed Apr 11 23:10:29 2012] [              GAME: dota_brt #494] loaded 0 lines from IP blacklist file
    [Wed Apr 11 23:10:29 2012] [              GAME: dota_brt #494] attempting to bind to all available addresses
    [Wed Apr 11 23:10:29 2012] [              GAME: dota_brt #494] listening on port 6116
    [Wed Apr 11 23:10:29 2012] [                        STATSDOTA] using dota stats
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] connected
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] using custom exe version bnet_custom_exeversion =
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] using custom exe version hash bnet_custom_exeversionhash = б н Г Р
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] attempting to auth as Warcraft III: The Frozen Throne
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] cd keys accepted
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] username [HostDota] accepted
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] using pvpgn logon type (for pvpgn servers only)
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] logon successful
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] Removed 0 temporary bans which expire today
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] joining channel [Dota Allstars]
    [Wed Apr 11 23:10:29 2012] [               BNET: =svoi.server.bnet] joined channel [Dota Allstars]
    [Wed Apr 11 23:10:29 2012] [               INFO: =svoi.server.bnet] Hello HostDota, welcome to PvPGN Realm!
    [Wed Apr 11 23:10:31 2012] [               BNET: =svoi.server.bnet] startadvex3 failed
    [Wed Apr 11 23:10:31 2012] [                QUE: =svoi.server.bnet] Unable to create game [dota_brt #494] on server [127.0.0.1]. Try another name.
    [Wed Apr 11 23:10:31 2012] [              LOCAL: =svoi.server.bnet] /w AutoHostBot Unable to create game [dota_brt #494] on server [127.0.0.1]. Try another name.
    [Wed Apr 11 23:10:31 2012] [              ERROR: = svoi.server.bnet] That user is not logged on.
    [Wed Apr 11 23:10:34 2012] [               BNET: =svoi.server.bnet] startadvex3 failed
    [Wed Apr 11 23:10:34 2012] [               BNET: =svoi.server.bnet] joining channel [Dota Allstars]
    [Wed Apr 11 23:10:34 2012] [               BNET: =svoi.server.bnet] joined channel [Dota Allstars]
    [Wed Apr 11 23:10:36 2012] [               BNET: =svoi.server.bnet] joining channel [Dota Allstars]
    [Wed Apr 11 23:10:37 2012] [               BNET: =svoi.server.bnet] startadvex3 failed
    [Wed Apr 11 23:10:38 2012] [               BNET: =svoi.server.bnet] joining channel [Dota Allstars]
    [Wed Apr 11 23:10:38 2012] [               BNET: =svoi.server.bnet] joined channel [Dota Allstars]
    [Wed Apr 11 23:10:40 2012] [               BNET: =svoi.server.bnet] startadvex3 failed
    
    и дальше пошел флуд со входами и не хочет хостить..
    Заранее благодарен
  2. Synth (LM) Пантограф!

    Сообщения:
    2.762
    Спасибы:
    172
    Сборка бота GHost:
    My own version of GhostOne
    Дата начала использования бота:
    15.06.2008
    Skype:
    Мой статус
    А пвпгн сервер дефолтный?
  3. RePlod Ньюфаг

    Сообщения:
    5
    Спасибы:
    0
    Вроде по дефолту, только две три строчки заменял..
    PVPGN тоже на FreeBSD поднял, в общем все в одном сервере pvpgn+brghost
    конфиг pvpgn

    Код:
    ##############################################################################
    # bnetd.conf  -  Configuration file for the main PvPGN service               #
    #----------------------------------------------------------------------------#
    #                                                                            #
    # ############ READ THIS ######### READ THIS ########## READ THIS ############
    # This file is an example configuration that should work UNMODIFIED for most #
    # of the PvPGN setups and may require modification to suit your needs.       #
    # Blank lines and everything after a "#" are ignored.  Use quotes around     #
    # values that contain spaces.                                                #
    #                                                                            #
    ##############################################################################
    
    
    ##############################################################################
    # Privileges to work under                                                   #
    # Use either the names from the corresponding files or numerical id's (with  #
    # a leading '#').  If none are specified, the userid will not be changed.    #
    #----------------------------------------------------------------------------#
    
    #effective_user  = games
    #effective_group = games
    
    # effective_user  = #12
    # effective_group = #20
    
    #                                                                            #
    ##############################################################################
    
    ##############################################################################
    # Storage section                                                            #
    # storage_path will tell pvpgn how and where from/to to read/write accounts  #
    # right now it supports 2 "drivers" : file and sql                           #
    #                                                                            #
    # Syntax:                                                                    #
    # * for plain file driver:                                                   #
    #  storage_path = file:mode=plain;dir=<path_to_user_files>;clan=<path_to_clan_files>;default=/path/to/default/account #
    # * for cdb file driver:                                                     #
    #  storage_path = file:mode=cdb;dir=<path_to_cdb_files>;clan=<path_to_clan_files>;default=/path/to/default/account   #
    # * for sql/sql2 driver:                                                     #
    #  storage_path = sql:variable=value;...;default=0 (0 is the default uid)    #
    # or storage_path = sql2:variable=value;...;default=0 (0 is the default uid) #
    #                                                                            #
    # Variables for sql/sql2 can be:                                             #
    # - "mode" : tells PVPGN the sql mode you will use (mysql/pgsql/etc..)       #
    # - "host" : the database host                                               #
    # - "port" : the TCP/IP port if needed                                       #
    # - "socket" : the UNIX local socket if needed                               #
    # - "name" : database name                                                   #
    # - "user" : db username                                                     #
    # - "pass" : db password                                                     #
    # - "default" : specify the UID to use for the default account data          #
    # - "prefix" : prefix to use for all pvpgn tables (default "")               #
    #                                                                            #
    # Examples:                                                                  #
    # storage_path = file:mode=plain;dir=/usr/server/pvpgn//var/users;clan=/usr/server/pvpgn//var/clans;team=/usr/server/pvpgn//var/teams;default=/usr/server/pvpgn//etc/bnetd_default_user.plain
    # storage_path = file:mode=cdb;dir=/usr/server/pvpgn//var/userscdb;clan=/usr/server/pvpgn//var/clans;team=/usr/server/pvpgn//var/teams;default=/usr/server/pvpgn//etc/bnetd_default_user.cdb
    
    storage_path = sql:mode=mysql;host=127.0.0.1;name=pvpgn;user=root;pass=*******;default=0;prefix=pvpgn_
    
    # storage_path = sql:mode=pgsql;host=127.0.0.1;name=pvpgn;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn_
    # storage_path = sql:mode=sqlite3;name=/usr/server/pvpgn//var/users.db;default=0;prefix=pvpgn_
    # storage_path = sql:mode=odbc;name=PVPGN;prefix=pvpgn_
    #
    # WARNING!! you MUST change "DBlayoutfile" bellow configuration directive to 
    # sql_DB_layout2.conf to be able to use "sql2" !!!
    # storage_path = sql2:mode=mysql;host=127.0.0.1;name=PVPGN;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn2_
    # storage_path = sql2:mode=pgsql;host=127.0.0.1;name=pvpgn;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn2_
    # storage_path = sql2:mode=sqlite3;name=/usr/server/pvpgn//var/users.db;default=0;prefix=pvpgn2_
    # storage_path = sql2:mode=odbc;name=PVPGN;prefix=pvpgn2_
    #----------------------------------------------------------------------------#
    
    #storage_path = file:mode=plain;dir=/usr/server/pvpgn//var/users;clan=/usr/server/pvpgn//var/clans;team=/usr/server/pvpgn//var/teams;default=/usr/server/pvpgn//etc/bnetd_default_user.plain
    
    #                                                                            #
    ##############################################################################
    
    ##############################################################################
    # File section                                                               #
    # The pidfile can be set to "" to turn it off.                               #
    # Use absolute paths in these lines to avoid problems!                       #
    #----------------------------------------------------------------------------#
    
    filedir     = /usr/server/pvpgn/var/files
    reportdir   = /usr/server/pvpgn/var/reports
    chanlogdir  = /usr/server/pvpgn/var/chanlogs
    motdfile    = /usr/server/pvpgn/etc/bnmotd.txt
    issuefile   = /usr/server/pvpgn/etc/bnissue.txt
    channelfile = /usr/server/pvpgn/etc/channel.conf
    newsfile    = /usr/server/pvpgn/etc/news.txt
    adfile      = /usr/server/pvpgn/etc/ad.conf
    topicfile   = /usr/server/pvpgn/etc/topics.conf
    ipbanfile   = /usr/server/pvpgn/etc/bnban.conf
    helpfile    = /usr/server/pvpgn/etc/bnhelp.conf
    mpqfile     = /usr/server/pvpgn/etc/autoupdate.conf
    logfile     = /usr/server/pvpgn/var/bnetd.log
    realmfile   = /usr/server/pvpgn/etc/realm.conf
    maildir     = /usr/server/pvpgn/var/bnmail
    versioncheck_file = /usr/server/pvpgn/etc/versioncheck.conf
    mapsfile    = /usr/server/pvpgn/etc/bnmaps.conf
    xplevelfile = /usr/server/pvpgn/etc/bnxplevel.conf
    xpcalcfile  = /usr/server/pvpgn/etc/bnxpcalc.conf
    #pidfile    = /usr/server/pvpgn/var/bnetd.pid
    ladderdir   = /usr/server/pvpgn/var/ladders
    command_groups_file = /usr/server/pvpgn/etc/command_groups.conf
    tournament_file = /usr/server/pvpgn/etc/tournament.conf
    statusdir   = /usr/server/pvpgn/var/status
    aliasfile   = /usr/server/pvpgn/etc/bnalias.conf
    anongame_infos_file = /usr/server/pvpgn/etc/anongame_infos.conf
    DBlayoutfile = /usr/server/pvpgn/etc/sql_DB_layout.conf
    supportfile = /usr/server/pvpgn/etc/supportfile.conf
    transfile   = /usr/server/pvpgn/etc/address_translation.conf
    
    fortunecmd  = /usr/games/fortune
    
    #                                                                            #
    ##############################################################################
    
    
    ##############################################################################
    # Message logs                                                               #
    #----------------------------------------------------------------------------#
    
    # Multiple log levels can be defined by connecting them with a comma (,)
    # Available loglevels are:
    #   none
    #   trace
    #   debug
    #   info
    #   warn
    #   error
    #   fatal
    #loglevels = fatal,error,warn,info,debug,trace
    loglevels = fatal,info
    
    #                                                                            #
    ##############################################################################
    
    
    ##############################################################################
    # D2CS realm server settings                                                 #
    #----------------------------------------------------------------------------#
    
    # Version of D2CS server to connect with (set to zero to disable version check)
    d2cs_version = 0
    
    # Allow the D2CS server to change realm names?
    allow_d2cs_setname = true
    
    #                                                                            #
    ##############################################################################
    
    
    ##############################################################################
    # Downloadable files                                                         #
    #----------------------------------------------------------------------------#
    
    # These filenames are reported directly to the client and are relative to
    # the "filedir" directory specified above.
    iconfile = "icons.bni"
    war3_iconfile = "icons-WAR3.bni"
    star_iconfile = "icons_STAR.bni"
    
    tosfile = "tos.txt"
    
    #                                                                            #
    ##############################################################################
    
    
    ##############################################################################
    # Client verification and upgrades                                           #
    #----------------------------------------------------------------------------#
    
    # This option lists the client types allowed to connect (only valid for 
    # the bnet protocol). The list is a comma separated list of any of the 
    # following elements: 
    # all  : all client types allowed (default)
    # chat : client type "CHAT" allowed (used by some bot software)
    # dshr : client type Diablo 1 Shareware
    # drtl : client type Diablo 1 (Retail)
    # sshr : client type Starcraft Shareware
    # star : client type Starcraft
    # sexp : client type Starcraft Broodwar
    # w2bn : client type Warcraft II Battle.Net Edition
    # d2dv : client type Diablo 2
    # d2xp : client type Diablo 2 LOD
    # war3 : client type Warcraft III (Reign Of Chaos)
    # w3xp : client type Warcraft III Frozen Throne
    #
    # Example: allowed_clients = war3,w3xp
    
    allowed_clients = w3xp
    
    # If this option is enabled, the verification step is skipped if possible.
    # This only works with clients < 109.  It is useful because you no longer
    # need any of the IX86AUTH?.MPQ and PMACAUTH?.MPQ files.  Note that it will
    # also skip over all the autoupdate checks effectively disabling it.
    #
    # If you disable this you must have one or more of the MPQ files.  Otherwise
    # clients will hang when they first connect because they are attempting to
    # download them.  The versioncheck can only be skipped for clients older
    # than 109.  Starting with version 109 the clients will always do version
    # checking since they do not function properly if the server does not
    # request it.
    skip_versioncheck = true
    
    # If you enable the version checks but want to allow clients that don't pass
    # the checksum test then enable this.
    allow_bad_version = true
    
    # If you enable the version checks but want to allow clients that aren't
    # listed in the versioncheck configuration file then enable this.  Unless
    # you have a very complete file or are very paranoid about cheaters this
    # is a good idea.
    allow_unknown_version = true
    
    # This defines how the exeinfo field in the versioncheck file is being
    # checked. You can choose between no match at all [none] (default), 
    # exact match [exact], exact case-sensitive match [exactcase], dumb wildcard 
    # match [wildcard], and parsed value comparison [parse]. 
    # NOTE: [parse] needs the mktime() function and might therefore not work on 
    # every system. 
    version_exeinfo_match = none
    
    # If you have choosen [parse] above, this is the tolerance with which
    # the time can differ. The value must be given in seconds. If it's 0 this 
    # check is disabled.
    version_exeinfo_maxdiff = 0
    
    #                                                                            #
    ##############################################################################
    
    
    ##############################################################################
    # Time values                                                                #
    #----------------------------------------------------------------------------#
    
    # Time in seconds between account file updates, 0 means wait forever.
    usersync  = 300
    # Number of seconds of inactivity before file is unloaded from memory.
    # (only checked during account file updates)
    userflush = 1200
    # Number of users checked for updates at once. Higher values make sense if you 
    # either have very fast hardware or you don't have many number of accounts.
    # Lower values make sense if you have very high CPU usage on the system you run
    # the server (dont make it too low or your system will save accounts continously).
    # Modify this value ONLY if you know what you are doing!!
    userstep = 100
    
    # How often to send user latency tests in seconds.
    latency = 600
    
    # How often to send null or keepalive packets in seconds.
    nullmsg = 120
    
    # Amount of time to delay shutting down server in seconds.
    shutdown_delay = 300
    # Amount of time delay period is decremented by either a SIGTERM or SIGINT
    # (control-c) signal in seconds.
    shutdown_decr = 60
    
    # How often should bans be checked for expiration? (in seconds)
    #ipban_check_int = 30
    
    #                                                                            #
    ##############################################################################
    
    
    ##############################################################################
    # Policy options                                                             #
    #----------------------------------------------------------------------------#
    
    # If you don't want people to be able to create new accounts, set this to
    # false.
    new_accounts = true
    
    # Set this to the maximum number of accounts you want to allow to be
    # created on your server. A value of 0 means infinite and is the default.
    #max_accounts = 0
    
    # If someone attempts to log in more than once, should it kick off the old
    # login, or deny the new one?
    kick_old_login = true
    #kick_old_login = false
    # With no passwords, this is bad to have enabled --NonReal
    
    # load_new_account option has been eliminated and the functionality now is 
    # always active in PvPGN
    
    # If a user is creating a new channel, should it be added automatically, or
    # prompt them first?
    ask_new_channel = true
    
    # Should a game report be written for every game played or just ladder
    # games?
    #report_all_games = false
    report_all_games = true
    
    # Should Diablo I/II reports be written?  There are no winners/losers.
    report_diablo_games = false
    
    # Should games with passwords be hidden on the game list?
    hide_pass_games = true
    
    # Should games already started be hidden on the game list? (for heavily
    # loaded servers)
    hide_started_games = true
    
    # Should non-permanent channels hidden on the channel list?
    hide_temp_channels = true
    
    # Should the extended /-commands be avaliable? (of course!)
    extra_commands = true
    
    # Should any and all disconnects to be counted as losses?
    # (Turning this on will override the user's choice in ladder games!)
    disc_is_loss = false
    
    # List additional game types to be counted as ladder games
    # Curently allowed types: topvbot, melee, ffa, oneonone
    # Example: ladder_games = "topvbot,oneonone"
    ladder_games = "topvbot, melee, ffa, oneonone"
    
    # If additional game types are configured (see above) to be counted as ladder 
    # games then this setting configures a game name prefix to make only games 
    # which match this game name prefix be counted as ladder. This allows to 
    # still have normal games of the game types configured with "ladder_games" 
    # directive. However if this setting is commented or "" then ALL games 
    # which match the game types configured with "ladder_games" are to be 
    # considered as ladder games. The prefix checking is CASE SENSITIVE!
    # Example: ladder_prefix = "ldr_"
    ladder_prefix = "ldr_"
    
    # Should all users be able to use the /con and /connections commands?
    enable_conn_all = true
    
    # Should client IP addresses (from /con, /games, /gameinfo, /netinfo)
    # be hidden from non-admins?
    hide_addr = false
    
    # Should private channel messages be logged to files in the chanlogdir
    # directory? (see channels.list for public channels)
    chanlog = false
    
    # Do you want to use the channel quota feature?
    quota = yes
    
    # The following options deal with flood prevention.
    #
    # How many lines do you accept in quota_time seconds?
    # (The default should allow 5 lines in 5 seconds,
    # longer time periods allow "bursts" of traffic before the quota is full.)
    quota_lines = 5     # must be between 1 and 100 lines
    quota_time = 5      # must be between 1 and 60 seconds
    # "virtual wrapping", so long lines count as multiple lines
    quota_wrapline = 40 # must be between 1 to 256 chars
    # absolute maximum characters allowed in a line
    quota_maxline = 200 # must be between 1 to 256 chars
    #
    # How many lines do you accept in quota_time seconds before user is
    # disconnected?
    # (According to Jung-woo, Dobae is a Korean term for flooding the game server...
    # it originally meant "to paint the wallpaper on a new or refurbished house").
    # If it less than or equal to quota_lines, there is no warning before
    # disconnection so don't set this too low.
    quota_dobae = 10     # must be between 1 and 100 lines
    
    # Mail support
    mail_support = true
    mail_quota = 5
    
    # Channel logging message
    log_notice = "*** Please note this channel is logged! ***"
    
    # Ban on repeated password fails against bruteforce password thieves
    # Fails required to get ip banned (0 to disable ban on password fail)
    passfail_count = 0
    
    # Password fail IP ban duration (in seconds)
    passfail_bantime = 300
    
    # Max users limit in private channels (0 = unlimited)
    maxusers_per_channel = 0
    
    #                                                                            #
    ##############################################################################
    
    
    ##############################################################################
    # Account configuration                                                      #
    #----------------------------------------------------------------------------#
    
    # Should account files be named by the account number or the player name?
    savebyname = true
    
    # Save the account data on logoff
    sync_on_logoff = false
    
    # How man rows should the account lookup hash table have?  Servers with
    # more accounts should use a larger table for better performance.
    hashtable_size = 61
    
    # Per default, only alphanumerical symbols are allowed in account names
    # with this variable you can add some extra symbols to be allowed
    # but be warned - that some of them might cause trouble - at least with
    # savebyname=true (some symbols are forbidden in filenames or might cause
    # you real trouble - plz neither allow wildcard symbols like '*' or '?'.
    # Path delimiters like '/' or '\' are hardcoded filtered and can't be allowed.
    # Also note that allowing the '.' might cause u some headache on win32 systems. 
    # You have been warned - the rest is up to you.
    # default setting is "-_[]" as it was previous versions
    account_allowed_symbols = "-_[]"
    
    # This setting affects users that login with their uid rather than their 
    # username. If set to true their displayed username will be forcefully 
    # converted to their registered account name.
    account_force_username = false
    
    # maximum number of friends a user can add to there friends list
    # default setting is 20
    max_friends = 20
    
    #                                                                            #
    ##############################################################################
    
    
    ##############################################################################
    # Tracking server info                                                       #
    #----------------------------------------------------------------------------#
    
    # Set track=0 to disable tracking.  Any other number will set number
    # of seconds between sending tracking packets. This is OFF by default.
    #track = 0
    track = 60
    # 10 minutes
    
    # Tracking server(s)
    # Use a comma delimited list of hostnames with optional UDP port numbers
    # after colons. (port 6114 is the default for the newer tracking protocol)
    #trackaddrs = "track.bnetd.org,localhost:9999"
    #trackaddrs = "track.pvpgn.org"
    
    # Change these to match your system, for example:
    location = "unknown"
    description = "unknown"
    url = "unknown"
    contact_name = "a PvPGN user"
    contact_email = "unknown"
    
    #                                                                            #
    ##############################################################################
    
    
    ##############################################################################
    # Server network info                                                        #
    #----------------------------------------------------------------------------#
    
    # Servername by which the server identifies itself (default: "PvPGN Realm")
    #servername = "PvPGN Realm"
    
    # Set this to the maximum number of concurrent connections allowed on 
    # this server (minimum 32). This limit sets a general server connection 
    # limit, NOT the concurrent user limit (for that see next option)
    max_connections = 1000
    
    # Maximum number of concurrent users (0 means unlimited).
    max_concurrent_logins = 0
    
    # Set this option to true to allow TCP to detect and close stale
    # connections.
    use_keepalive = false
    
    # Limit maximum number of connections per IP (0 = unlimited)
    # this feature is new, so no recommended value so far
    max_conns_per_IP = 0
    
    # This is a comma delimited list of hostnames that the server should
    # listen on.  It might be useful to make an internal-only server on a
    # gateway machine for example.  If the list is not set or if it has a
    # entry with no host component, the server will bind to that port on all
    # interfaces.
    #servaddrs = ":9999"
    #servaddrs = "myinternalname.some.com,localhost"
    servaddrs = "0.0.0.0:6112" # default interface (all) and default port (6112)
    
    # Don't change these unless you really need to!  You will need to run a proxy
    # or modify the clients.  Also note that these will not change when simply
    # sending a HUP signal to the server; they are only read on startup.
    
    # This is the port the server send the UDP test packets to by default.
    # Setting it to zero makes the server use the same port as the TCP connection
    # comes from. Newer clients can override this setting on a per connection
    # basis.
    #udptest_port = 6112
    
    
    # W3 Play Game router address. Just put your server address in here
    # or use 0.0.0.0:6200 for server to bind to all interfaces,
    # but make sure you set up w3trans if you do.
    w3routeaddr = "46.48.140.109:6200"
    
    # w3routeshow has been removed.
    # see the address_translation.conf for translating the w3route ip for local networks
    
    # initkill_timer sets up a periodic timer on init/defer class connections
    # this should detect and clean up stale connections to your server
    initkill_timer = 120
    
    #                                                                            #
    ##############################################################################
    
    ##############################################################################
    # Westwood Online (WOL) configuration                                        #
    #----------------------------------------------------------------------------#
    
    # NOTE: WOL support is still experimental!
    
    # This specifies the addresses where IRC connections should be accepted. See
    # the description of servaddrs for formatting information. Leave this field
    # blank if you do not want to accept IRC connections.  If the port is not
    # specifed then 4005 will be used. Note: DO NOT SET THE PORT TO ANYTHING OTHER
    # THEN 4005, WOL WILL FAIL IF YOU DO!
    #woladdrs = ":4005"
    
    # Just leave these as default (unless you know the timezone, longitiude and latitude
    # of your server
    woltimezone = "-8"
    wollongitude = "36.1083"
    wollatitude = "-115.0582"
    
    #                                                                            #
    ##############################################################################
    
    ##############################################################################
    # Internet Relay Chat (IRC) configuration                                    #
    #----------------------------------------------------------------------------#
    
    # NOTE: IRC support is still experimental!
    
    # This specifies the addresses where IRC connections should be accepted. See
    # the description of servaddrs for formatting information. Leave this field
    # blank if you do not want to accept IRC connections.  If the port is not
    # specified then 6667 will be used.
    #ircaddrs = ":6667"
    
    # This is the IRC network name. If this is not specified then the default of
    # "PvPGN" will be used.
    #irc_network_name = "PvPGN"
    
    # This is the hostname used for IRC connections. Set this to your
    # hostname, if the automatic detection doesn't correctly. 
    #hostname = "none"
    
    # Set this to the desired IRC connection timeout in seconds.
    #irc_latency = 180
    
    #                                                                            #
    ##############################################################################
    
    
    ##############################################################################
    # Telnet configuration                                                       #
    #----------------------------------------------------------------------------#
    
    # This specifies the addresses where telnet connections should be accepted.
    # See the description of servaddrs for formatting information. Leave this
    # field # blank if you do not want to accept telnet connections.  If the port
    # is not specifed then 23 will be used.
    #telnetaddrs = ":23"
    
    ###############################################################################
    # war3 ladder textual output                                                  #
    #-----------------------------------------------------------------------------#
    # this is for all the guys, that want Warcraft 3 ladder, but don't want their
    # server to run with MySQL support.
    # For each ladder (solo, team, ffa, at) a corresponing file is created,
    # so it's easy to build your ladder pages with them
    
    # the following value determines, at which rate, these files are created
    # set to 0 if you don't want or need these files
    war3_ladder_update_secs = 300
    
    # jfro's latest ladder is based on XML... so we can switch to XML output of ladder
    # on demand
    XML_output_ladder = false
    
    ###############################################################################
    # server status textual output                                           #
    #-----------------------------------------------------------------------------#
    # This is for writing status of the server in an attempt to see number of user
    # on line actually, and games/chans.
    # This is store in file var\status\warcraft3.dat as a *.ini format.
    # Shouldn't be so hard in php to create dynamic website using this content.
    
    # the following value determines, at which rate, these files are created
    # set to 0 if you don't want or need these files
    output_update_secs = 60
    
    # jfro's latest ladder is based on XML... so we can switch to XML output of ladder
    # on demand. Maybe we should set update interval bigger cause XML output version
    # is much more verbose than the standard output
    XML_status_output = false
    
    ###############################################################################
    # clan settings                                                               #
    #-----------------------------------------------------------------------------#
    
    # Time in hours for a new member of clan to be a newer(Peon icon, cannot promote to Grunt)
    # default value 168(7 days). If set to 0, all new members could be promote in no time
    clan_newer_time = 0
    
    # max members count allowed in a clan, set between 10 and 100, default 50.
    clan_max_members = 50
    
    # Default clan channel status when create a clan, 1 for private, 0 for public
    clan_channel_default_private = 0
    Конфиг brtghost

    Код:
    [GHOST]
    ###########################################################
    # PLEASE EDIT CONFIG IN GHOST ONE UNDER GHOST OPTIONS TAB #
    ###########################################################
    ### the root admin on this battle.net server only
    bnet_rootadmin = replod
    
    ### the first channel to join upon entering battle.net
    bnet_firstchannel = Dota Allstars
    
    ### your battle.net password
    bnet_password = ******
    
    ### your battle.net username
    bnet_username = HostDota
    
    ### your Warcraft III: The Frozen Throne CD key
    bnet_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
    
    ### your Warcraft III: Reign of Chaos CD key
    bnet_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
    
    bnet_server = 127.0.0.1
    
    bnet_commandtrigger = !
    
    bnet_bnlsport = 
    
    bnet_bnlsserver = 
    
    ### make the ban announcement on one line ( = 0) (if possible) or on two ( = 1)
    bot_twolinesbanannouncement = 1
    
    ### custom text to add to version.
    bot_customversiontext = Ghost 
    
    ### auto ban people who leave during the countdown
    bot_autobancountdown = 0
    
    ### auto ban people who leave during the game load
    bot_autobangameloading = 0
    
    bot_autohostdeniedcountries = 
    
    bot_autohostallowedcountries = 
    
    ### UDP port on which the bot communicates with GHost One GUI, 5868 default
    udp_guiport = 6973
    
    bnet_bnlswardencookie = 
    
    # LIST OF SETTINGS NOT IN GHOST OPTIONS TAB
    #bot_language
    #bot_mapcfgpath
    #bot_savegamepath
    #bot_refreshmessages
    #bot_autolock
    #bot_autosave
    #bot_allowdownloads
    #bot_pingduringdownloads
    #bot_lcpings
    #bot_latency
    #bot_synclimit
    #bot_votekickallowed
    #bot_votekickpercentage
    #udp_cmdbindip
    #udp_cmdspooftarget
    #admingame_password
    #db_sqlite3_file
    #bnet_holdfriends
    #bnet_holdclan
    
    ########################
    # Actual Config Below  #
    ########################
    
    ### if = 0, auto warn function will disable
    bot_doautowarn = 0
    
    ### if = 0, will not broadcast the game in LAN (only bnet)
    bot_broadcastlan = 1
    
    ### show .note of anyone who enters the lobby
    bot_shownotesonjoin = 0
    
    ### only owners can swap other admins
    bot_onlyownerscanswapadmins = 1
    
    ### !statsdota will be disabled if set to 1 (!sd will still work)
    bot_nostatsdota = 0
    
    ### !top/!rank will be disabled if set to 1
    bot_norank = 0
    
    ### add a list of ips you want the bot to send the game (to be seen in LAN) to, ex: 81.12.21.1 127.54.12.2
    bot_ipusers =
    
    ### lan players will be rootadmins
    bot_lanrootadmins = 0
    
    ### if set to 1, blue player is considered the owner
    bot_blueisowner = 0
    
    ### if enabled, any user can !pub/!map/!unhost
    bot_userscanhost = 0
    
    ### if enabled, any safelisted player can !pub/!map/!unhost
    bot_safecanhost = 0
    
    ### if enabled, will greet every player who joins the channel with channelwelcome.txt
    bot_channeljoinmessage = 0
    
    ### specify which players won't be greeted when joining the channel.
    bot_channeljoinexceptions = Dota Allstars
    
    ### will allow admins and safelisted players to download even if downloads are disabled
    bot_adminsandsafecandownload = 1
    
    ### will replace every !ban/!bl with !warn/!wl
    bot_replacebanwithwarn = 0
    
    # In LAN/GArena show the real number of current/total players in the game, when using !pubg it will be auto activated
    lan_showrealslotcount = 1
    
    ### all the bots messages will only be seen by admins (bot will be practicly hidden)
    bot_detourallmessagestoadmins = 0
    
    ### 0 - ghost countdown, 1 - warcraft countdown
    bot_normalcountdown = 0
    
    # when you !unban player, the bot also issues an /unban player
    bot_unbanremoveschannelban = 0
    
    # Time limit for hosting a game
    bot_lobbytimelimit = 260
    
    ### enable dynamic latency, lowers or even increases latency as needed
    bot_usedynamiclatency = 1
    
    ### how many milliseconds to add to the normal latency if the players lag
    bot_dynamiclatencymaxtoadd = 30
    
    ### milliseconds to add to highest ping as base dynamic latency
    bot_dynamiclatencyaddedtoping = 25
    
    ### dynamic latency will be increased when a lobby is active
    bot_dynamiclatencyincreasewhenlobby = 1
    
    ### dynamic latency will try not to go over 2.2x highest ping, recommended
    bot_dynamiclatency2.2xhighestpingmax = 1
    
    ### all messages will be answered with a whisper
    bot_whisperallmessages = 0
    
    ### if 1 - no admin can start the game if the owner is in the lobby
    bot_onlyownerscanstart = 1
    
    ### allow only players with score>=x to join the lobby
    bot_allowedscores = 0
    
    ### in autohosted games, allow only players with score>=x to join the lobby
    bot_autohostallowedscores = 0
    
    ### if set to 1, if using bot_allowedscores, players having an unknown score will be allowed
    bot_allownullscoredplayers = 1
    
    ### 0 - auto timer resolution (as low as possible), 1-5 - if you want it to be less accurate
    bot_newTimerResolution = 0
    
    ### 0 - old timer on windows (gettickcount), 1 - new timer
    bot_newTimer = 0
    
    ### 0 - old latency system, 1 - as close to the set latency as possible
    bot_newLatency = 0
    
    ### set to 1 if you want admins to be autoplaced higher only in dota games
    bot_placeadminshigheronlyindota = 0
    
    ### force auto hcl from gamename in dota games (even when bot_defaulthcl is not set)
    bot_forceautohclindota = 0
    
    ### set !autostart 10 automatically in dota games
    bot_autostartdotagames = 1
    
    ### safelisted players are immune to ban/warn
    bot_safelistedbanimmunity = 1
    
    ### send admin messages or not (if using the admin game)
    bot_adminmessages = 0
    
    ### send local admin messages or not (if using the admin game)
    bot_localadminmessages = 0
    
    ### fake pings for the following players, space separated: ex = nick1 nick2
    bot_fakepings = 
    
    ### when !end is issued, a message is sent to the enemy team and the game ends only if someone accepts, replying with !end (only for 2 team maps)
    bot_endreq2ndteamaccept = 0
    
    ### normal bans will expire in x days - set to 0 to be permanent
    bot_bantime = 2
    
    ### normal banlast/bl will expire in x days - set to 0 to be permanent
    bot_banlasttime = 2
    
    ### tbanlast/tbl will expire in x days - set to 0 to be permanent
    bot_tbanlasttime = 2
    
    ### how many warns are needed to auto-ban the player. Default: 3.
    bot_banthewarnedplayerquota = 3
    
    ### how many days will the auto-ban from warns last. 0 - permanent ban. Default: 14.
    bot_bantimeofwarnedplayer = 14
    
    ### how many days will each warn last. 0 - permanent warn. Default: 14.
    bot_warntimeofwarnedplayer = 7
    
    ### how many games should the player play (without taking another warn) to make one of his warns inactive. Default: 7
    bot_gamenumtoforgetawarn = 20
    
    ### if 0, autowarning is off. Default: 0.
    bot_autowarnearlyleavers = 1
    
    ### Prints the gameloaded.txt message after X seconds. Default: 10.
    bot_gameloadedprintout = 30
    
    ### handle ip bans: 0 = do nothing, 1 = kick, 2 = announce only (no kick).
    bot_ipbanning = 1
    
    ### handle name bans: 0 = do nothing, 1 = kick, 2 = announce only (no kick).
    bot_banning = 1
    
    # Drop the user if he/she desyncs or not?
    bot_dropifdesync = 1
    
    # the log file
    bot_log = log.txt
    
    # Show a message when a safe/admin/rootadmin/chieftain/shaman joins the channel
    bot_channeljoingreets = 1
    # Admins will be able to delete only bans they've made
    bot_adminslimitedunban = 0
    
    # Announce +1 and +2 (players left to join) in lobby (only if not autohosted)
    bot_lobbyannounceunoccupied = 1
    
    # Auto set HCL based on game name,ex: -arso EU pros will set HCL to arso (only if map_defaulthcl is defined, for ex: map_defaulthcl = ar), will set hcl to empty if no mode is detected in the gamename
    bot_autohclfromgamename = 1
    
    # whether players who use censored words are auto muted for x seconds
    bot_censormute = 1
    # also auto mute admins
    bot_censormuteadmins = 0
    # mute for x seconds, the first time a player curses
    bot_censormutefirstseconds = 10
    # mute for x seconds, the second time a player curses
    bot_censormutesecondseconds = 30
    # mute for x seconds, if a player has cursed for 3 or more times
    bot_censormuteexcessiveseconds = 60
    
    lan_war3version = 26
    
    # Disable nagle algorithm (TCPIP algorithm that can slow down the network) - may improve latency if you set to 1
    tcp_nodelay = 1
    
    # Path to your WC3TVRecorder ex: c:\Program Files\waaaghTV Recorder\
    wtv_path = C:\Program Files\WaaaghTV Recorder\
    # Use WC3TVRecorder, 1 to enable
    wtv_enabled = 0
    # WaaaghTV Observer Name
    wtv_playername = Waaagh!TV
    
    # for ex: RO, only these countries will be allowed to join a game
    bot_allowedcountries = 
    # for ex: BR, these countries will not be allowed to join a game
    bot_deniedcountries = 
    
    # milliseconds to wait before sending medium sized packets to bnet when using PVPGN
    bot_bnetpacketdelaymediumpvpgn = 2000
    # milliseconds to wait before sending big sized packets to bnet when using PVPGN
    bot_bnetpacketdelaybigpvpgn = 2500
    # milliseconds to wait before sending medium sized packets to bnet (official)
    bot_bnetpacketdelaymedium = 3200
    # milliseconds to wait before sending big sized packets to bnet (official)
    bot_bnetpacketdelaybig = 4000
    
    
    # Allowed variables: totgames, kills, deaths, assists, creepkills, creepdenies, neutralkills, 
    # towerkills, raxkills, courierkills, wins, losses, killstotal, deathstotal, creepkillstotal, 
    # creepdeniestotal,assiststotal, neutralkillstotal, towerkillstotal, raxkillstotal, courierkillstotal
    # default formula: 
    # (((wins-losses)/totgames)+(kills-deaths+assists/2)+(creepkills/100+creepdenies/10+neutralkills/50)+(raxkills/6)+(towerkills/11))
    # alternative formula:
    # (((kills-deaths+assists*0.7)*0.6+towerkills*0.8+raxkills+creepkills*0.02+creepdenies*0.08+neutralkills*0.03+courierkills*0.04)*0.5+(wins/totgames*2)+(totgames*0.002))
    
    bot_scoreformula = (((wins-losses)/totgames)+(kills-deaths+assists/2)+(creepkills/100+creepdenies/10+neutralkills/50)+(raxkills/6)+(towerkills/11))
    
    # Only players having played this many number of games will be ranked
    bot_scoremingames = 2
    
    # default access for owners (use admin access panel to change any admin's access to your liking and see the access code for those commands)
    bot_owneraccess = 0
    
    # default access for admins
    bot_adminaccess = 2943
    
    # gamestate for inhouse games
    bot_gamestateinhouse = 999
    
    #  will only auto ban if team diff <= with the setting
    bot_autobanteamdiffmax = 0
    
    # Only ban players who leave prior to x minutes of game end time.
    bot_autobangameendmins = 1
    
    bot_autobantimer = 30
    bot_autobanall = 1
    bot_autobanfirstxleavers = 2
    
    # the bot will auto rehost the game as gamename + 1 if 60 seconds have passed since last player joined, 0 = disable
    bot_autorehostdelay = 5
    
    # the bot will auto rehost the game as gamename + 1 if game name is taken
    bot_rehostifnametaken = 1
    
    # if host counter goes over this number it will reset to 1, set to 0 to disable the feature
    bot_maxhostcounter = 1000
    
    # these words will be edited/censored in game.
    bot_censorwords = 
    
    # load in game feature will be enabled for every map (if set to 1)
    bot_forceloadingame = 1
    
    # After a game has ended, if mysql is used, ghost will run update_dota_elo.exe (use either this or score not both!)
    bot_updatedotaeloaftergame = 0
    
    # After a game has ended, if mysql is used, ghost will recalculate scores (use either this or elo not both!)
    bot_updatedotascoreaftergame = 0
    
    # set to 1 if you are using warcraft 3 patch 1.23 or newer
    bot_patch23ornewer = 1
    
    # set to 1 if you are using warcraft 3 patch 1.21
    bot_patch21 = 0
    
    # show .sd of anyone who enters the lobby (and has played games with the bot before)
    bot_showscoresonjoin = 1
    
    # setting bot_autohostmaximumgames > 0 will make ghost begin autohosting on startup
    bot_autohostmaximumgames = 4
    bot_autohostautostartplayers = 10
    bot_autohostallowstart = 1
    bot_autohostlocal = 0
    bot_autohostowner = AutoHostBot
    bot_autohostmapcfg = dota.cfg
    bot_autohostgamename = dota_brt
    
    # If you autohost a even playered two team map and want to auto ban leavers that make the game uneven turn this on. Will not ban admins or root admins. An example map would be DotA or Battleships.
    #     0 = off   1 = on
    bot_autoban = 1
    
    # set to 1 if you want LAN players to be considered admins
    bot_lanadmins = 0
    
    # set to 1 if you want local players (GArena) to be considered admins
    bot_localadmins = 0
    
    # the language file
    
    bot_language = languages.cfg
    
    # the path to your local Warcraft III directory
    #  this path must contain war3.exe, storm.dll, and game.dll
    #  this path must end in your system's path seperator (i.e. "\" on Windows or "/" on Linux)
    #  if this path contains War3Patch.mpq the bot will attempt to extract "Scripts\common.j" and "Scripts\blizzard.j" on startup and write them to bot_mapcfgpath (which is defined later in this file)
    #  common.j and blizzard.j are only required for automatically calculating map_crc, you do not need them if your map config files already contain map_crc
    
    bot_war3path = war/
    
    # the port GHost++ will host battle.net games on (this must be different from your admingame_port)
    
    bot_hostport = 6116
    
    # maximum number of games to host at once
    
    bot_maxgames = 5
    
    # command trigger for ingame only (battle.net command triggers are defined later)
    
    bot_commandtrigger = !
    
    # the path to the directory where you keep your map config files (must end in your system's path seperator)
    #  this directory can also contain common.j and blizzard.j (extracted from War3Patch.mpq)
    #  common.j and blizzard.j are only required for automatically calculating map_crc, you do not need them if your map config files already contain map_crc
    
    bot_mapcfgpath = mapcfgs/
    
    # the path to the directory where you keep your savegame files (must end in your system's path seperator)
    
    bot_savegamepath = savegames/
    
    # the path to the directory where you keep your map files (must end in your system's path seperator)
    #  GHost++ doesn't require map files but if it has access to them it can send them to players and automatically calculate most map config values
    #  GHost++ will search [bot_mappath + map_localpath] for the map file (map_localpath is set in each map's config file)
    
    bot_mappath = war/Maps/
    
    # whether to save replays or not
    
    bot_savereplays = 0
    
    # the path to the directory where you want GHost++ to save replays (must end in your system's path seperator)
    
    bot_replaypath = replays/
    
    ### the Warcraft 3 version to save replays as
    
    replay_war3version = 26
    
    ### the Warcraft 3 build number to save replays as (this is specific to each Warcraft 3 version)
    ###  patch 1.23:  war3version 23, buildnumber 6058
    ###  patch 1.24:  war3version 24, buildnumber 6059
    ###  patch 1.24b: war3version 24, buildnumber 6059
    
    replay_buildnumber = 6061
    
    ### whether to do automatic spoof checks or not
    ###  you can always manually spoof check by whispering the bot (and in fact this is required before running admin commands)
    ###  set to 0 to disable automatic spoof checks
    ###  set to 1 to enable automatic spoof checks on all players
    ###  set to 2 to enable automatic spoof checks on potential admins only
    
    bot_spoofchecks = 1
    
    ### whether to require spoof checks or not
    ###  this controls whether the bot will require players to spoof check before starting the game
    ###  it does NOT control whether the bot will require players to spoof check before running admin commands - spoof checks are ALWAYS required for admin status
    ###  if you require spoof checks, players will be kicked from the lobby if they haven't spoof checked within 20 seconds of joining (autohosted games only)
    
    bot_requirespoofchecks = 0
    
    # whether to display game refresh messages by default
    #  this can always be changed for a particular game with the !refresh command
    
    bot_refreshmessages = 0
    
    # whether to automatically lock games when the owner joins
    
    bot_autolock = 0
    
    # whether to automatically save games when a player disconnects
    #  this can always be changed for a particular game with the !autosave command
    
    bot_autosave = 0
    
    # whether to allow map downloads or not
    #  set to 0 to disable map downloads
    #  set to 1 to enable map downloads
    #  set to 2 to enable conditional map downloads (an admin must start each map download with the !download or !dl command)
    
    bot_allowdownloads = 1
    
    # whether to ping players during map downloads or not
    #  GHost++ will always stop pinging any players who are downloading the map
    #  this config value determines whether GHost++ should stop pinging *all* players when at least one player is downloading the map
    
    bot_pingduringdownloads = 0
    
    # kicked banned people when they enter the channel
    bot_kickbannedfromchannel = 0
    
    # Ban banned people when they enter the channel
    bot_banbannedfromchannel = 0
    
    # use LC style pings (divide actual pings by two)
    
    bot_lcpings = 1
    
    # auto kick players with ping higher than this
    
    bot_autokickping = 400
    
    # the game latency
    #  this can always be changed for a particular game with the !latency command (which enforces a minimum of 50 and a maximum of 500)
    
    bot_latency = 90
    
    # the maximum number of packets a player is allowed to get out of sync by before starting the lag screen
    #  before version 8.0 GHost++ did not have a lag screen which is the same as setting this to a very high number
    #  this can always be changed for a particular game with the !synclimit command (which enforces a minimum of 10 and a maximum of 10000)
    
    bot_synclimit = 90
    
    # whether votekicks are allowed or not
    
    bot_votekickallowed = 1
    
    # the percentage of players required to vote yes for a votekick to pass
    #  the player starting the votekick is assumed to have voted yes and the player the votekick is started against is assumed to have voted no
    #  the formula for calculating the number of votes needed is votes_needed = ceil( ( num_players - 1 ) * bot_votekickpercentage / 100 )
    #  this means it will round UP the number of votes required
    #  if you set it to 100 it will require 2/3, 3/4, 4/5, 5/6, 6/7, 7/8, 8/9, 9/10, 10/11, and 11/12 votes to pass
    #  if you set it to 90 it will require 2/3, 3/4, 4/5, 5/6, 6/7, 7/8, 8/9, 9/10, 9/11, and 10/12 votes to pass
    #  if you set it to 80 it will require 2/3, 3/4, 4/5, 4/6, 5/7, 6/8, 7/9, 8/10, 8/11, and 9/12 votes to pass
    #  if you set it to 70 it will require 2/3, 3/4, 3/5, 4/6, 5/7, 5/8, 6/9, 7/10, 7/11, and 8/12 votes to pass
    #  if you set it to 60 it will require 2/3, 2/4, 3/5, 3/6, 4/7, 5/8, 5/9, 6/10, 6/11, and 7/12 votes to pass
    
    bot_votekickpercentage = 80
    
    # Just before a game is hosted the creator is added to the bots friends list and removed soon after 
    bot_addcreatorasfriendonhost = 0
    
    # lobby/game commands are displayed as chat (or hidden)
    bot_relaychatcommands = 1
    
    # display information on current downloads (speed, ETA)
    bot_showdownloadsinfo = 1
    
    # interval in seconds between download info message
    bot_showdownloadsinfotime = 5
    
    # maximum players allowed to download at once, the rest will have almost KB/s until someone finishes downloading
    bot_maxdownloaders = 2
    
    # set total download speed (KB/s) available for all clients at once, if set to 1024, 4 people will get 256 each
    bot_totaldownloadspeed = 1024
    
    # set max download speed (KB/s) available for one client
    bot_clientdownloadspeed = 512
    
    # initiate game over timer when x seconds have passed since world tree/frozen throne has fallen - 0 to disable
    bot_gameoverbasefallen = 1
    
    # initiate game over timer if remaining players are less than this number (and at least a player left) - 0 to disable
    bot_gameoverminplayers = 0
    
    # initiate game over timer if remaining player percentage is less than this number (and at least a player left) - 0 to disable
    bot_gameoverminpercent = 0
    
    # initiate game over timer if team difference is bigger than this number, 0 - to disable
    bot_gameovermaxteamdifference = 0
    
    # redirect console output to udp
    bot_udpconsole = 1
    
    # whether to automatically add the players from last game to the next game's reserved list
    bot_holdplayersforrmk = 0
    
    # non admin commands, 1 enable, 0 disable
    bot_nonadmincommands = 1
    
    # root admins are required to spoof check if 1, or not if 0
    bot_rootadminsspoofcheck = 1
    
    # admins are required to spoof check if 1, or not if 0
    bot_adminsspoofcheck = 1
    
    # banned players will be notified with a whisper.
    bot_notifybannedplayers = 1
    
    # ghost will find its external ip on startup, disable if you want to play on LAN only
    bot_findexternalip = 1
    
    # specify your external ip here if you don't want ghost to auto find it.
    bot_externalip = 
    
    # use alternative site for external ip finding (if you experience lag (30s) on ghost startup)
    bot_altfindip = 0
    
    # bot's additional rootadmins separated by space ex: userone usertwo userthree
    bot_rootadmins = replod GiZZmo
    
    # bot's UDP password
    bot_udppassword = tx5555
    
    # show autokick denied country or banned player messages
    bot_verbose = 0
    
    # bot's virtual host name
    bot_virtualhostname = HostBot
    
    # ignore drop request for the first x seconds of lagging.
    bot_dropvotetime = 100
    
    # Time limit for hosting a game where no admins enter it
    bot_lobbytimelimit = 30
    
    # udp ip
    udp_cmdbindip = 0.0.0.0
    
    # udp port
    udp_cmdport = 6969
    
    # udp spoof target
    udp_cmdspooftarget =
    
    
    ############################
    # ADMIN GAME CONFIGURATION #
    ############################
    
    # whether to create the admin game or not (see readme.txt for more information)
    
    admingame_create = 0
    
    # the port GHost++ will host the admin game on (this must be different from your bot_hostport)
    
    admingame_port = 6117
    
    # the admin game password
    
    admingame_password = 1
    
    ##########################
    # DATABASE CONFIGURATION #
    ##########################
    
    # database type
    #  use "sqlite3" for a local SQLite database
    #  use "mysql" for any MySQL database
    
    db_type = mysql
    
    # sqlite3 database file
    
    db_sqlite3_file = ghost.dbs
    
    # this is only used if your database type is MySQL
    
    db_mysql_server = localhost
    db_mysql_database = ghost
    db_mysql_user = root
    db_mysql_password = *******
    db_mysql_port = 3306
    
    
    bnet_custom_war3version = 26
    bnet_custom_exeversion = 1 0 26 1
    bnet_custom_exeversionhash = 194 206 231 242
    bnet_custom_passwordhashtype = pvpgn
    
    Вот проверте правильно ли все стоит или нет.. Заранее благодарен
  4. RePlod Ньюфаг

    Сообщения:
    5
    Спасибы:
    0
    В общем я уже разобрался почему пишет startadevx3 failed, так это потому что я в pvpgn добавлял одну базу так называемый запрет на создания игр auth_createnormalgame стоял false но потом поменял на true :facepalm: теперь уже создает карту нормально :D .