Got an iPhone or iPad? We have a brand new Pastebin App for both devices, and it's totally free! Click here to download the new Pastebin App for iOS.
Guest

Untitled

By: a guest on Feb 12th, 2012  |  syntax: None  |  size: 10.72 KB  |  hits: 57  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. #####################
  2. # BOT CONFIGURATION #
  3. #####################
  4.  
  5. ### the log file
  6.  
  7. bot_log = ghost.log
  8.  
  9. ### the language file
  10.  
  11. bot_language = language.cfg
  12.  
  13. ### the path to your local Warcraft III directory
  14. ###  this path must contain war3.exe, storm.dll, and game.dll
  15. ###  this path must end in your system's path seperator (i.e. "\" on Windows or "/" on Linux)
  16. ###  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)
  17. ###  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
  18.  
  19. bot_war3path = C:\Program Files\Warcraft III\
  20.  
  21. ### the address GHost++ will bind to when hosting games (leave it blank to bind to all available addresses)
  22. ###  if you don't know what this is just leave it blank
  23.  
  24. bot_bindaddress =
  25.  
  26. ### the port GHost++ will host battle.net games on (this must be different from your admingame_port)
  27.  
  28. bot_hostport = 6112
  29.  
  30. ### maximum number of games to host at once
  31.  
  32. bot_maxgames = 5
  33.  
  34. ### command trigger for ingame only (battle.net command triggers are defined later)
  35.  
  36. bot_commandtrigger = !
  37.  
  38. ### the path to the directory where you keep your map config files (must end in your system's path seperator)
  39. ###  this directory can also contain common.j and blizzard.j (extracted from War3Patch.mpq)
  40. ###  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
  41.  
  42. bot_mapcfgpath = mapcfgs\
  43.  
  44. ### the path to the directory where you keep your savegame files (must end in your system's path seperator)
  45.  
  46. bot_savegamepath = savegames\
  47.  
  48. ### the path to the directory where you keep your map files (must end in your system's path seperator)
  49. ###  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
  50. ###  GHost++ will search [bot_mappath + map_localpath] for the map file (map_localpath is set in each map's config file)
  51.  
  52. bot_mappath = maps\
  53.  
  54. ### whether to save replays or not
  55.  
  56. bot_savereplays = 0
  57.  
  58. ### the path to the directory where you want GHost++ to save replays (must end in your system's path seperator)
  59.  
  60. bot_replaypath = replays\
  61.  
  62. ### the bot's virtual host name as it appears in the game lobby
  63. ###  colour codes are defined by the sequence "|cFF" followed by a six character hexadecimal colour in RRGGBB format (e.g. 0000FF for pure blue)
  64. ###  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
  65.  
  66. bot_virtualhostname = LsD
  67.  
  68. ### whether to hide each player's IP address from other players or not
  69.  
  70. bot_hideipaddresses = 0
  71.  
  72. ### whether to require spoof checks or not
  73. ###  disabling spoof checks just turns off automatic spoof checks and requiring players to be spoof checked before starting the game
  74. ###  spoof checks need to be enabled if you want GHost++ to detect which realm each player came from (use the !check command to see the realm)
  75. ###  you can always manually spoof check by whispering the bot (and in fact is required before running admin commands)
  76.  
  77. bot_spoofchecks = 1
  78.  
  79. ### whether to display game refresh messages by default
  80. ###  this can always be changed for a particular game with the !refresh command
  81.  
  82. bot_refreshmessages = 0
  83.  
  84. ### whether to automatically lock games when the owner joins
  85.  
  86. bot_autolock = 0
  87.  
  88. ### whether to automatically save games when a player disconnects
  89. ###  this can always be changed for a particular game with the !autosave command
  90.  
  91. bot_autosave = 0
  92.  
  93. ### whether to allow map downloads or not
  94. ###  set to 0 to disable map downloads
  95. ###  set to 1 to enable map downloads
  96. ###  set to 2 to enable conditional map downloads (an admin must start each map download with the !download or !dl command)
  97.  
  98. bot_allowdownloads = 1
  99.  
  100. ### whether to ping players during map downloads or not
  101. ###  GHost++ will always stop pinging any players who are downloading the map
  102. ###  this config value determines whether GHost++ should stop pinging *all* players when at least one player is downloading the map
  103.  
  104. bot_pingduringdownloads = 1
  105.  
  106. ### the maximum number of players allowed to download the map at the same time
  107.  
  108. bot_maxdownloaders = 3
  109.  
  110. ### the maximum combined download speed of all players downloading the map (in KB/sec)
  111.  
  112. bot_maxdownloadspeed = 350
  113.  
  114. ### use LC style pings (divide actual pings by two)
  115.  
  116. bot_lcpings = 1
  117.  
  118. ### auto kick players with ping higher than this
  119.  
  120. bot_autokickping = 400
  121.  
  122. ### automatically close the game lobby if a reserved player (or admin) doesn't join it for this many minutes
  123. ###  games which are set to automatically start when enough players join are exempt from this limit (e.g. autohosted games)
  124.  
  125. bot_lobbytimelimit = 10
  126.  
  127. ### the game latency
  128. ###  this can always be changed for a particular game with the !latency command (which enforces a minimum of 50 and a maximum of 500)
  129.  
  130. bot_latency = 100
  131.  
  132. ### the maximum number of packets a player is allowed to get out of sync by before starting the lag screen
  133. ###  before version 8.0 GHost++ did not have a lag screen which is the same as setting this to a very high number
  134. ###  this can always be changed for a particular game with the !synclimit command (which enforces a minimum of 10 and a maximum of 10000)
  135.  
  136. bot_synclimit = 50
  137.  
  138. ### whether votekicks are allowed or not
  139.  
  140. bot_votekickallowed = 1
  141.  
  142. ### the percentage of players required to vote yes for a votekick to pass
  143. ###  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
  144. ###  the formula for calculating the number of votes needed is votes_needed = ceil( ( num_players - 1 ) * bot_votekickpercentage / 100 )
  145. ###  this means it will round UP the number of votes required
  146. ###  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
  147. ###  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
  148. ###  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
  149. ###  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
  150. ###  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
  151.  
  152. bot_votekickpercentage = 100
  153.  
  154. ### the default map (the .cfg is added automatically)
  155.  
  156. bot_defaultmap = dota6.59
  157.  
  158. ### the MOTD file
  159. ###  the first 8 lines of this file will be displayed when a player joins the game
  160. ###  if this file doesn't exist a default MOTD will be used
  161.  
  162. bot_motdfile = motd.txt
  163.  
  164. ### the gameloaded file
  165. ###  the first 8 lines of this file will be displayed when the game finished loading (after the player loading times are displayed)
  166.  
  167. bot_gameloadedfile = gameloaded.txt
  168.  
  169. ### the gameover file
  170. ###  the first 8 lines of this file will be displayed when the game is over
  171. ###  this only works when using a stats class - note: at the time of this writing the only stats class is for DotA maps
  172.  
  173. bot_gameoverfile = gameover.txt
  174.  
  175. ############################
  176. # ADMIN GAME CONFIGURATION #
  177. ############################
  178.  
  179. ### whether to create the admin game or not (see readme.txt for more information)
  180.  
  181. admingame_create = 0
  182.  
  183. ### the port GHost++ will host the admin game on (this must be different from your bot_hostport)
  184.  
  185. admingame_port = 6113
  186.  
  187. ### the admin game password
  188.  
  189. admingame_password =
  190.  
  191. ##########################
  192. # DATABASE CONFIGURATION #
  193. ##########################
  194.  
  195. ### database type
  196. ###  use "sqlite3" for a local SQLite database
  197. ###  use "mysql" for any MySQL database
  198.  
  199. db_type = sqlite3
  200.  
  201. ### sqlite3 database configuration
  202. ###  this is only used if your database type is SQLite
  203.  
  204. db_sqlite3_file = ghost.dbs
  205.  
  206. ### mysql database configuration
  207. ###  this is only used if your database type is MySQL
  208.  
  209. db_mysql_server = localhost
  210. db_mysql_database = ghost
  211. db_mysql_user = YOUR_USERNAME
  212. db_mysql_password = YOUR_PASSWORD
  213. db_mysql_port = 0
  214.  
  215. ############################
  216. # BATTLE.NET CONFIGURATION #
  217. ############################
  218.  
  219. ### which battle.net server to connect to
  220. ###  1.) useast.battle.net
  221. ###  2.) uswest.battle.net
  222. ###  3.) asia.battle.net
  223. ###  4.) europe.battle.net
  224. ### note that each banned player is tied to the realm it was created on and the realm is case sensitive
  225. ### 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
  226.  
  227. bnet_server = uswest.battle.net
  228.  
  229. ### your Warcraft III: Reign of Chaos CD key
  230.  
  231. bnet_cdkeyroc = B74GYKH4WZJ4RWPX4W6KMNXH2H
  232.  
  233. ### your Warcraft III: The Frozen Throne CD key
  234.  
  235. bnet_cdkeytft = FMBVFZCY2ZY8GDRKZ88J8MNDPY
  236.  
  237. ### your battle.net username
  238.  
  239. bnet_username = LsD.HoST
  240.  
  241. ### your battle.net password
  242.  
  243. bnet_password = sextree
  244.  
  245. ### the first channel to join upon entering battle.net
  246.  
  247. bnet_firstchannel = Op HoTBoX
  248.  
  249. ### the root admin on this battle.net server only
  250.  
  251. bnet_rootadmin = KronikHippy
  252.  
  253. ### command trigger for this battle.net server only
  254.  
  255. bnet_commandtrigger = !
  256.  
  257. ### whether to automatically add your friends list to each game's reserved list
  258.  
  259. bnet_holdfriends = 1
  260.  
  261. ### whether to automatically add your clan members list to each game's reserved list
  262.  
  263. bnet_holdclan = 1
  264.  
  265. ### you will need to edit this section of the config file if you're connecting to a PVPGN server
  266. ###  your PVPGN server operator will tell you what to put here
  267.  
  268. bnet_custom_war3version = 23
  269. bnet_custom_exeversion =
  270. bnet_custom_exeversionhash =
  271. bnet_custom_passwordhashtype =
  272.  
  273. ###
  274. ### example configuration for connecting to a second official battle.net server
  275. ###
  276.  
  277. # bnet2_server = uswest.battle.net
  278. # bnet2_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
  279. # bnet2_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
  280. # bnet2_username =
  281. # bnet2_password =
  282. # bnet2_firstchannel = The Void
  283. # bnet2_rootadmin =
  284. # bnet2_commandtrigger = !
  285. # bnet2_holdfriends = 1
  286. # bnet2_holdclan = 1
  287.  
  288. ###
  289. ### example configuration for connecting to a third PVPGN battle.net server
  290. ###
  291.  
  292. # bnet3_server = server.eurobattle.net
  293. # bnet3_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
  294. # bnet3_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
  295. # bnet3_username =
  296. # bnet3_password =
  297. # bnet3_firstchannel = The Void
  298. # bnet3_rootadmin =
  299. # bnet3_commandtrigger = !
  300. # bnet3_holdfriends = 1
  301. # bnet3_holdclan = 1
  302. # bnet3_custom_war3version = 23
  303. # bnet3_custom_exeversion = 184 0 22 1
  304. # bnet3_custom_exeversionhash = 219 152 153 144
  305. # bnet3_custom_passwordhashtype = pvpgn