Advertisement
Guest User

Untitled

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