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

[TCPCLIENT] error (gethostbyname)

Тема в разделе 'Запуск и Поддержка', создана пользователем Volt, 23 сен 2011.

  1. Volt Ньюфаг

    Сообщения:
    13
    Спасибы:
    0
    Вот такая вот неожиданная проблема.
    GHostCb, последняя версия.

    Меня терзают смутные сомнения, что бот не может определить внешний айпи, поэтому и пытается найти сервера в локальной сети. На этой же машине есть GHostOne, с ним никаких проблем нет, определяет внешний айпи на ура и спокойно подключается к серверам. Конфиг от GHostOne, скопированый в папку GHostCb, никаких результатов не дал, эффект такой же.

    У кого есть какие идеи?

    Лог бота:
    Код:
    [Fri Sep 23 14:13:48 2011] [GHOST] starting up
    [Fri Sep 23 14:13:48 2011] [GHOST] using log method 2, logging is enabled and [ghost.log] is now locked
    [Fri Sep 23 14:13:48 2011] [GHOST] using Windows timer with resolution 1 milliseconds
    [Fri Sep 23 14:13:48 2011] [GHOST] starting winsock
    [Fri Sep 23 14:13:48 2011] [GHOST] setting process priority to "above normal"
    [Fri Sep 23 14:13:48 2011] [UDPSOCKET] using default broadcast target
    [Fri Sep 23 14:13:48 2011] [GHOST] opening primary database
    [Fri Sep 23 14:13:48 2011] [SQLITE3] version 3.6.16
    [Fri Sep 23 14:13:48 2011] [SQLITE3] opening database [ghost.dbs]
    [Fri Sep 23 14:13:48 2011] [SQLITE3] found schema number [7_b]
    [Fri Sep 23 14:13:48 2011] [GHOST] opening secondary (local) database
    [Fri Sep 23 14:13:48 2011] [SQLITE3] version 3.6.16
    [Fri Sep 23 14:13:48 2011] [SQLITE3] opening database [ghost.dbs]
    [Fri Sep 23 14:13:48 2011] [SQLITE3] found schema number [7_b]
    [Fri Sep 23 14:13:48 2011] [GHOST] attempting to find local IP addresses
    [Fri Sep 23 14:13:48 2011] [GHOST] local IP address #1 is [10.204.201.177]
    [Fri Sep 23 14:13:48 2011] [GHOST] local IP address #2 is [127.0.0.1]
    [Fri Sep 23 14:13:48 2011] [GHOST] acting as Warcraft III: The Frozen Throne
    [Fri Sep 23 14:13:48 2011] [CONFIG] loading file [language.cfg]
    [Fri Sep 23 14:13:48 2011] [GHOST] found battle.net connection #1 for server [uswest.battle.net]
    [Fri Sep 23 14:13:48 2011] [GHOST] using system locale of 1049
    [Fri Sep 23 14:13:48 2011] [GHOST] found battle.net connection #2 for server [europe.battle.net]
    [Fri Sep 23 14:13:48 2011] [GHOST] using system locale of 1049
    [Fri Sep 23 14:13:48 2011] [GHOST] found battle.net connection #3 for server [useast.battle.net]
    [Fri Sep 23 14:13:48 2011] [GHOST] using system locale of 1049
    [Fri Sep 23 14:13:48 2011] [GHOST] found battle.net connection #4 for server [asia.battle.net]
    [Fri Sep 23 14:13:48 2011] [GHOST] using system locale of 1049
    [Fri Sep 23 14:13:48 2011] [GHOST] found battle.net connection #5 for server [w3.gamergrad.ru]
    [Fri Sep 23 14:13:48 2011] [GHOST] using system locale of 1049
    [Fri Sep 23 14:13:48 2011] [GHOST] found battle.net connection #6 for server [server.eurobattle.net]
    [Fri Sep 23 14:13:48 2011] [GHOST] using system locale of 1049
    [Fri Sep 23 14:13:48 2011] [GHOST] found battle.net connection #7 for server [war3.alkar.net]
    [Fri Sep 23 14:13:48 2011] [GHOST] using system locale of 1049
    [Fri Sep 23 14:13:48 2011] [GHOST] found battle.net connection #8 for server [europe.warcraft3.eu]
    [Fri Sep 23 14:13:48 2011] [GHOST] using system locale of 1049
    [Fri Sep 23 14:13:48 2011] [GHOST] loading MPQ file [F:\Games\Warcraft III\War3Patch.mpq]
    [Fri Sep 23 14:13:48 2011] [GHOST] extracting Scripts\common.j from MPQ file to [mapcfgs\common.j]
    [Fri Sep 23 14:13:48 2011] [GHOST] extracting Scripts\blizzard.j from MPQ file to [mapcfgs\blizzard.j]
    [Fri Sep 23 14:13:48 2011] [GHOST] adding ".cfg" to default map -> new default is [Gaias Retaliation v1.1h.cfg]
    [Fri Sep 23 14:13:48 2011] [CONFIG] loading file [mapcfgs\Gaias Retaliation v1.1h.cfg]
    [Fri Sep 23 14:13:48 2011] [MAP] loading MPQ file [F:\Games\Warcraft III\Maps\Download\Gaias Retaliation v1.1h.w3x]
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_size = 222 64 112 0
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_info = 156 157 12 137
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_crc = 226 144 172 102
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_sha1 = 34 189 44 28 10 58 66 194 174 126 155 236 30 109 31 236 212 2 190 15
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_options = 96
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_width = 212 1
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_height = 248 0
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_numplayers = 7
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_numteams = 2
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_slot1 = 0 255 0 0 0 0 32 1 100
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_slot2 = 0 255 0 0 0 1 32 1 100
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_slot3 = 0 255 0 0 0 2 32 1 100
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_slot4 = 0 255 0 0 0 3 32 1 100
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_slot5 = 0 255 0 0 0 4 32 1 100
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_slot6 = 0 255 0 0 0 5 32 1 100
    [Fri Sep 23 14:13:48 2011] [MAP] calculated map_slot7 = 0 255 2 1 1 6 1 1 100
    [Fri Sep 23 14:13:48 2011] [MAP] overriding calculated map_size with config value map_size = 222 64 112 0
    [Fri Sep 23 14:13:48 2011] [MAP] overriding calculated map_info with config value map_info = 156 157 12 137
    [Fri Sep 23 14:13:48 2011] [MAP] overriding calculated map_crc with config value map_crc = 226 144 172 102
    [Fri Sep 23 14:13:48 2011] [MAP] overriding calculated map_sha1 with config value map_sha1 = 34 189 44 28 10 58 66 194 174 126 155 236 30 109 31 236 212 2 190 15
    [Fri Sep 23 14:13:49 2011] [MAP] overriding calculated map_width with config value map_width = 212 1
    [Fri Sep 23 14:13:49 2011] [MAP] overriding calculated map_height with config value map_height = 248 0
    [Fri Sep 23 14:13:49 2011] [MAP] overriding calculated map_numplayers with config value map_numplayers = 7
    [Fri Sep 23 14:13:49 2011] [MAP] overriding calculated map_numteams with config value map_numteams = 2
    [Fri Sep 23 14:13:49 2011] [MAP] overriding slots
    [Fri Sep 23 14:13:49 2011] [GHOST] using hardcoded admin game map
    [Fri Sep 23 14:13:49 2011] [MAP] using hardcoded Emerald Gardens map data for Warcraft 3 version 1.24 & 1.24b
    [Fri Sep 23 14:13:49 2011] [GHOST] started loading [ip-to-country.csv]
    [Fri Sep 23 14:13:49 2011] [GHOST] iptocountry data: 10% loaded
    [Fri Sep 23 14:13:49 2011] [GHOST] iptocountry data: 20% loaded
    [Fri Sep 23 14:13:50 2011] [GHOST] iptocountry data: 30% loaded
    [Fri Sep 23 14:13:50 2011] [GHOST] iptocountry data: 40% loaded
    [Fri Sep 23 14:13:50 2011] [GHOST] iptocountry data: 50% loaded
    [Fri Sep 23 14:13:51 2011] [GHOST] iptocountry data: 60% loaded
    [Fri Sep 23 14:13:51 2011] [GHOST] iptocountry data: 70% loaded
    [Fri Sep 23 14:13:52 2011] [GHOST] iptocountry data: 80% loaded
    [Fri Sep 23 14:13:52 2011] [GHOST] iptocountry data: 90% loaded
    [Fri Sep 23 14:13:52 2011] [GHOST] iptocountry data: 100% loaded
    [Fri Sep 23 14:13:52 2011] [GHOST] finished loading [ip-to-country.csv]
    [Fri Sep 23 14:13:52 2011] [GHOST] GHost++ Version 17.1 (with MySQL support)
    [Fri Sep 23 14:13:52 2011] [BNET: USWest] connecting to server [uswest.battle.net] on port 6112
    [Fri Sep 23 14:13:52 2011] [TCPCLIENT] error (gethostbyname)
    [Fri Sep 23 14:13:52 2011] [BNET: Europe] connecting to server [europe.battle.net] on port 6112
    [Fri Sep 23 14:13:52 2011] [TCPCLIENT] error (gethostbyname)
    [Fri Sep 23 14:13:52 2011] [BNET: USEast] connecting to server [useast.battle.net] on port 6112
    [Fri Sep 23 14:13:52 2011] [TCPCLIENT] error (gethostbyname)
    [Fri Sep 23 14:13:52 2011] [BNET: Asia] connecting to server [asia.battle.net] on port 6112
    [Fri Sep 23 14:13:55 2011] [TCPCLIENT] error (gethostbyname)
    [Fri Sep 23 14:13:55 2011] [BNET: w3.gamergrad.ru] connecting to server [w3.gamergrad.ru] on port 6112
    [Fri Sep 23 14:13:57 2011] [TCPCLIENT] error (gethostbyname)
    [Fri Sep 23 14:13:57 2011] [BNET: server.eurobattle.net] connecting to server [server.eurobattle.net] on port 6112
    [Fri Sep 23 14:13:57 2011] [TCPCLIENT] error (gethostbyname)
    [Fri Sep 23 14:13:57 2011] [BNET: war3.alkar.net] connecting to server [war3.alkar.net] on port 6112
    [Fri Sep 23 14:13:59 2011] [TCPCLIENT] error (gethostbyname)
    [Fri Sep 23 14:13:59 2011] [BNET: europe.warcraft3.eu] connecting to server [europe.warcraft3.eu] on port 6112
    [Fri Sep 23 14:13:59 2011] [TCPCLIENT] error (gethostbyname)
    [Fri Sep 23 14:13:59 2011] [BNET: USWest] disconnected from battle.net due to socket error
    [Fri Sep 23 14:13:59 2011] [BNET: USWest] waiting 90 seconds to reconnect
    [Fri Sep 23 14:13:59 2011] [BNET: Europe] disconnected from battle.net due to socket error
    [Fri Sep 23 14:13:59 2011] [BNET: Europe] waiting 90 seconds to reconnect
    [Fri Sep 23 14:13:59 2011] [BNET: USEast] disconnected from battle.net due to socket error
    [Fri Sep 23 14:13:59 2011] [BNET: USEast] waiting 90 seconds to reconnect
    [Fri Sep 23 14:13:59 2011] [BNET: Asia] disconnected from battle.net due to socket error
    [Fri Sep 23 14:13:59 2011] [BNET: Asia] waiting 90 seconds to reconnect
    [Fri Sep 23 14:13:59 2011] [BNET: w3.gamergrad.ru] disconnected from battle.net due to socket error
    [Fri Sep 23 14:13:59 2011] [BNET: w3.gamergrad.ru] waiting 90 seconds to reconnect
    [Fri Sep 23 14:13:59 2011] [BNET: server.eurobattle.net] disconnected from battle.net due to socket error
    [Fri Sep 23 14:13:59 2011] [BNET: server.eurobattle.net] waiting 90 seconds to reconnect
    [Fri Sep 23 14:13:59 2011] [BNET: war3.alkar.net] disconnected from battle.net due to socket error
    [Fri Sep 23 14:13:59 2011] [BNET: war3.alkar.net] waiting 90 seconds to reconnect
    [Fri Sep 23 14:13:59 2011] [BNET: europe.warcraft3.eu] disconnected from battle.net due to socket error
    [Fri Sep 23 14:13:59 2011] [BNET: europe.warcraft3.eu] waiting 90 seconds to reconnect
    
    Конфиг:
    Код:
    ########################
    # CURSES CONFIGURATION #
    ########################
    
    ### the term buffer size / window size
    
    term_width = 135
    term_height = 52
    
    ### enable curses user interface
    
    curses_enabled = 1
    
    ### enable split view in realm windows
    
    curses_splitview = 1
    
    ### 0: horizontal lists, anything else: vertical lists
    
    curses_listtype = 1
    
    ###############################
    # GHost++ CUSTOM BUILD EXTRAS #
    ###############################
    
    ### HCL from Game Name
    
    bot_hclfromgamename = 0
    
    ### Force the load-in-game feature
    
    bot_forceloadingame = 0
    
    ### List of countries to allow based on the two-letter country codes
    ### Don't separate entries with spaces or commas or anything, leave blank or comment out to allow 
    ### Example: approvedcountries = USCA
    
    bot_approvedcountries = 
    
    ### Set this to 1 to mimic the Warcraft III game start countdown
    ### Note, you will be unable to properly abort a Warcraft III game start countdown
    ### Set this to 0 to set back to Ghost's normal countdown
    
    bot_usenormalcountdown = 1
    
    ### Reload "bot_allowdownloads" after a game starts
    ###  0 - off (default) / 1 - on
    
    bot_resetdownloads = 0
    
    ### Do not show who sent an admin command, if they are an admin
    ###  0 - show all commands / 1 - hide admin commands
    ###  The results (ex. "Shuffling Players") is still shown
    
    bot_hideadmincommands = 1
    
    ### Only whisper command responses instead of sending through public chat
    ###  0 - normal operation / 1 - most commands are responded with a whisper
    
    bot_whisperresponses = 1
    
    ### LAN Admins
    ###  0 - off (default) / 1 - LAN players will be Admins / 2 - LAN players will be Root Admins / 3 - Unspecified LAN players will be admins
    
    lan_admins = 0
    
    ### Get LAN Admins from a list (lan_rootadmins)
    ###  0 - off (default) / 1 - on
    ###  if lan_admins = 1 & lan_getrootadmins = 1, will recognize players as admins joining from LAN only with the names specified for lan_rootadmins.
    ###  if lan_admins = 2 & lan_getrootadmins = 1, will recognize players as root admins joining from LAN only with the names specified for lan_rootadmins.
    ###  if lan_admins = 3 & lan_getrootadmins = 1, will recognize players as root admins joining from LAN with the names specified for lan_rootadmins,
    ###   any other players will be admins
    
    lan_getrootadmins = 0
    
    ### LAN Admins list
    ###  the (root) admins on LAN players
    ###  seperate each name with a space, e.g. lan_rootadmins = Varlock Kilranin Instinct121
    
    lan_rootadmins = ***
    
    #####################
    # BOT CONFIGURATION #
    #####################
    
    ### the log file
    
    bot_log = ghost.log
    
    ### the log method
    ###  set this to 1 to leave the log unlocked while GHost++ is running (may be slower, particularly on Windows)
    ###  set this to 2 to lock the log while GHost++ is running (may be faster, particularly on Windows)
    ###  note: if the log is locked you will not be able to edit/move/delete it while GHost++ is running
    
    bot_logmethod = 2
    
    ### the language file
    
    bot_language = language.cfg
    
    ### the path to your local Warcraft III directory
    ###  this path must contain war3.exe, storm.dll, and game.dll
    ###  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 = F:\Games\Warcraft III
    
    ### whether to act as Warcraft III: The Frozen Throne or not
    ###  set this to 0 to act as Warcraft III: Reign of Chaos (you WILL NOT need to enter a TFT cd key to login to battle.net)
    ###  set this to 1 to act as Warcraft III: The Frozen Throne (you WILL need to enter a TFT cd key to login to battle.net)
    
    bot_tft = 1
    
    ### the address GHost++ will bind to when hosting games (leave it blank to bind to all available addresses)
    ###  if you don't know what this is just leave it blank
    
    bot_bindaddress = 
    
    ### the port GHost++ will host games on (this must be different from your admingame_port)
    
    bot_hostport = 6112
    
    ### whether to allow GProxy++ reliable reconnects or not
    ###  you should ensure that bot_synclimit is set to a reasonable value if you choose to allow GProxy++ reliable reconnects
    ###  a reasonable value is 5000 divided by bot_latency, e.g. if bot_latency is 100 use a value of 50 for bot_synclimit
    
    bot_reconnect = 0
    
    ### the port GHost++ will listen for GProxy++ reliable reconnects on
    
    bot_reconnectport = 6114
    
    ### the maximum number of minutes to wait for a GProxy++ client to reconnect to the game
    ###  if you set this to 0 or 1 GHost++ will wait for up to 1 minute
    ###  if you set this to 10 or more GHost++ will only wait for up to 10 minutes
    ###  due to the way GProxy++ works, increasing this value increases bandwidth requirements and CPU requirements on the players' computers
    ###  players can always vote to drop a player who is lagging after waiting 45 seconds regardless of this value
    
    bot_reconnectwaittime = 3
    
    ### maximum number of games to host at once
    
    bot_maxgames = 11
    
    ### 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
    ###  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
    
    bot_savegamepath = savegames
    
    ### the path to the directory where you keep your map files
    ###  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 = F:\Games\Warcraft III\Maps\Download\
    
    ### whether to save replays or not
    
    bot_savereplays = 1
    
    ### the path to the directory where you want GHost++ to save replays
    
    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 = 6060
    
    ### the bot's virtual host name as it appears in the game lobby
    ###  colour codes are defined by the sequence "|cFF" followed by a six character hexadecimal colour in RRGGBB format (e.g. 0000FF for pure blue)
    ###  the virtual host name cannot be longer than 15 characters including the colour code, if you try to go over this limit GHost++ will use the default virtual host name
    
    bot_virtualhostname = Admin
    
    ### whether to hide each player's IP address from other players or not
    
    bot_hideipaddresses = 1
    
    ### whether to check for multiple IP address usage or not
    
    bot_checkmultipleipusage = 1
    
    ### 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 consider admins and root admins as reserved players or not
    ###  reserved players are allowed to join full games because another player will be kicked to allow them to join
    
    bot_reserveadmins = 1
    
    ### 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
    
    ### the maximum number of players allowed to download the map at the same time
    
    bot_maxdownloaders = 4
    
    ### the maximum combined download speed of all players downloading the map (in KB/sec)
    
    bot_maxdownloadspeed = 2048
    
    ### use LC style pings (divide actual pings by two)
    
    bot_lcpings = 1
    
    ### auto kick players with ping higher than this
    
    bot_autokickping = 1000
    
    ### the ban method
    ###  if bot_banmethod = 1, GHost++ will automatically reject players using a banned name, and will print a message if it only recognizes the IP address
    ###  if bot_banmethod = 2, GHost++ will automatically reject players using a banned IP address
    ###  if bot_banmethod = 3, GHost++ will automatically reject players using a banned name or IP address
    ###  if bot_banmethod is anything else GHost++ will print a message when a banned player joins but will not automatically reject them
    
    bot_banmethod = 3
    
    ### the IP blacklist file
    
    bot_ipblacklistfile = ipblacklist.txt
    
    ### automatically close the game lobby if a reserved player (or admin) doesn't join it for this many minutes
    ###  games which are set to automatically start when enough players join are exempt from this limit (e.g. autohosted games)
    
    bot_lobbytimelimit = 260
    
    ### the game latency
    ###  this can always be changed for a particular game with the !latency command (which enforces a minimum of 20 and a maximum of 500)
    
    bot_latency = 150
    
    ### 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 = 100
    
    ### 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 = 60
    
    ### the default map config (the ".cfg" will be added automatically if you leave it out)
    
    bot_defaultmap = Gaias Retaliation v1.1h
    
    ### the MOTD file
    ###  the first 8 lines of this file will be displayed when a player joins the game
    ###  if this file doesn't exist a default MOTD will be used
    
    bot_motdfile = motd.txt
    
    ### the gameloaded file
    ###  the first 8 lines of this file will be displayed when the game finished loading (after the player loading times are displayed)
    
    bot_gameloadedfile = gameloaded.txt
    
    ### the gameover file
    ###  the first 8 lines of this file will be displayed when the game is over
    ###  this only works when using a stats class - note: at the time of this writing the only stats class is for DotA maps
    
    bot_gameoverfile = gameover.txt
    
    ### whether to send "local admin messages" or not
    ###  these messages are battle.net chat messages, whispers, and emotes which the bot receives and passes on to the "local admin"
    ###  the local admin is the game owner if they are playing from a LAN or the same computer as the bot
    ###  this is useful when you are using the admin game to play with one set of CD keys and you want messages sent to the bot to be relayed to you
    ###  you can enable or disable this for a particular game with the !messages command
    
    bot_localadminmessages = 1
    
    ### the "TCP no delay" flag
    ###  this controls whether or not your operating system should use the "no delay" algorithm on game sockets
    ###  the algorithm is designed to reduce latency by sending data in small packets as soon as possible rather than waiting to send a single larger packet
    ###  enabling this algorithm requires additional bandwidth because it is a less efficient way of sending data
    ###  however, it may reduce game latencies in some cases
    
    tcp_nodelay = 1
    
    ### the matchmaking method
    ###  this controls how the bot matches players when they join the game when using !autohostmm
    ###  set it to 0 to disable matchmaking (first come first served, even if their scores are very different)
    ###  set it to 1 to use the "furthest score" method (the player with the furthest score from the average is kicked to make room for another player)
    ###  set it to 2 to use the "lowest score" method (the player with the lowest score is kicked to make room for another player)
    
    bot_matchmakingmethod = 1
    
    ############################
    # 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 = 5649
    
    ### the admin game password
    
    admingame_password = 
    
    ### the default map config to use in the admin game
    ###  if this value is blank the bot will use a hardcoded map instead
    ###  it's recommended that you use the hardcoded map instead of specifying a different one
    ###  this value exists because the hardcoded map is specific to Warcraft 3 versions and you may wish to use a previous or newer version
    ###  the ".cfg" will be added automatically if you leave it out
    
    admingame_map = 
    
    #####################
    # LAN CONFIGURATION #
    #####################
    
    ### the Warcraft 3 version to use when broadcasting LAN games
    
    lan_war3version = 26.0.6401
    
    ### the UDP broadcast target
    ###  if this value is blank the bot will try to broadcast LAN games on the default interface which is chosen by your operating system
    ###  sometimes your operating system will choose the wrong interface when more than one exists
    ###  therefore you can use this value to force the bot to use a specific interface
    ###  for example you may set it to "192.168.1.255" to broadcast LAN games to the 192.168.1.x subnet
    
    udp_broadcasttarget = 
    
    ### the UDP "don't route" flag
    
    udp_dontroute = 0
    
    ##########################
    # AUTOHOST CONFIGURATION #
    ##########################
    
    ### this section of the config file is for enabling autohost when the bot starts up without having to issue a command
    ### you can activate the autohost feature without changing anything here by using the !autohost command
    
    autohost_maxgames = 10
    autohost_startplayers = 4
    autohost_gamename = [ORPG]GaiasRetaliation
    autohost_owner = ***
    
    ##########################
    # DATABASE CONFIGURATION #
    ##########################
    
    ### database type
    ###  use "sqlite3" for a local SQLite database
    ###  use "mysql" for any MySQL database
    
    db_type = sqlite3
    
    ### sqlite3 database configuration
    ###  this is only used if your database type is SQLite
    
    db_sqlite3_file = ghost.dbs
    
    ### mysql database configuration
    ###  this is only used if your database type is MySQL
    
    db_mysql_server = localhost
    db_mysql_database = ghost
    db_mysql_user = YOUR_USERNAME
    db_mysql_password = YOUR_PASSWORD
    db_mysql_port = 0
    
    ### the bot ID is included each time the bot adds data to the MySQL database
    ### it is used to identify where each row of data came from when you configure multiple bots to connect to the same MySQL database
    ### GHost++ does not use the bot ID number itself, it's just to help you keep track of the data in your database
    
    db_mysql_botid = 1
    
    ############################
    # BATTLE.NET CONFIGURATION #
    ############################
    
    ### which battle.net server to connect to
    ###  1.) useast.battle.net
    ###  2.) uswest.battle.net
    ###  3.) asia.battle.net
    ###  4.) europe.battle.net
    ### note that each banned player is tied to the realm it was created on and the realm is case sensitive
    ### so if you change your realm from useast.battle.net to USEAST.BATTLE.NET it'll still connect but anyone previously banned will not be counted as banned until you change it back
    
    #bnet_server = useast.battle.net
    
    ### the server alias
    ### this name will be used to identify the battle.net server in the GHost++ console
    ### if you leave it blank it will use a short name such as "USEast" for official battle.net servers or it will use the actual server address
    
    #bnet_serveralias = USEast
    
    ### your Warcraft III: Reign of Chaos CD key
    ### you cannot use the same CD key here that you yourself use to login to battle.net if you plan to login at the same time as your bot
    
    #bnet_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
    
    ### your Warcraft III: The Frozen Throne CD key
    ### you cannot use the same CD key here that you yourself use to login to battle.net if you plan to login at the same time as your bot
    
    #bnet_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
    
    ### the locale specifies the area of the world you are from
    ### battle.net uses this to group players together, showing them games hosted by players and bots mostly from their own area
    ### it's important to set this to the correct value to increase the effectiveness of the game refresher
    ### if you are using Windows you can set this to "system" to use the locale of your system
    ### otherwise you can use the list at the following URL to get the correct value for your area:
    ### http://msdn.microsoft.com/en-us/library/0h88fahh%28VS.85%29.aspx
    ### put the "decimal value" here, e.g. 1033 is the default for "English - United States"
    ### note: you cannot use a value of "system" on Linux, doing so will use a default value of 1033 instead
    
    #bnet_locale = system
    
    ### your battle.net username
    ### you cannot use the same username here that you yourself use to login to battle.net if you plan to login at the same time as your bot
    
    #bnet_username = 
    
    ### your battle.net password
    
    #bnet_password = 
    
    ### the first channel to join upon entering battle.net
    
    #bnet_firstchannel = The Void
    
    ### the root admins on this battle.net server only
    ###  seperate each name with a space, e.g. bnet_rootadmin = Varlock Kilranin Instinct121
    
    #bnet_rootadmin = 
    
    ### command trigger for this battle.net server only
    
    #bnet_commandtrigger = !
    
    ### whether to automatically add your friends list to each game's reserved list
    
    #bnet_holdfriends = 1
    
    ### whether to automatically add your clan members list to each game's reserved list
    
    #bnet_holdclan = 1
    
    ### whether to allow anonymous users (non admins) to use public commands such as !stats and !statsdota on this battle.net connection
    ### if you are having trouble with spammers causing your bot to flood the server you should disable this
    
    #bnet_publiccommands = 1
    
    ### BNLS server information for Warden handling (see readme.txt for more information)
    ###  you will need to use a valid BNLS server here if you are connecting to an official battle.net realm or you will be disconnected every two minutes
    
    #bnet_bnlsserver = localhost
    #bnet_bnlsport = 9367
    #bnet_bnlswardencookie = 1
    
    ### you will need to edit this section of the config file if you're connecting to a PVPGN server
    ###  your PVPGN server operator will tell you what to put here
    
    #bnet_custom_war3version = 24
    #bnet_custom_exeversion = 
    #bnet_custom_exeversionhash = 
    #bnet_custom_passwordhashtype = 
    #bnet_custom_pvpgnrealmname = PvPGN Realm
    
    
    ###USWest###
    bnet_server = uswest.battle.net
    bnet_serveralias = USWest
    bnet_cdkeyroc = ***
    bnet_cdkeytft = ***
    bnet_username = ***
    bnet_password = ***
    bnet_firstchannel = Bots
    bnet_rootadmin = ***
    bnet_publiccommands = 0
    bnet_custom_war3version = 26.0.6401
    
    
    ###Europe###
    bnet2_server = europe.battle.net
    bnet2_serveralias = Europe
    bnet2_cdkeyroc = ***
    bnet2_cdkeytft = ***
    bnet2_username = ***
    bnet2_password = ***
    bnet2_firstchannel = Bots
    bnet2_rootadmin = ***
    bnet2_custom_war3version = 26.0.6401
    
    
    ###USEast### 
    bnet3_server = useast.battle.net
    bnet3_serveralias = USEast
    bnet3_cdkeyroc = ***
    bnet3_cdkeytft = ***
    bnet3_username = ***
    bnet3_password = ***
    bnet3_firstchannel = Bots
    bnet3_rootadmin = ***
    bnet3_custom_war3version = 26.0.6401
    
    
    ###Asia### 
    bnet4_server = asia.battle.net
    bnet4_serveralias = Asia
    bnet4_cdkeyroc = ***
    bnet4_cdkeytft = ***
    bnet4_username = ***
    bnet4_password = ***
    bnet4_firstchannel = Bots
    bnet4_rootadmin = ***
    bnet4_custom_war3version = 26.0.6401
    
    ###Gamergrad.ru### 
    bnet5_server = w3.gamergrad.ru
    bnet5_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
    bnet5_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
    bnet5_username = ***
    bnet5_password = ***
    bnet5_firstchannel = Bots
    bnet5_rootadmin = ***
    bnet5_custom_war3version = 26.0.6401
    bnet5_custom_passwordhashtype = pvpgn
    bnet5_custom_pvpgnrealmname = Gamergrad
    
    
    ###Eurobattle###
    bnet6_server = server.eurobattle.net
    bnet6_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
    bnet6_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
    bnet6_username = ***
    bnet6_password = ***
    bnet6_firstchannel = Bots
    bnet6_rootadmin = ***
    bnet6_custom_war3version = 26.0.6401
    bnet6_custom_passwordhashtype = pvpgn
    bnet6_custom_pvpgnrealmname = Eurobattle
    
    
    ###Alkar###
    bnet7_server = war3.alkar.net
    bnet7_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
    bnet7_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
    bnet7_username = ***
    bnet7_password = ***
    bnet7_firstchannel = Bots
    bnet7_rootadmin = ***
    bnet7_custom_war3version = 26.0.6401
    bnet7_custom_passwordhashtype = pvpgn
    bnet7_custom_pvpgnrealmname = Alkar
    
    
    ###Warcraft3.eu###
    bnet8_server = europe.warcraft3.eu
    bnet8_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
    bnet8_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
    bnet8_username = ***
    bnet8_password = *** 
    bnet8_firstchannel = Bots
    bnet8_rootadmin = ***
    bnet8_custom_war3version = 26.0.6401
    bnet8_custom_passwordhashtype = pvpgn
    bnet8_custom_pvpgnrealmname = Europe.eu
    
    
    
  2. Volt Ньюфаг

    Сообщения:
    13
    Спасибы:
    0
    ***UPD***

    Стандартный GHost++ таких проблем не испытывает. Судя по всему, проблема только в GHostCb
  3. fake Старожила

    Сообщения:
    1.624
    Спасибы:
    19
    Дата начала использования бота:
    11.11.11
    ось какая?
    пробей ипы всех адрессов и вбей их