PageRenderTime 25ms CodeModel.GetById 2ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 1ms

/ghost configurator/ghost configurator/bin/Debug/default.cfg

http://ghostcb.googlecode.com/
Unknown | 489 lines | 330 code | 159 blank | 0 comment | 0 complexity | 3fe88e0d862610b53a6362e54f249f1d MD5 | raw file
  1#####################
  2# BOT CONFIGURATION #
  3#####################
  4
  5### the log file
  6
  7bot_log = ghost.log
  8
  9### the log method
 10###  set this to 1 to leave the log unlocked while GHost++ is running (may be slower, particularly on Windows)
 11###  set this to 2 to lock the log while GHost++ is running (may be faster, particularly on Windows)
 12###  note: if the log is locked you will not be able to edit/move/delete it while GHost++ is running
 13
 14bot_logmethod = 1
 15
 16### the language file
 17
 18bot_language = language.cfg
 19
 20### the path to your local Warcraft III directory
 21###  this path must contain war3.exe, storm.dll, and game.dll
 22###  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)
 23###  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
 24
 25bot_war3path = C:\Program Files\Warcraft III
 26
 27### whether to act as Warcraft III: The Frozen Throne or not
 28###  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)
 29###  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)
 30
 31bot_tft = 1
 32
 33### the address GHost++ will bind to when hosting games (leave it blank to bind to all available addresses)
 34###  if you don't know what this is just leave it blank
 35
 36bot_bindaddress = 
 37
 38### the port GHost++ will host games on (this must be different from your admingame_port)
 39
 40bot_hostport = 6112
 41
 42### whether to allow GProxy++ reliable reconnects or not
 43###  you should ensure that bot_synclimit is set to a reasonable value if you choose to allow GProxy++ reliable reconnects
 44###  a reasonable value is 5000 divided by bot_latency, e.g. if bot_latency is 100 use a value of 50 for bot_synclimit
 45
 46bot_reconnect = 0
 47
 48### the port GHost++ will listen for GProxy++ reliable reconnects on
 49
 50bot_reconnectport = 6114
 51
 52### the maximum number of minutes to wait for a GProxy++ client to reconnect to the game
 53###  if you set this to 0 or 1 GHost++ will wait for up to 1 minute
 54###  if you set this to 10 or more GHost++ will only wait for up to 10 minutes
 55###  due to the way GProxy++ works, increasing this value increases bandwidth requirements and CPU requirements on the players' computers
 56###  players can always vote to drop a player who is lagging after waiting 45 seconds regardless of this value
 57
 58bot_reconnectwaittime = 3
 59
 60### maximum number of games to host at once
 61
 62bot_maxgames = 5
 63
 64### command trigger for ingame only (battle.net command triggers are defined later)
 65
 66bot_commandtrigger = !
 67
 68### the path to the directory where you keep your map config files
 69###  this directory can also contain common.j and blizzard.j (extracted from War3Patch.mpq)
 70###  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
 71
 72bot_mapcfgpath = mapcfgs
 73
 74### the path to the directory where you keep your savegame files
 75
 76bot_savegamepath = savegames
 77
 78### the path to the directory where you keep your map files
 79###  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
 80###  GHost++ will search [bot_mappath + map_localpath] for the map file (map_localpath is set in each map's config file)
 81
 82bot_mappath = maps
 83
 84### whether to save replays or not
 85
 86bot_savereplays = 0
 87
 88### the path to the directory where you want GHost++ to save replays
 89
 90bot_replaypath = replays
 91
 92### the Warcraft 3 version to save replays as
 93
 94replay_war3version = 24
 95
 96### the Warcraft 3 build number to save replays as (this is specific to each Warcraft 3 version)
 97###  patch 1.23:  war3version 23, buildnumber 6058
 98###  patch 1.24:  war3version 24, buildnumber 6059
 99###  patch 1.24b: war3version 24, buildnumber 6059
