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

Решено Установка openstats

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

Статус темы:
Закрыта.
  1. askaban Ньюфаг

    Сообщения:
    3
    Спасибы:
    0
    Помогите! у меня ghost на фришке и стат тоже http://46.48.140.139/bnet/ | все что надо сделал, бот хостит. Но вот проблемы с статом. Брал с свн он вроде норм показывает все, только историю игр не показывает плюс еще в админ панель не заходит. А вот брал с опенсурс он нормально работает но как видите стоит на фришке вот и проблемы с chmod нигде не нашел в нете права доступа. За ранее благодарен :stenka: :stenka: :stenka: :stenka: :stenka:
  2. askaban Ньюфаг

    Сообщения:
    3
    Спасибы:
    0
    map_type = dota
    map_matchmakingcategory = dota_elo
    map_statsw3mmdcategory = w3mmd

    вроде как надо сделал

    карта map_path = Maps\Download\DotA v6.73c.w3x
  3. ViperNight ▒▒▒▒▒▒▒▒▒

    Сообщения:
    311
    Спасибы:
    154
    Сборка бота GHost:
    GHost++ r597M
    Дата начала использования бота:
    20.01.2007
    Skype:
    Мой статус
    Нужно в config.php, поставить $_debug в положение = 1, зайти на страницу игр и посмотреть в лог на предмет ошибок.
  4. frostyshad Ньюфаг

    Сообщения:
    3
    Спасибы:
    0
    Ne rabotayet OpenStats

    Ystanovil po instrukzii , no bot (GHost one 6.0) statistiky vedet, a po adresy localhost one ne obnovlyaets (OpenStats v 1.3.9) , AppServ v 2.5.10 ka-to tak.

    vot R:\AppServ\www
    Код:
    <?PHP  
    if (!isset($_SESSION)) {session_start();}
        ob_start();
    /*********************************************
    <!-- 
    *   	DOTA OPENSTATS
    *   
    *	Developers: Ivan.
    *	Contact: ivan.anta@gmail.com - Ivan
    *
    *	
    *	Please see http://openstats.iz.rs
    *	and post your webpage there, so I know who's using it.
    *
    *	Files downloaded from http://openstats.iz.rs
    *
    *	Copyright (C) 2010  Ivan
    *
    *
    *	This file is part of DOTA OPENSTATS.
    *
    * 
    *	 DOTA OPENSTATS is free software: you can redistribute it and/or modify
    *    it under the terms of the GNU General Public License as published by
    *    the Free Software Foundation, either version 3 of the License, or
    *    (at your option) any later version.
    *
    *    DOTA OPEN STATS is distributed in the hope that it will be useful,
    *    but WITHOUT ANY WARRANTY; without even the implied warranty of
    *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    *    GNU General Public License for more details.
    *
    *    You should have received a copy of the GNU General Public License
    *    along with DOTA OPENSTATS.  If not, see <http://www.gnu.org/licenses/>
    *
    -->
    **********************************************/
    
    $server = 'localhost';
    $username = '***';
    $password = '***';
    $database = 'ghost';
    
    $default_style = 'silverbullet';
    $default_language = 'english';
    
    $bans_per_page = '20';
    $games_per_page = '20';
    $heroes_per_page = '30';
    $top_players_per_page = '30';
    $news_per_page = '5';
    $search_limit = '50';
    
    //Enable SEO meta description
    $EnableSEODesc = '1';
    
    //This option will enable timed bans and warns (GhostOne feature).
    //Disable it if you dont use this feature or you will get error.
    $WarnAndExpireDate = '1';
    
    //Display fastest and longest game time win on User page
    $FastGameWon = '0';
    //Show frequently used items for every hero (2 for each slot)
    $ShowHeroMostUsedItems = '1';
    //Show most used heroes for every item. (Note: this can take up much more resources. Care with huge database)
    $ShowItemsMostUsedByHero = '1';
    //Show Items button on Menu buttons
    
    $enableItemsPage = '1';
    //Only for GhostOne
    $enableSafeListPage = '1'; 
    
    //All slots are shown on Game page (Although they play 2v2, 3v3...)
    //If this option is disabled then you can not see the exact slot of player. It will hide empty slots.
    $ShowAllSlotsInGame = '0';
    
    //Show total summary of all games (sentinel and scourge: wins, kills, creeps...)
    $ShowSentinelScourgeWon = '1';
    
    //Show Country Flags
    $CountryFlags = '1';
    
    //Show All Time Stats on Top page
    $AllTimeStats = '1';
    //All time stats. How many results to show for All time stats on Top page.
    $top_stats = '5';
    
    //Hide banned users on Top and Monthly page.
    $HideBannedUsersOnTop = '1';
    
    $displayUsersDisconnects = '1';
    
    //Filter the results on the game page by years, months and days
    $FiltersOnGamePage = '1';
    
    //Replay Location:
    $replayLocation = 'replays';
    //You can use timeoffset to match replay date (from -12 to 13 hours)
    //If replays working fine dont change this value (default 0).
    $replayTimeOffset = '0'; 
    
    //If Smart Parsing enabled replay will be saved into HTML output after first parsing. 
    //There is no need to parse same replay anymore.
    //If you disable this option replays will parse always
    $SmartParsing = '1';
    
    //Max. page links before and after current page
    $max_pagination_link = '5';
    
    //(Experimental) Get heroes data from playdota.com instead from database
    $ParsePDHeroes = '1';
    
    //Score Method 1. This method use score formula (see $scoreFormula below) to calucate users score. 
    //Score Method 2. This method use league system to calculate user score. Eg. wins*5 - losses*3 - disconnects*10 
    //On game page winner will receive 5 points, loosers will loose 3 points by default.
    $ScoreMethod = '2';
    //Here you can setup how many points user receive when he win, lose or disconnect.
    $ScoreStart = '1000';
    $ScoreWins = '5';
    $ScoreLosses = '-3';
    $ScoreDisc = '-10';
    
    
    //Score Method 1
    //(Only used if $DBScore = '0')
    $scoreFormula = '((((kills-deaths+assists*0.5+towerkills*0.5+raxkills*0.2+(courierkills+creepdenies)*0.1+neutralkills*0.03+creepkills*0.03) * .2)+(wins-losses)))*10'; 
    
    //Pre-Calculate score
    //If enabled:  Player scores will be taken from the score table in your MySQL database. You must populate this table through your own methods.
    $DBScore = '0';
    
    //Minimal ratio (lefttime/duration) that a player/hero has to complete a game to be counted as win/loss. otherwise game is ignored.
    $minPlayedRatio = '0.8';
    $minGamesPlayed = '0';
    
    $date_format = 'd.m.Y H:i';
    
    //How many records to show for each month row
    $monthly_stats = '5';
    
    //Enable month rows. 1 - ENABLED, 0 - DISABLED
    
    //Top Kills,Top Assists,Top Deaths,Top Creep Kills,Top Creep Denies
    $monthRow1 = '1';
    //Top Gold,Top Neutrals,Top Towers,Top Rax,Top Couriers Kills
    $monthRow2 = '1';
    //Best K/D,Best A/D Ratio,Most games,Best Win %,Top Stay %
    $monthRow3 = '1';
    //Most Kills,Assists,Deaths,Creeps,Denies
    $monthRow4 = '0';
    //AVG Kills,Assists,Deaths,Creeps,Denies
    $monthRow5 = '0';
    
    $DaysOnMonthlyStats = '1';
    $TopRanksOnMonthly = '0';
    
    //Show Points gained for each game for all users on game page
    $UserPointsOnGamePage = '1';
    
    //If this option above is enabled, points  will be calculated accurately (from database)
    //It will calculate total score before and after selected game. (SCORE BEFORE)-(SCORE AFTER) = POINTS per game
    //This will also take up much more resources (queries)
    $AccuratePointsCalculation = '0';
    
    $head_admin = 'Neubivljiv';
    $bot_name = 'Ghost bot';
    
    $LEAVER = 'LEAVER';
    
    // Achievements plugin
     //Enable/disable User Achievements
    $UserAchievements = '1';
    // Configuration
    
    $KillsMedal = '500'; //Kill 500 enemy heroes!
    $AssistMedal = '200'; //Assist in 200 kills. How many kills to achieve this medal (default 200).
    $WinPercentMedal = '85'; //Achieve 85 % victory
    $KillsPercentMedal = '60'; //Achieve 60 % of kills.
    $GamesMedal = '50'; //Play 50 games!
    $WinsMedal = '50'; //Win 50 games!
    $CreepsMedal = '5000'; //Kill 5000 creeps!
    $DeniesMedal = '500'; //Deny 500 creeps!
    $TowersMedal = '50'; //Destroy 50 towers!
    $CouriersMedal = '30'; //Kill 30 enemy couriers!
    $NeutralsMedal = '500'; //Kill 500 neutrals!
    $PlayDurationMedal = '30'; //Play at least 30 hours!
    
    //*** SIGNATURES ***
    //Users can create signatures?
    $enableSignatures = '1';
    //Minimum number of games played to create signature
    $sigMinGames = '2';
    //Cache time of signature (in minutes)
    $sigCacheTime = '120'; 
    //Signature image quality ( 0 - 100 )
    $sigImageQuality = '90'; 
    //Show country flags on signature
    $sigCountryFlags = '1';
    
    //*** SETUP CACHING ***
    //Enable page caching
    $cachePages = '0';
    //Caching directory (you must create this directory)
    $cacheDir = 'cache';
    //Cache time in minutes (default 30 min)
    $cachetime = 60 * 30;
    
    //*** CACHE CONTROL ***
    //Show Last cached time and Next update time in footer
    $showUpdate = '0';
    //Cache all game pages
    $cacheAllGames = '0';
    //Cache all users
    $cacheAllUsers = '0';
    
    //*** CHAT ***
    $enable_chat = '1';
    //File to store all chats
    $chat_file = 'chat.txt';
    //Show date with username - NOTE: this is only for new messages
    $chat_show_date = '1';
    //How long user must wait before he can write a new message (default 3 sec.)
    $wait_time = 1000 * 3;
    //Check for new messages (default 5 sec.) 
    $refresh_messages = 1000 * 5;
    //How many lines to store in text file
    $maxlines = 20;
    //Max. nick length
    $nick_length = 20;
    
    $pageGen = '1'; //Enable/disable info about page generation and total queries on every page
    $_debug = '0'; //Enable error reportings
    ?>
    K:\GHB6
    Код:
    # After the key and after "=" leave a space ! ( = )
    # Ex: bot_log = log.txt
    # welcome.txt gameloaded.txt and gameover.txt - messages to be displayed in ghb , you can edit them
    
    ######################
    # MAIN CONFIGURATION #
    ######################
    # ghb mode: 0 - create a game; 1 - create a map config; 2 - load a saved game
    
    hostbot_game_type = 0
    
    # League mode or not - host multiple games at once
    bot_league_mode = 0
    
    # maximum games to host at once for League Mode
    bot_maxgames = 3
    
    # admin name and game name (lower then 16 characters)
    
    bot_adminname = FrostyShad
    hostgame_name = FrostyShad
    
    #####################
    # Create map config #
    #####################
    # only needed when creating a map config
    # must be in W3 maps download directory (bot_mappath) ! if it's not this will fail
    
    map_name_to_create_cfg = DotA v6.74c.w3x
    
    #if it's a dota map you must set map_type as "dota" ! if it's not leave map_type empty
    
    map_type = dota
    
    ###################
    # Load saved game #
    ###################
    # only needed when loading a saved game
    # path to the saved game - must be in Warcraft III directory Save\Multiplayer\ - full path + extension !
    
    hostbot_savegame_path = 
    
    # path to the the replay of that game - full path + extension !
    
    hostbot_replay_path = 
    
    # in order to resume the game ALL players must have this saved game in their W3 directory Save\Multiplayer\
    # if it's an autosave before someone dropped that someone must get a replay file from a player in his team and place it in his W3 directory Save\Multiplayer\
    # more info http://www.codelain.com/wiki/index.php?title=ReadMe#Using_Saved_Games
    
    
    ##################
    # OTHER SETTINGS #
    ##################
    
    # enable country and level detection
    country_and_level_detection = 1
    
    # show the game almost full 9/100 instead of the real player count on lan game
    bot_show9_10 = 0
    
    # when someone uses trade resource it gets kicked ( !!! Disable this if you don't play DotA )
    autokick_on_trade = 0
    
    # when load in game is active show who loaded the map already
    show_finsihed_loading_map = 0
    
    # warn if a player is not found in the room
    warn_not_in_room = 1
    
    # auto kick if a player is not found in the room
    kick_not_in_room = 0
    
    # enable autostart
    auto_start_players = 0
    
    # enable autostart message every 10s, 0 to disable
    auto_start_message = 0
    
    # delay to show the start message from gameloaded.txt
    bot_startmsgdelay = 60
    
    # when game is full show pings and countries
    show_fromp_on_game_full = 0
    
    # allow or not color coded names
    allow_color_code_names = 1
    
    # lock admins so they can't change slot on shuffle or balance
    lock_in_place_admins = 1
    
    # lock safelisted plaeyrs so they can't change slot on shuffle or balance
    lock_in_place_safe = 0
    
    # default player score for someone who didn't played any games on your bot yet
    default_player_score = 1
    
    # balance the teams when the game is full
    autobalance_when_game_full = 0
    
    # autosave the game on every player leave, regardless of leave reason
    bot_autosave_on_everything = 0
    
    # method used for balancing slots: 0 rank, 1 garena level(default)
    balance_method = 0
    
    # handle name bans: 0 = do nothing, 1 = kick, 2 = announce only (no kick).
    bot_banning = 1
    
    # normal W3 countdown or ghost countdown
    bot_normalcountdown = 0
    
    
    # min and/or max level restrictions
    bot_minlevel = 0
    bot_maxlevel = 0
    
    # automatic rehost after game ended
    bot_autorehost = 1
    
    # set 1 to detect country from ip or 0 do detect country from the garena account
    country_detect_type = 1
    
    # ghb process priority: 2 above normal - 1 below normal -  0 normal 
    bot_priorityclass = 0
    
    # 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 = 
    
    #  auto ban people who leave during the countdown
    bot_autobancountdown = 0
    
    #  auto ban people who leave during the game load
    bot_autobangameloading = 0
    
    # UDP port on which the bot communicates with GHost One GUI, 5868 default
    udp_guiport = 5868
    
    # 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
    
    # the log file
    bot_log = 
    
    # 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
    
    # mute for x seconds, if a player has cursed for 3 or more times
    bot_censormuteexcessiveseconds = 1200
    
    # mute for x seconds, the second time a player curses
    bot_censormutesecondseconds = 240
    
    # mute for x seconds, the first time a player curses
    bot_censormutefirstseconds = 60
    
    # whether players who use censored words are auto muted for x seconds
    bot_censormute = 0
    
    # also auto mute admins
    bot_censormuteadmins = 0
    
    # Warcraft III version
    lan_war3version = 26
    
    # Disable nagle algorithm (TCPIP algorithm that can slow down the network) - may improve latency if you set to 1
    tcp_nodelay = 0
    
    # Path to your WC3TVRecorder ex: c:\Program Files\waaaghTV Recorder\
    wtv_path = C:\Program Files\wtvRecorder0.53.00
    # 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 = 
    
    # 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 = 1
    
    # 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 = 3967
    
    # default access for admins
    bot_adminaccess = 8191
    
    #  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 = 3
    
    # time in mins the auto ban will stay on in game, set to 0 to stay forever
    bot_autobantimer = 0
    
    # ban even if it does not make game uneven
    bot_autobanall = 0
    
    # bans the first x leavers reguardless of even or not
    bot_autobanfirstxleavers = 0
    
    # if host counter goes over this number it will reset to 1, set to 0 to disable the feature
    bot_maxhostcounter = 0
    
    # 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 = 0
    
    # 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 = 1
    
    # 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 = 0
    
    # If you host 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 = 0
    
    
    # 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
    #  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 = F:\Warcraft\
    
    
    # the port GHost++ will host  games on (this must be different from your admingame_port)
    
    bot_hostport = 6113
    
    # command trigger for ingame only (battle.net command triggers are defined later)
    # the default is ! and it will remain working with the one in bot_commandtrigger
    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 = F:\Warcraft\Maps\Download\
    
    # 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 = 6059
    
    # whether to automatically save games when a player disconnects
    #  this can always be changed for a particular game with the !autosave command
    #also this is overwrided if bot_autosave_on_everything is set
    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
    
    # use LC style pings (divide actual pings by two)
    bot_lcpings = 1
    
    # auto kick players with ping higher than this
    bot_autokickping = 500
    
    # 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 = 75
    
    # 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 = 100
    
    # lobby/game commands are displayed as chat (or hidden)
    bot_relaychatcommands = 0
    
    # maximum players allowed to download at once, the rest will have almost KB/s until someone finishes downloading
    bot_maxdownloaders = 3
    
    # set total download speed (KB/s) available for all clients at once, if set to 1024, 4 people will get 256 each
    bot_totaldownloadspeed = 1536
    
    # the time after a game is stopped after it ended (a winner was detected)
    # only after this timer the statistics and replays are saved !
    bot_gameovertime = 20
    
    # 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 = 1
    
    # non admin commands, 1 enable, 0 disable
    # commands for all players from a game
    bot_nonadmincommands = 1
    
    # ghost will find its external ip on startup, disable if you want to play on LAN only (not Garena)
    bot_findexternalip = 1
    
    # garena lan game settings (don't change these unless you know what you are doing)
    garena_class = SkinDialog
    garena_name = Garena Lan Game
    
    # 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 UDP password
    bot_udppassword = 
    
    # show autokick denied country or banned player messages
    bot_verbose = 1
    
    # ignore drop request for the first x seconds of lagging.
    bot_dropvotetime = 30
    
    # Time limit for hosting a game where no admins enter it in minutes
    bot_lobbytimelimit = 30
    
    # udp ip
    udp_cmdbindip = 0.0.0.0
    
    # udp port
    udp_cmdport = 6969
    udp_port = -2030891763
    
    # udp spoof target
    udp_cmdspooftarget =
    
    # the port GHost++ will host the admin game on (this must be different from your bot_hostport)
    admingame_port = 6114
    
    ### 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 = 
    
    ##########################
    # DATABASE CONFIGURATION #
    ##########################
    
    # database type
    #  use "sqlite3" for a local SQLite database
    #  use "mysql" for any MySQL database
    
    db_type = sqlite3
    
    # 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 = ***
    db_mysql_password = ***
    db_mysql_port = 3306
    db_mysql_botid = 1
    
    
    
    
    ##########################
    # OBSOLETE COMMANDS      #
    ##########################
    #these are not used by Garena HostBot, they are only here for compatibility with GhostOne
    #modifying these is pointless :)
    bot_ipbanning = 2
    bot_channeljoingreets = 0
    bot_autorehostdelay = 0
    bot_bnetpacketdelaymediumpvpgn = 2000
    bot_bnetpacketdelaybigpvpgn = 2500
    bot_bnetpacketdelaymedium = 3200
    bot_bnetpacketdelaybig = 4000
    bot_gamestateinhouse = 999
    bot_rehostifnametaken = 0
    bot_autohostmaximumgames = 0
    bot_autohostautostartplayers = 10
    bot_autohostallowstart = 0
    bot_autohostlocal = 1
    bot_autohostowner = 
    bot_autohostmapcfg = mapcfgs\map.cfg
    bot_autohostgamename = 
    bot_lanadmins = 0
    bot_localadmins = 0
    bot_spoofchecks = 1
    bot_requirespoofchecks = 0
    bot_refreshmessages = 0
    bot_autolock = 0
    bot_kickbannedfromchannel = 0
    bot_banbannedfromchannel = 0
    bot_addcreatorasfriendonhost = 0
    bot_rootadminsspoofcheck = 0
    bot_adminsspoofcheck = 0
    bot_notifybannedplayers = 0
    bot_rootadmins = 
    admingame_create = 1
    admingame_password = localhost
    bot_matchmakingmethod = 1
    bnet_server = 
    bnet_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
    bnet_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
    bnet_username = 
    bnet_password = 
    bnet_firstchannel = W3-bots
    bnet_rootadmin = 
    bnet_commandtrigger = @
    bnet_holdfriends = 1
    bnet_holdclan = 1
    bnet_custom_war3version = 26
    bnet_custom_exeversion = 230 1 24 1
    bnet_custom_exeversionhash = 219 152 153 144
    bnet_custom_passwordhashtype = pvpgn
    bnet_bnlsserver = 
    bnet_bnlsport = 9367
    bnet_bnlswardencookie = 1
    bot_virtualhostname = GHB
    bot_autohostdeniedcountries = 
    bot_autohostallowedcountries = 
    bot_maxgamez = 5
    bot_clientdownloadspeed = 256
    bot_showdownloadsinfo = 0
    bot_showdownloadsinfotime = 10
    
    paroli *** i loginu ***, odinakovie y obeix konfigax.
    Podmognite POGALYISTA. :patsak:
  5. ViperNight ▒▒▒▒▒▒▒▒▒

    Сообщения:
    311
    Спасибы:
    154
    Сборка бота GHost:
    GHost++ r597M
    Дата начала использования бота:
    20.01.2007
    Skype:
    Мой статус
    Он ведёт статистику в базу данных sqlite:
    Код:
    db_type = sqlite3
    
    # sqlite3 database file
    
    db_sqlite3_file = ghost.dbs
    Нужно:
    Код:
    db_type = mysql
  6. frostyshad Ньюфаг

    Сообщения:
    3
    Спасибы:
    0
    Tu, ti Gospodi, SPASIBA! :limon:
Статус темы:
Закрыта.