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

проблемы запуска на ubuntu

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

  1. KsandeR Ньюфаг

    Сообщения:
    5
    Спасибы:
    0
    и так мы имеем собранный ghost++ 15 версии.
    Встал вопрос с конфигом, а точнее нужен пример bot_war3path в ghost.cfg и map_path в cfg карт (я предпологаю что мои проблемы с запуском из-за этих параметров).
    Мой ghost.cfg
    Код:
    bot_log = ghost.log
    bot_language = language.cfg
    bot_war3path =  /media/Data/Games/Warcraft/
    bot_hostport = 6113
    bot_maxgames = 5
    bot_commandtrigger = !
    bot_mapcfgpath = mapcfgs/
    bot_localpath = maps/
    bot_spoofchecks = 1
    bot_refreshmessages = 1
    bot_autolock = 0
    bot_allowdownloads = 1
    bot_pingduringdownloads = 0
    bot_lcpings = 1
    bot_autokickping = 400
    bot_latency = 100
    bot_synclimit = 50
    admingame_create = 0
    admingame_port = 6113
    db_type = sqlite3
    db_sqlite3_file = ghost.dbs
    bnet_server = playground.ru
    bnet_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
    bnet_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
    bnet_username = *******
    bnet_password = *******
    bot_replaypath = replays/
    bot_savegamepath = savegames/
    bot_savereplays = 1
    bot_autosave = 0
    admingame_password = 
    bnet_firstchannel = dota & AoS
    bnet_rootadmin = ******
    bnet_commandtrigger = !
    bnet_custom_war3version = 24
    bnet_custom_exeversion = 
    bnet_custom_exeversionhash = 
    bnet_custom_passwordhashtype = pvpgn
    bnet_holdfriends = 1
    bnet_holdclan = 1
    bnet2_server = europe.battle.net
    bnet3_server = europe.battle.net
    bnet4_server = europe.battle.net
    bnet5_server = europe.battle.net
    bnet6_server = europe.battle.net
    bnet7_server = europe.battle.net
    bnet8_server = europe.battle.net
    bnet9_server = europe.battle.net
    bnet10_server = europe.battle.net
    пытюсь захостить dota, dota.cfg
    Код:
    #########################################
    # map file for DotA Allstars v6.67c.w3x #
    #########################################
    
    # the map path tells Warcraft III clients where to find the map on their system
    # it is NOT the path to the map on the GHost++ system, in fact GHost++ doesn't need the map at all
    
    map_path = /media/Data/Games/Warcraft/Maps/DotA Allstars v6.67c.w3x
    map_size = 7 227 109 0
    map_info = 95 83 125 91
    map_crc = 222 211 65 26
    map_sha1 = 8 160 120 93 96 33 148 156 105 130 186 66 215 65 30 142 92 246 46 52
    
    # map speed
    # 1 = slow
    # 2 = normal
    # 3 = fast
    
    map_speed = 3
    
    # map visibility
    # 1 = hide terrain
    # 2 = explored
    # 3 = always visible
    # 4 = default
    
    map_visibility = 4
    
    # map observers
    # 1 = none
    # 2 = on defeat
    # 3 = allowed
    # 4 = referees
    
    map_observers = 1
    
    # map flags
    # - you can combine these flags by adding together all the options you want to use
    # - for example to have teams together and fixed teams you would use "3"
    # 1 = teams together
    # 2 = fixed teams
    # 4 = unit share
    # 8 = random hero
    # 16 = random races
    
    map_flags = 3
    
    # map game type
    # 1 = custom
    
    map_gametype = 1
    
    # map dimensions
    
    map_width = 118 0
    map_height = 120 0
    
    # map players and teams
    
    map_numplayers = 10
    map_numteams = 2
    
    # 
    # slot structure
    # [PID] [Download Status] [Slot Status] [Computer] [Team] [Colour] [Race] [Skill] [Handicap]
    # - PID is always 0
    # - Download Status is always 255
    # - Slot Status is 0 for open, 1 for closed, 2 for occupied
    # - Computer is 0 for no, 1 for yes
    # - Team
    # - Colour
    # - Race is 1 for human, 2 for orc, 4 for night elf, 8 for undead, 32 for random (add 64 to any of these for fixed)
    # - Skill is 0 for easy computer, 1 for normal computer or human, 2 for hard computer
    # - Handicap is 50/60/70/80/90/100
    # 
    
    map_slot1 = 0 255 0 0 0 1 4 1 100
    map_slot2 = 0 255 0 0 0 2 4 1 100
    map_slot3 = 0 255 0 0 0 3 4 1 100
    map_slot4 = 0 255 0 0 0 4 4 1 100
    map_slot5 = 0 255 0 0 0 5 4 1 100
    map_slot6 = 0 255 0 0 1 7 8 1 100
    map_slot7 = 0 255 0 0 1 8 8 1 100
    map_slot8 = 0 255 0 0 1 9 8 1 100
    map_slot9 = 0 255 0 0 1 10 8 1 100
    map_slot10 = 0 255 0 0 1 11 8 1 100
    
    # map type (for map specific stats)
    
    map_type = dota
    map_matchmakingcategory = dota_elo
    map_statsw3mmdcategory = 
    
    # map local path (for map downloads)
    # GHost++ doesn't require map files but if it has access to them it can send them to players
    # GHost++ will search bot_mappath + map_localpath for the map file (bot_mappath is set in the main config file)
    
    map_localpath = DotA Allstars v6.67c.w3x 
    
    в результате получаю
    Код:
    ksander@ksander:~$ cd ~/ghost++/
    ksander@ksander:~/ghost++$ ./ghost++
    [CONFIG] loading file [ghost.cfg]   
    [GHOST] starting up                 
    [UDPSOCKET] using default broadcast target
    [GHOST] opening primary database          
    [SQLITE3] version 3.6.16                  
    [SQLITE3] opening database [ghost.dbs]    
    [SQLITE3] found schema number [8]         
    [GHOST] opening secondary (local) database
    [SQLITE3] version 3.6.16                  
    [SQLITE3] opening database [ghost.dbs]    
    [SQLITE3] found schema number [8]         
    [GHOST] attempting to find local IP addresses
    [GHOST] local hostname is [ksander]          
    [GHOST] local IP address #1 is [127.0.1.1]   
    [CONFIG] warning - unable to read file [language.cfg]
    [GHOST] found battle.net connection #1 for server [playground.ru]
    [GHOST] missing bnet2_cdkeyroc, skipping this battle.net connection
    [GHOST] missing bnet3_cdkeyroc, skipping this battle.net connection
    [GHOST] missing bnet4_cdkeyroc, skipping this battle.net connection
    [GHOST] missing bnet5_cdkeyroc, skipping this battle.net connection
    [GHOST] missing bnet6_cdkeyroc, skipping this battle.net connection
    [GHOST] missing bnet7_cdkeyroc, skipping this battle.net connection
    [GHOST] missing bnet8_cdkeyroc, skipping this battle.net connection
    [GHOST] missing bnet9_cdkeyroc, skipping this battle.net connection
    [GHOST] loading MPQ file [/media/Data/Games/Warcraft/War3Patch.mpq]
    [GHOST] extracting Scripts\common.j from MPQ file to [mapcfgs/common.j]
    [GHOST] extracting Scripts\blizzard.j from MPQ file to [mapcfgs/blizzard.j]
    [GHOST] adding ".cfg" to default map -> new default is [map.cfg]           
    [CONFIG] warning - unable to read file [mapcfgs/map.cfg]                   
    [MAP] warning - unable to load MPQ file [/home/ksander/ghost++/maps/]      
    [MAP] no map data available, using config file for map_size, map_info, map_crc, map_sha1
    [MAP] no map data available, using config file for map_width, map_height, map_slot<x>, map_numplayers, map_numteams                                                                   
    [MAP] invalid map_path detected                                                            
    [MAP] invalid map_size detected                                                            
    [MAP] invalid map_info detected                                                            
    [MAP] invalid map_crc detected                                                             
    [MAP] invalid map_sha1 detected                                                            
    [MAP] invalid map_width detected                                                           
    [MAP] invalid map_height detected                                                          
    [MAP] invalid map_numplayers detected                                                      
    [MAP] invalid map_numteams detected                                                        
    [MAP] invalid map_slot<x> detected                                                         
    [GHOST] using hardcoded admin game map                                                     
    [MAP] using hardcoded Emerald Gardens map data for Warcraft 3 version 1.24 & 1.24b         
    [GHOST] started loading [ip-to-country.csv]                                                
    [GHOST] iptocountry data: 10% loaded                                                       
    [GHOST] iptocountry data: 20% loaded                                                       
    [GHOST] iptocountry data: 30% loaded                                                       
    [GHOST] iptocountry data: 40% loaded                                                       
    [GHOST] iptocountry data: 50% loaded                                                       
    [GHOST] iptocountry data: 60% loaded                                                       
    [GHOST] iptocountry data: 70% loaded                                                       
    [GHOST] iptocountry data: 80% loaded                                                       
    [GHOST] iptocountry data: 90% loaded                                                       
    [GHOST] iptocountry data: 100% loaded                                                      
    [GHOST] finished loading [ip-to-country.csv]                                               
    [GHOST] GHost++ Version 15.0 (with MySQL support)                                          
    [BNET: playground.ru] connecting to server [playground.ru] on port 6112                    
    [BNET: playground.ru] resolved and cached server IP address 212.42.38.154                  
    [BNET: playground.ru] connected                                                            
    [BNET: playground.ru] cd keys accepted                                                     
    [BNET: playground.ru] username [******] accepted                                        
    [BNET: playground.ru] using pvpgn logon type (for pvpgn servers only)                      
    [BNET: playground.ru] logon successful                                                     
    [BNET: playground.ru] joining channel [dota & AoS]                                         
    [BNET: playground.ru] joined channel [Dota & AoS]                                          
    [INFO: playground.ru] Obey the law, rules are the law!                                     
    [INFO: playground.ru] Hello *******, welcome to PlayGround.ru!                           
    [INFO: playground.ru] This server is hosted by RopNet.                                     
    [INFO: playground.ru]                                                                      
    [INFO: playground.ru] There are currently 2464 users in 1141 games of Warcraft III Frozen Throne, and 2988 users in 1408 games and 77 channels.
    [INFO: playground.ru] You have no mail.
    [ERROR: playground.ru] All accounts that was played with cheats will be erased!
    [INFO: playground.ru] Technical support: aler@playground.ru
    [INFO: playground.ru] Enjoy!
    [WHISPER: playground.ru] [******] !load dota
    [BNET: playground.ru] admin [*****] sent command [!load dota]
    [QUEUED: playground.ru] /w ***** lang_0029
    [CONFIG] loading file [mapcfgs/dota.cfg]
    [UTIL] warning - unable to read file [/home/ksander/ghost++/maps/DotA Allstars v6.67c.w3x ]
    [MAP] warning - unable to load MPQ file [/home/ksander/ghost++/maps/DotA Allstars v6.67c.w3x ]
    [MAP] no map data available, using config file for map_size, map_info, map_crc, map_sha1
    [MAP] no map data available, using config file for map_width, map_height, map_slot<x>, map_numplayers, map_numteams
    
    Надеюсь на вашу помощь.
  2. Synth (LM) Пантограф!

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

    Код:
    /media/Data/Games/Warcraft/Maps/DotA Allstars v6.67c.w3x
    заменить на

    Код:
    Maps/DotA Allstars v6.67c.w3x