100
101replay_buildnumber = 6059
102
103### the bot's virtual host name as it appears in the game lobby
104###  colour codes are defined by the sequence "|cFF" followed by a six character hexadecimal colour in RRGGBB format (e.g. 0000FF for pure blue)
105###  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
106
107bot_virtualhostname = |cFF4080C0GHost
108
109### whether to hide each player's IP address from other players or not
110
111bot_hideipaddresses = 0
112
113### whether to check for multiple IP address usage or not
114
115bot_checkmultipleipusage = 1
116
117### whether to do automatic spoof checks or not
118###  you can always manually spoof check by whispering the bot (and in fact this is required before running admin commands)
119###  set to 0 to disable automatic spoof checks
120###  set to 1 to enable automatic spoof checks on all players
121###  set to 2 to enable automatic spoof checks on potential admins only
122
123bot_spoofchecks = 2
124
125### whether to require spoof checks or not
126###  this controls whether the bot will require players to spoof check before starting the game
127###  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
128###  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)
129
130bot_requirespoofchecks = 0
131
132### whether to consider admins and root admins as reserved players or not
133###  reserved players are allowed to join full games because another player will be kicked to allow them to join
134
135bot_reserveadmins = 1
136
137### whether to display game refresh messages by default
138###  this can always be changed for a particular game with the !refresh command
139
140bot_refreshmessages = 0
141
142### whether to automatically lock games when the owner joins
143
144bot_autolock = 0
145
146### whether to automatically save games when a player disconnects
147###  this can always be changed for a particular game with the !autosave command
148
149bot_autosave = 0
150
151### whether to allow map downloads or not
152###  set to 0 to disable map downloads
153###  set to 1 to enable map downloads
154###  set to 2 to enable conditional map downloads (an admin must start each map download with the !download or !dl command)
155
156bot_allowdownloads = 1
157
158### whether to ping players during map downloads or not
159###  GHost++ will always stop pinging any players who are downloading the map
160###  this config value determines whether GHost++ should stop pinging *all* players when at least one player is downloading the map
161
162bot_pingduringdownloads = 0
163
164### the maximum number of players allowed to download the map at the same time
165
166bot_maxdownloaders = 3
167
168### the maximum combined download speed of all players downloading the map (in KB/sec)
169
170bot_maxdownloadspeed = 100
171
172### use LC style pings (divide actual pings by two)
173
174bot_lcpings = 1
175
176### auto kick players with ping higher than this
177
178bot_autokickping = 400
179
180### the ban method
181###  if bot_banmethod = 1, GHost++ will automatically reject players using a banned name
182###  if bot_banmethod = 2, GHost++ will automatically reject players using a banned IP address
183###  if bot_banmethod = 3, GHost++ will automatically reject players using a banned name or IP address
184###  if bot_banmethod is anything else GHost++ will print a message when a banned player joins but will not automatically reject them
185
186bot_banmethod = 1
187
188### the IP blacklist file
189
190bot_ipblacklistfile = ipblacklist.txt
191
192### automatically close the game lobby if a reserved player (or admin) doesn't join it for this many minutes
193###  games which are set to automatically start when enough players join are exempt from this limit (e.g. autohosted games)
194
195bot_lobbytimelimit = 10
196
197### the game latency
198###  this can always be changed for a particular game with the !latency command (which enforces a minimum of 20 and a maximum of 500)
199
200bot_latency = 100
201
202### the maximum number of packets a player is allowed to get out of sync by before starting the lag screen
203###  before version 8.0 GHost++ did not have a lag screen which is the same as setting this to a very high number
204###  this can always be changed for a particular game with the !synclimit command (which enforces a minimum of 10 and a maximum of 10000)
205
206bot_synclimit = 50
207
208### whether votekicks are allowed or not
209
210bot_votekickallowed = 1
211
212### the percentage of players required to vote yes for a votekick to pass
213###  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
214###  the formula for calculating the number of votes needed is votes_needed = ceil( ( num_players - 1 ) * bot_votekickpercentage / 100 )
215###  this means it will round UP the number of votes required
216###  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
217###  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
218###  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
219###  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
220###  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
221
222bot_votekickpercentage = 100
223
224### the default map config (the ".cfg" will be added automatically if you leave it out)
225
226bot_defaultmap = wormwar
227
228### the MOTD file
229###  the first 8 lines of this file will be displayed when a player joins the game
230###  if this file doesn't exist a default MOTD will be used
231
232bot_motdfile = motd.txt
233
234### the gameloaded file
235###  the first 8 lines of this file will be displayed when the game finished loading (after the player loading times are displayed)
236
237bot_gameloadedfile = gameloaded.txt
238
239### the gameover file
240###  the first 8 lines of this file will be displayed when the game is over
241###  this only works when using a stats class - note: at the time of this writing the only stats class is for DotA maps
242
243bot_gameoverfile = gameover.txt
244
245### whether to send "local admin messages" or not
246###  these messages are battle.net chat messages, whispers, and emotes which the bot receives and passes on to the "local admin"
247###  the local admin is the game owner if they are playing from a LAN or the same computer as the bot
248###  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
249###  you can enable or disable this for a particular game with the !messages command
250
251bot_localadminmessages = 1
252
253### the "TCP no delay" flag
254###  this controls whether or not your operating system should use the "no delay" algorithm on game sockets
255###  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
256###  enabling this algorithm requires additional bandwidth because it is a less efficient way of sending data
257###  however, it may reduce game latencies in some cases
258
259tcp_nodelay = 0
260
261### the matchmaking method
262###  this controls how the bot matches players when they join the game when using !autohostmm
263###  set it to 0 to disable matchmaking (first come first served, even if their scores are very different)
264###  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)
265###  set it to 2 to use the "lowest score" method (the player with the lowest score is kicked to make room for another player)
266
267bot_matchmakingmethod = 1
268
269############################
270# ADMIN GAME CONFIGURATION #
271############################
272
273### whether to create the admin game or not (see readme.txt for more information)
274
275admingame_create = 0
276
277### the port GHost++ will host the admin game on (this must be different from your bot_hostport)
278
279admingame_port = 6113
280
281### the admin game password
282
283admingame_password = 
284
285### the default map config to use in the admin game
286###  if this value is blank the bot will use a hardcoded map instead
287###  it's recommended that you use the hardcoded map instead of specifying a different one
288###  this value exists because the hardcoded map is specific to Warcraft 3 versions and you may wish to use a previous or newer version
289###  the ".cfg" will be added automatically if you leave it out
290
291admingame_map = 
292
293#####################
294# LAN CONFIGURATION #
295#####################
296
297### the Warcraft 3 version to use when broadcasting LAN games
298
299lan_war3version = 24
300
301### the UDP broadcast target
302###  if this value is blank the bot will try to broadcast LAN games on the default interface which is chosen by your operating system
303###  sometimes your operating system will choose the wrong interface when more than one exists
304###  therefore you can use this value to force the bot to use a specific interface
305###  for example you may set it to "192.168.1.255" to broadcast LAN games to the 192.168.1.x subnet
306
307udp_broadcasttarget = 
308
309### the UDP "don't route" flag
310
311udp_dontroute = 0
312
313##########################
314# AUTOHOST CONFIGURATION #
315##########################
316
317### this section of the config file is for enabling autohost when the bot starts up without having to issue a command
318### you can activate the autohost feature without changing anything here by using the !autohost command
319
320autohost_maxgames = 0
321autohost_startplayers = 0
322autohost_gamename = 
323autohost_owner = 
324
325##########################
326# DATABASE CONFIGURATION #
327##########################
328
329### database type
330###  use "sqlite3" for a local SQLite database
331###  use "mysql" for any MySQL database
332
333db_type = sqlite3
334
335### sqlite3 database configuration
336###  this is only used if your database type is SQLite
337
338db_sqlite3_file = ghost.dbs
339
340### mysql database configuration
341###  this is only used if your database type is MySQL
342
343db_mysql_server = localhost
344db_mysql_database = ghost
345db_mysql_user = YOUR_USERNAME
346db_mysql_password = YOUR_PASSWORD
347db_mysql_port = 0
348
349### the bot ID is included each time the bot adds data to the MySQL database
350### it is used to identify where each row of data came from when you configure multiple bots to connect to the same MySQL database
351### GHost++ does not use the bot ID number itself, it's just to help you keep track of the data in your database
352
353db_mysql_botid = 1
354
355############################
356# BATTLE.NET CONFIGURATION #
357############################
358
359### which battle.net server to connect to
360###  1.) useast.battle.net
361###  2.) uswest.battle.net
362###  3.) asia.battle.net
363###  4.) europe.battle.net
364### note that each banned player is tied to the realm it was created on and the realm is case sensitive
365### 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
366
367bnet_server = useast.battle.net
368
369### the server alias
370### this name will be used to identify the battle.net server in the GHost++ console
371### 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
372
373bnet_serveralias = USEast
374
375### your Warcraft III: Reign of Chaos CD key
376### 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
377
378bnet_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
379
380### your Warcraft III: The Frozen Throne CD key
381### 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
382
383bnet_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
384
385### the locale specifies the area of the world you are from
386### battle.net uses this to group players together, showing them games hosted by players and bots mostly from their own area
387### it's important to set this to the correct value to increase the effectiveness of the game refresher
388### if you are using Windows you can set this to "system" to use the locale of your system
389### otherwise you can use the list at the following URL to get the correct value for your area:
390### http://msdn.microsoft.com/en-us/library/0h88fahh%28VS.85%29.aspx
391### put the "decimal value" here, e.g. 1033 is the default for "English - United States"
392### note: you cannot use a value of "system" on Linux, doing so will use a default value of 1033 instead
393
394bnet_locale = system
395
396### your battle.net username
397### 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
398
399bnet_username = 
400
401### your battle.net password
402
403bnet_password = 
404
405### the first channel to join upon entering battle.net
406
407bnet_firstchannel = The Void
408
409### the root admins on this battle.net server only
410###  seperate each name with a space, e.g. bnet_rootadmin = Varlock Kilranin Instinct121
411
412bnet_rootadmin = 
413
414### command trigger for this battle.net server only
415
416bnet_commandtrigger = !
417
418### whether to automatically add your friends list to each game's reserved list
419
420bnet_holdfriends = 1
421
422### whether to automatically add your clan members list to each game's reserved list
423
424bnet_holdclan = 1
425
426### whether to allow anonymous users (non admins) to use public commands such as !stats and !statsdota on this battle.net connection
427### if you are having trouble with spammers causing your bot to flood the server you should disable this
428
429bnet_publiccommands = 1
430
431### BNLS server information for Warden handling (see readme.txt for more information)
432###  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
433
434bnet_bnlsserver = localhost
435bnet_bnlsport = 9367
436bnet_bnlswardencookie = 1
437
438### you will need to edit this section of the config file if you're connecting to a PVPGN server
439###  your PVPGN server operator will tell you what to put here
440
441bnet_custom_war3version = 24
442bnet_custom_exeversion = 
443bnet_custom_exeversionhash = 
444bnet_custom_passwordhashtype = 
445bnet_custom_pvpgnrealmname = PvPGN Realm
446
447###
448### example configuration for connecting to a second official battle.net server
449###
450
451# bnet2_server = uswest.battle.net
452# bnet2_serveralias = USWest
453# bnet2_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
454# bnet2_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
455# bnet2_locale = system
456# bnet2_username =
457# bnet2_password =
458# bnet2_firstchannel = The Void
459# bnet2_rootadmin =
460# bnet2_commandtrigger = !
461# bnet2_holdfriends = 1
462# bnet2_holdclan = 1
463# bnet2_publiccommands = 1
464# bnet2_bnlsserver = localhost
465# bnet2_bnlsport = 9367
466# bnet2_bnlswardencookie = 2
467
468###
469### example configuration for connecting to a third PVPGN battle.net server
470###
471
472# bnet3_server = server.eurobattle.net
473# bnet3_serveralias = EuroBattle
474# bnet3_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
475# bnet3_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
476# bnet3_locale = system
477# bnet3_username =
478# bnet3_password =
479# bnet3_firstchannel = The Void
480# bnet3_rootadmin =
481# bnet3_commandtrigger = !
482# bnet3_holdfriends = 1
483# bnet3_holdclan = 1
484# bnet3_publiccommands = 1
485# bnet3_custom_war3version = 24
486# bnet3_custom_exeversion = 184 0 22 1
487# bnet3_custom_exeversionhash = 219 152 153 144
488# bnet3_custom_passwordhashtype = pvpgn
489# bnet3_custom_pvpgnrealmname = PvPGN Realm