Author Topic: Can't join my game  (Read 22408 times)

strol

  • Member
  • **
  • Posts: 58
  • Karma: +1/-3
    • View Profile
Can't join my game
« on: February 03, 2014, 01:19:42 am »
I create game on VDS ubuntu 12.04 and i can join to ghost game via battlenet, but can't join via garena and noone can't join too. Everyone can see game in local game list and in garena room. So what the problem? I don't think that it something wrong with ports because in battlenet everything ok. Can u look at my logs and config?
ghost.log:

Code: [Select]
[Mon Feb  3 06:56:24 2014] [GHOST] starting up
[Mon Feb  3 06:56:24 2014] [GHOST] using log method 1, logging is enabled and [ghost.log] will not be locked
[Mon Feb  3 06:56:24 2014] [GHOST] using monotonic timer with resolution 0.00 microseconds
[Mon Feb  3 06:56:24 2014] [GHOST] opening primary database
[Mon Feb  3 06:56:24 2014] [MYSQL] connecting to database server
[Mon Feb  3 06:56:24 2014] [GHOST] attempting to find local IP addresses
[Mon Feb  3 06:56:24 2014] [GHOST] local hostname is [26354.local]
[Mon Feb  3 06:56:24 2014] [GHOST] local IP address #1 is [127.0.0.1]
[Mon Feb  3 06:56:24 2014] [GHOST] acting as Warcraft III: Reign of Chaos
[Mon Feb  3 06:56:24 2014] [GHOST] loading file [rooms.txt]
[Mon Feb  3 06:56:24 2014] [GHOST] found battle.net connection #1 for server [playground.ru]
[Mon Feb  3 06:56:24 2014] [GHOST] unable to get system locale, using default locale of 1033
[Mon Feb  3 06:56:24 2014] [BNET: Rubattle] pvpgn connection found with a configured BNLS server, ignoring BNLS server
[Mon Feb  3 06:56:24 2014] [GHOST] Adding hardcoded Garena Realm & WC3Connect Realm.
[Mon Feb  3 06:56:24 2014] [GHOST] loading MPQ file [/var/ghost++/war3/War3Patch.mpq]
[Mon Feb  3 06:56:24 2014] [GHOST] extracting Scripts\common.j from MPQ file to [mapcfgs/common.j]
[Mon Feb  3 06:56:24 2014] [GHOST] extracting Scripts\blizzard.j from MPQ file to [mapcfgs/blizzard.j]
[Mon Feb  3 06:56:24 2014] [GHOST] adding ".cfg" to default map -> new default is [dota.cfg]
[Mon Feb  3 06:56:24 2014] Unrecognized AliasType, make sure you have set it correctly.
[Mon Feb  3 06:56:24 2014] [GHOST] using hardcoded admin game map
[Mon Feb  3 06:56:24 2014] [GHOST] GHost++ Version 17.2 (with MySQL support)
[Mon Feb  3 06:56:24 2014] [BNET: Rubattle] connecting to server [playground.ru] on port 6112
[Mon Feb  3 06:56:24 2014] [BNET: Rubattle] resolved and cached server IP address 212.42.38.154
[Mon Feb  3 06:56:24 2014] [BNET: Rubattle] connected
[Mon Feb  3 06:56:24 2014] [BNET: Rubattle] attempting to auth as Warcraft III: The Frozen Throne
[Mon Feb  3 06:56:24 2014] [BNET: Rubattle] cd keys accepted
[Mon Feb  3 06:56:24 2014] [BNET: Rubattle] username [test1233] accepted
[Mon Feb  3 06:56:24 2014] [BNET: Rubattle] using pvpgn logon type (for pvpgn servers only)
[Mon Feb  3 06:56:24 2014] [BNET: Rubattle] logon successful
[Mon Feb  3 06:56:24 2014] [BNET: Rubattle] joining channel [bot]
[Mon Feb  3 06:56:24 2014] [BNET: Rubattle] joined channel [bot]
[Mon Feb  3 06:56:24 2014] [INFO: Rubattle] Hello test1233, welcome to Rubattle.net!
[Mon Feb  3 06:56:24 2014] [INFO: Rubattle] This server is hosted by RopNet.
[Mon Feb  3 06:56:24 2014] [INFO: Rubattle] 
[Mon Feb  3 06:56:24 2014] [INFO: Rubattle] There are currently 543 users in 190 games of Warcraft III Frozen Throne, and 753 users in 272 games and 58 channels.
[Mon Feb  3 06:56:24 2014] [INFO: Rubattle] You have no mail.
[Mon Feb  3 06:56:24 2014] [ERROR: Rubattle] All accounts that was played with cheats will be erased!
[Mon Feb  3 06:56:24 2014] [ERROR: Rubattle] Any advertise/discussion about cheats and resources that contains/supports illegal software, including cheat-based servers, are strongly prohibited and will lead to account closure. You are warned.
[Mon Feb  3 06:56:24 2014] [INFO: Rubattle] Technical support: support@rubattle.net
[Mon Feb  3 06:56:24 2014] [INFO: Rubattle] Enjoy!
[Mon Feb  3 06:56:24 2014] [INFO: Rubattle] Last login: Mon Feb 03 10:49 2014
[Mon Feb  3 06:56:47 2014] [LOCAL: Rubattle] [lalka12] !pub ggg
[Mon Feb  3 06:56:47 2014] [BNET] Root Administrator [lalka12] sent command [pub] with payload [ggg]
[Mon Feb  3 06:56:47 2014] [QUEUED: Rubattle] Unable to create game [ggg]. The currently loaded map config file is invalid.
[Mon Feb  3 06:56:51 2014] [LOCAL: Rubattle] [lalka12] !map dota
[Mon Feb  3 06:56:51 2014] [BNET] Root Administrator [lalka12] sent command [map] with payload [dota]
[Mon Feb  3 06:56:51 2014] [QUEUED: Rubattle] Loading config file [DotA v6.79e.w3x].
[Mon Feb  3 06:56:51 2014] Unrecognized AliasType, make sure you have set it correctly.
[Mon Feb  3 06:56:52 2014] [LOCAL: Rubattle] [lalka12] !pub gg
[Mon Feb  3 06:56:52 2014] [BNET] Root Administrator [lalka12] sent command [pub] with payload [gg]
[Mon Feb  3 06:56:52 2014] [GHOST] creating game [gg]
[Mon Feb  3 06:56:52 2014] [GAME: gg] loading IP blacklist file [ipblacklist.txt]
[Mon Feb  3 06:56:52 2014] [GAME: gg] loaded 0 lines from IP blacklist file
[Mon Feb  3 06:56:52 2014] [GAME: gg] attempting to bind to all available addresses
[Mon Feb  3 06:56:52 2014] [GAME: gg] listening on port 6113
[Mon Feb  3 06:56:52 2014] Missing definition of MapAlias, game won't be recorded with extended map statistics (DotA/W3mmD).
[Mon Feb  3 06:56:52 2014] [QUEUED: Rubattle] Creating public game [gg] started by [lalka12].
[Mon Feb  3 06:56:52 2014] [MYSQL] error --- Unknown column 'alias_id' in 'field list'
[Mon Feb  3 07:01:05 2014] [GAME: gg] player [3ePaTuJI|90.188.226.35] joined the game
[Mon Feb  3 07:01:10 2014] [GAME: gg] deleting player [3ePaTuJI]: has left the game voluntarily
[Mon Feb  3 07:03:13 2014] [GAME: gg] player [RB.net|178.125.69.208] joined the game
[Mon Feb  3 07:03:18 2014] [GAME: gg] deleting player [RB.net]: has left the game voluntarily


gcb log :
Code: [Select]
[GInterface 1] PeerLoop: set address to 92.53.105.43 and port to 1513
[Feb 3, 2014 6:56:23 AM] [GEncrypt] Internal IP address determined at 92.53.105.43
[Feb 3, 2014 6:58:23 AM] [GInterface 1] Using local port: 57244


gcb.cfg :
Code: [Select]
# whether to keep a log
gcb_log = true


# the log level, determining which messages to log
# this is flag based; add the flag values for desired messages to get the overall log level
#   1 (2^0) - uncategorized system messages (should be enabled)
#   2 (2^1) - uncategorized error messages (should be enabled)
#   4 (2^2) - logging-related notifications
#   8 (2^3) - startup-related messages (can be disabled, since errors will be logged under 2^1)
#   16 (2^4) - unimportant system messages
#   32 (2^5) - uncategorized room messages (should be enabled)
#   64 (2^6) - uncategorized room error messages (should be enabled)
#   128 (2^7) - unimportant room messages (includes many room connection messages)
#   256 (2^8) - room messages that come from the Garena server
#   512 (2^9) - room messages that come from other players
#   1024 (2^10) - debug room messages
#   2048 (2^11) - debug system messages
#   4096 (2^12) - TCP debug messages (should be disabled except for debugging)
# for example, to get everything except the debug messages, use 1023
gcb_loglevel = 1023


# whether to keep a seperate log of commands used
gcb_log_commands = true


# interval between creating a new log file; in milliseconds (prevents gcb.log from getting too large)
# set to 0 to disable
# don't set to over 2147483647
gcb_log_new_file = 86400000


# whether or not to output caught exceptions for debugging
gcb_debug = false


# path to plugins
gcb_plugin_path = plugins/


# the current Garena version
gcb_version = 0x0000027C


# hostname(s) and port(s) where GHost++ is located
#  Garena clients connecting via gcb will connect to whatever game is hosted by GHost++
#  Note that each port must be unique (for example, you cannot use 6112 on two different hostnames)
#  Also make sure that GHost++ is set to broadcast packets to the server hosting gcb (if GHost++ is on a separate machine/LAN, update it's udp_broadcasttarget configuration)
# To specify a list, do something like:
#  localhost:6112, localhost:6113, localhost:6114
gcb_tcp_host = localhost:6112


# whether to enable debug for TCP connections (will generate lots of output!)
gcb_tcp_debug = false


# whether to buffer the TCP output to GHost++ to check for name spoofing and other things
gcb_tcp_outbuffer = true


# whether to buffer the TCP output from GHost++
# this will read entire W3GS packets at a time instead of fragments
gcb_tcp_localbuffer = true


# names to reserve when connecting to GHost++
#  To specify a list, do something like:
#  gcb_tcp_reservednames = ownername, rootadminname, Open, Closed
gcb_tcp_reservednames = Open, Closed


# plugins to automatically load at startup
# You must put the fully qualified name of the plugin (includes package)
#  To specify a list, do something like:
#  gcb_plugins = gcb.examples.hello, awesome.myplugin, awesome.myplugin2
gcb_plugins =


# the port to listen for Warcraft III game broadcasts
# you shouldn't have to change this
gcb_broadcastport = 6112


# gcb will rebroadcast packets captured from gcb_broadcastport to the following ports
#  Use if you wish to run multiple instances of gcb. gcb_broadcastport must be modified as well.
# example: gcb_rebroadcast = 6113, 6114
# gcb_rebroadcast =


# if enabled, gcb will filter received UDP packets on gcb_broadcastport
#  Specifically, only valid W3GS_GAMEINFO packets with addr=gcb_tcp_host and port in gcb_tcp_port will be passed on
#  Note that this does not affect gcb_rebroadcast functionality (all UDP packets will be rebroadcasted)
gcb_broadcastfilter = true


# filtering IP address doesn't seem to work very well for local address; filter anyway?
gcb_broadcastfilter_ip = false


# if enabled, gcb will create a random entry key to send to Garena users
#  This way, the actual LAN entry key will be invisible to them
gcb_broadcastfilter_key = true


# if enabled, gcb will cache UDP packets
#  This saves bandwidth because we only send these packets when user requests through SEARCHGAME packet
#  Note: gcb_broadcastfilter_key must be enabled for this to work because of implementation
gcb_broadcastfilter_cache = true


# if set, this will be used to rewrite the gamename taken from the host bot
#  You can use %g to represent the original gamename
#  For example:
#   gcb_broadcastfilter_gamename = [GARENA] %g
# This will rewrite "Gamename" into "[GARENA] Gamename"
gcb_broadcastfilter_gamename =


# how often to reconnect to Garena (in minutes)
#  Might be necessary if running gcb for extended periods of time
# set to 0 to disable
gcb_reconnect_interval = 10


# whether to only reconnect if idle state is detected
gcb_reconnect_idleonly = true


# interval in seconds to display the STATUS message
gcb_status = 60


# whether to display member information while gcb is running
#  if enabled, gcb will output to room_users_{id}.txt, where {id} is the connection identifier
#  output includes user id, username, country, experience, IP address, etc.
gcb_display_members = false


# whether to enable GCBI protocol
#  GCBI sends information about the joining Garena user to GHost++
#  Requires a patch in GHost++, however (gcbi-extend-v2.patch)
gcb_enablegcbi = false


# use command line interface
gcb_bot_commandline = false


# the number of workers to use for startup connections
# after startup, GarenaReconnect takes over
gcb_connectworkers = 8


###################
# GARENA SETTINGS #
###################


# your Garena username and password
# if set, this overrides the connection-specific username/password settings
garena_username = lorono12
garena_password = ****


# Garena username for this connection (if global garena_username/password are not set)
#garena1_username = garena


# Garena password for this connection (if global garena_username/password is not set)
#garena1_password = garena


# the main host (login server) to use
garena1_mainhost = con3.garenaconnect.com


# the room gcb should join (if gcb_roomid and gcb_roomhost are not set)
#  note that not set means the option must be commented out
#  you should use gcb_roomid and gcb_roomhost if at all possible
#  also, using gcb_roomname may not work if there is more than room with that name
# garena1_roomname =


# the room ID gcb should join
#  See README for details on how to find this.
 # Russia RPG Room 01 (1.26a)
garena1_roomid = 196817
 
# the room host for gcb_roomid
#  See README for details on how to find this.
garena1_roomhost = 203.117.124.12


####################
#   TCP SETTINGS   #
####################


### The options below control the properties of gcb's
###  virtual TCP over UDP connection algorithm. Tweaking
###  them is not recommended for normal users because
###  the defaults should give optimal performance.
###  However, on some systems or configurations, other
###  values might be better.
### Times are all set in milliseconds for this section.


# the maximum number of packets to buffer before we stop sending packets
# packets are only removed from the buffer when they are acknowledged by the remote end
# 0 disables this function
# a larger value is recommended if there is a greater ping
gcb_tcp_maxbufferedpackets = 20


# Delay in milliseconds for standard retransmission of packets
#  If an acknowledgement packet is not sent for this delay, then the packet will be retransmitted
#  Note that gcb will dynamically determine the actual standard retransmission delay, this is only the initial value
gcb_tcp_standarddelay = 3000


# timeout on packets sent from local connection until we do standard retransmission
# this isn't too important anymore since we also standard retransmit every gcb_tcp_srttg milliseconds
gcb_tcp_sotimeout = 1000


# the alpha value used to calculate smoothed round trip time
# a higher value will change more quickly to new round trip time calculations
gcb_tcp_srttalpha = 0.125


# the beta value used to calculate smoothed round trip time
# this has same function as alpha, but for the _variation_ in the SRTT
gcb_tcp_srttbeta = 0.25


# the minimim round trip time (milliseconds)
gcb_tcp_srttlower = 10


# the maximum round trip time (milliseconds)
gcb_tcp_srttupper = 60000


# the clock granularity (milliseconds)
# this is also how often we will check for standard retransmission of packets
#  Note that we still check at other times.
gcb_tcp_srttg = 20


# the K value, should be 4
gcb_tcp_srttk = 4


# maximum size of UDP packets to send
# packets larger than this will be broken into small chunks
gcb_tcp_maxpacketsize = 512


# maximum size of TCP packets to receive from local/remote
# packets larger than this will be rejected
gcb_tcp_maxtcpsize = 2000


# the maximum number of virtual TCP over UDP connections to allow per worker thread
gcb_tcp_connectionsperworker = 5


#################
# RCON SETTINGS #
#################


# whether to enable rcon or not
#  rcon allows you to send commands to gcb via sockets
#  for example, to exit gcb nicely
gcb_rcon = false


# the rcon password
# this MUST be set, otherwise rcon will reject all connections
rcon_password =


# rcon bind address
rcon_bind = 0.0.0.0


# rcon server port
rcon_port = 7464


# if gcb rcon should only accept local connections (recommended)
rcon_localonly = true




####################
# REVERSE SETTINGS #
####################


# whether to enable REVERSE or not
#  REVERSE changes the function of gcb so that you can join other Garena client's games
#  This should help with playing over Garena on unsupported systems, such as Linux
#  It functions quite similarly to GProxy++, although currently support for reconnection is not planned
#  Note that gcb is incompatible with REVERSE, so this will automatically disable gcb; gcb_bot can still be enabled
gcb_reverse = false


# your Warcraft III version; Garena seems to change the war3version, so gcb changes it back
#  For example, if your room uses 1.24d, write
#   gcb_reverse_war3version = 24
gcb_reverse_war3version = 26


# the starting port to host local games on, or 0 to use any free ports
#  gcb hosts games on LAN
#  Once you connect to the game, gcb will route packets between you and the Garena remote server
#  Note that one port for each LAN game is necessary (see gcb_reverse_num for more details)
gcb_reverse_port = 0


# the number of LAN games to host
#  gcb will create this many server sockets
#  Every time gcb receives a GAMEINFO broadcast, it will host on the next available server
#  The ports start at gcb_reverse_port and go up from there
#  If gcb_reverse_port = 16000 and gcb_reverse_num = 25, then the last port will be 16024
gcb_reverse_num = 25


# the hostname to send UDP packets received from Garena to
#  For example, if you want to use Warcraft III only on your own computer, then set
#   gcb_reverse_target = 127.0.0.1
#  If you want the entire LAN to receive broadcast packets from this gcb, then set
#   gcb_reverse_target = 255.255.255.255
gcb_reverse_target = 127.0.0.1


####################
# LAN FIX SETTINGS #
####################


# whether to enable LAN FIX or not
# LAN FIX is necessary if you wish to communicate with Garena clients on the same LAN as you
# LAN FIX is only intended for testing purposes; LAN Garena clients can connect to GHost++ over LAN instead of through gcb
#  Note that if LAN FIX is on, game names to all users will be renamed and will contain a 'w'
#  This is to differentiate for LAN users between joining the LAN game and joining through gcb
gcb_lanfix = false


# the Garena username of the LAN Garena client
gcb_lanfix_username = garena


# the internal IP address of the LAN Garena client
gcb_lanfix_ip = 192.168.1.2


# the GP2PP port of the LAN Garena client
gcb_lanfix_port = 1513


################
# BOT SETTINGS #
################


# whether to run gcb_bot
# if set to true, gcb_bot will run
gcb_bot = false


# whether to disable gcb (only if gcb_bot is enabled)
gcb_bot_disable = true


# whether you have channel admin
# disables commands and features that require channel admin access if false
gcb_bot_channel_admin = false


# whether to ban user from room when using ban command; only works if you also have channel admin
gcb_bot_room_ban = false


# whether to unban user from room when using unban command; only works if you also have channel admin
gcb_bot_room_unban = false


# any string representing this bot's owner or organization
gcb_bot_owner =


# root admin; leave blank to disable root
gcb_bot_root =


# the bot trigger
gcb_bot_trigger = .


# time in milliseconds to wait after a chat message is sent, before sending another message
gcb_bot_delay = 500


# time in milliseconds a public user must wait before bot will respond to another command
gcb_bot_publicdelay = 3000


# realm; only used in GHost++ and GHostOne databases
gcb_bot_realm =


# GHost++ botid to target; only used in GHost++ extended databases
gcb_bot_id = 0


# what to do when banned word/phrase is detected
# 0 = nothing, 1 = warn, 2 = kick, 3 = ban
gcb_bot_detect = 0


# if gcb_bot_detect is 3, how many days to ban for
gcb_bot_detect_ban_length = 999


# announcement when banned word/phrase is detected; only if gcb_bot_detect is true
gcb_bot_detect_announcement = Banned word/phrase detected


# message to display when a user does not have access to a command; leave blank to disable this functionality
gcb_bot_access_message = You do not have access to this command


# message to send to public user when they join the room
gcb_bot_welcome_message = Welcome


# whether to allow public commands
gcb_bot_publiccommands = true


# whether to have announcements when a ranked user enters the room
gcb_bot_user_join_announcement = false


# whether to whisper a message to a public user when they join the room
gcb_bot_public_join_message = false


# any string representing current DotA version used in the room
gcb_bot_dota_version = 6.72f


# any string representing current Warcraft 3 version used in the room
gcb_bot_warcraft_version = 1.24e / 1.24.4.6387


# show user's IP address in whoami/whois
gcb_bot_showip = false


# interval between each automatic message in seconds; will only be used if there is at least 1 message
# set to 0 to disable this feature
gcb_bot_auto_ann_interval = 120


# kick players out of the room if they are not within level range or are safelist rank or higher
gcb_bot_entry_level = false


# level range for players entering room, only if gcb_bot_entry_level is set to true
gcb_bot_min_level = 10
gcb_bot_max_level = 60


# whether to check if players are bypassing flood protection i.e. using cracked garena
gcb_bot_check_same_message = false


# whether to enable trivia plugin command aliases
gcb_bot_trivia_plugin_alias = true


# command aliases
gcb_bot_alias_commands = commands, command, cmd, cmds, c
gcb_bot_alias_addadmin = addadmin, aa, adda
gcb_bot_alias_addexaminer = addexaminer, ae, adde
gcb_bot_alias_addvip = addvip, av, addv
gcb_bot_alias_addsafelist = addsafelist, as, adds
gcb_bot_alias_ban = ban, b
gcb_bot_alias_roomban = roomban, rb
gcb_bot_alias_botban = botban, bb
gcb_bot_alias_unban = unban, ub
gcb_bot_alias_kick = kick, k
gcb_bot_alias_quickick = quickkick, qk
gcb_bot_alias_addautoannounce = addautoannounce, aaa
gcb_bot_alias_delautoannounce = delautoannounce, daa
gcb_bot_alias_setautoannounceinterval = setautoannounceinterval, saai
gcb_bot_alias_announce = announce, ann
gcb_bot_alias_say = say, s
gcb_bot_alias_whisper = whisper, w
gcb_bot_alias_clear = clear, c
gcb_bot_alias_promote = promote, p
gcb_bot_alias_demote = demote, d
gcb_bot_alias_findip = findip, fip
gcb_bot_alias_version = version, v
gcb_bot_alias_uptime = uptime, ut, upt
gcb_bot_alias_roomstats = roomstats, roomstat, rs
gcb_bot_alias_banword = banword, bw
gcb_bot_alias_unbanword = unbanword, ubw
gcb_bot_alias_allstaff = allstaff, alls
gcb_bot_alias_staff = staff, staf, stf, st
gcb_bot_alias_mute = mute, m
gcb_bot_alias_unmute = unmute, um
gcb_bot_alias_random = random, r
gcb_bot_alias_traceuser = traceuser, tu
gcb_bot_alias_traceip = traceip, tip
gcb_bot_alias_checkuserip = checkuserip, cui, cuip
gcb_bot_alias_creater = creater, creator
gcb_bot_alias_getpromote = getpromote, getpromotes, gp
gcb_bot_alias_status = status, stat
gcb_bot_alias_getunban = getunban, getunbans, gub
gcb_bot_alias_baninfo = baninfo, bi
gcb_bot_alias_kickinfo = kickinfo, ki
gcb_bot_alias_help = help, h
gcb_bot_alias_whoiisuid = whoisuid, whouid, wuid, wid, finduid
gcb_bot_alias_multiban = multiban, mban, mb


gcb_bot_alias_trivia on = trivia on, t on
gcb_bot_alias_trivia off = trivia off, t off
gcb_bot_alias_delay = delay, del, dly, dl
gcb_bot_alias_category = category, cat, ca
gcb_bot_alias_difficulty = difficulty, dif, diff
gcb_bot_alias_top = top, tp
gcb_bot_alias_score = score, sc


#####################
# BOT SPAM SETTINGS #
#####################


# whether to check if a user is spamming
gcb_bot_spam = false


# how many new lines (enter key) the user can have per message without receiving a warning
gcb_bot_spam_warn_lines = 5


# number of new lines (enter key) the user can have per message without being autokicked
gcb_bot_spam_max_lines = 15


# how many equality signs ('<' and '>') the user can have per message without receiving a warning
gcb_bot_spam_warn_equality = 16


# number of equality signs ('<' and '>') the user can have per message without being autokicked
gcb_bot_spam_max_equality = 40


# number of warnings for the user to be kicked; can not be set to less than 3
gcb_bot_spam_kick = 5


#########################
# BOT DATABASE SETTINGS #
#########################


# interval between synchronising MySQL database and bot in seconds
gcb_bot_refresh_rate = 60


# gcb_bot database settings
#  login information
gcb_bot_db_username = root
gcb_bot_db_password = 12345


#  JDBC hostname
#   Format should be: jdbc:mysql://hostname/databasename
gcb_bot_db_host = jdbc:mysql://localhost/gcb


# database type
#  gcb: database created by gcb install.sql script
#  ghostone: GHostOne database
#  ghost++: GHost++ database (will not support safelist)
#  ghost_extended: GHost++ database with safelist table and commands through MySQL modification
gcb_bot_db_type = gcb


ghost.cfg :
Code: [Select]
####################
# OHSYSTEM CONFIGS #
####################


###################
# BOT STATSUPDATE #
###################


### the config to update stats on the bot. Faster gameupdate, no lagging on loading pages
### it is needed to copy the 'stats.exe' or 'stats' file from ghost++/update_stats/ to ghost++, where the ghost.exe is located
### enable the option by set the value to 1 (default: 0)
oh_general_updatestats = 1


### the start amount of the score for new players
### Default: 0
statsupdate_scorestart = 100


### the amount of points per win. CAUTION: The statspage wont display this yet, its not integrated
### this configs are only a temporary solution
### Default: 5
statsupdate_scorewin = 50


### the amount of points per loose. CAUTION: The statspage wont display this yet, its not integrated
### this configs are only a temporary solution
### Default: 3
statsupdate_scoreloose = 25


### the amount of the multipliar to the streak, the calculation is simple:
### newscore = scorewin+(currentstreak-multipliar)
### this value counts also in the reserved way, newscore = scoreloose - (currentlstreak*multipliar)
### The default value is 1, by non matching this with the scorewins/loose it can heavily influence the whole datas. Take care of this.
### Set this value to 0 and t will be disabled.
statsupdate_streakbonus = 1


### this is the amount of updated games per running process
### This number shouldnt be that high if you have current running games or if you run this via the bot
statsupdate_limit = 50


### setting for shared files if you are using multiply bots.
bot_sharedfilespath =


###########
# GENERAL #
###########


### Enable live games feature. Not recommended because the OS patch is still missing for this and its not handle able without the OS feature.
oh_general_livegames = 1




### This config setting enable the message system on the bot
### If the option is enabled Users will be notified on a joinevent of a game and the channel if there is a stored message for them
### Commands:
### !inbox
### !pm <targetuser> <message>
### System is enabled by default.
oh_general_messagesystem = 1


### This config setting is to enable or disable fun commands on the bot
### Fun Commands:
### !slap <username>
### !setcookie <targetusername> //to give a user 3 cookies, its only possible on level 9+
### !eat //to eat a cookie
### User with level 3+ will get automatically get 3 cookies on joinevent
### Funcommands are enabled by default.
oh_general_funcommands = 1


### This config setting enable the bet system on the bot
### The bet system isnt complete finished yet, there some missing things like change the amount of points gain relating to the win%
### BetCommands:
### !points <targetusername> //to see your current points or from other people
### !bet <amount> //to set a bet on the game, its only avaible in the first 5 min of a game and currently limited between 0-50 points
### There will follow soon config settins for this if the basic idea is finished
### System is enabled by default.
oh_general_betsystem = 1


### This config setting enable the user protection
### Users can set a protection password which allow them to play safely
### No one else who doesnt now the password cant play from another realm with the same username
### This is patch is also a spoofprotection, it is recommended to use it as level 9+
### Commands:
### !password <password>
### The command isn't displayed neither on the live games nor to other users.
### Protection is enabled by default
oh_general_accountprotection = 1


### This option does enable autodeny users if the leave or disconnect from the lobby
### The users are denied for 60 seconds. There is a commany '!deny <username>' to deny a user permanently for this lobby
### This command will still work also if the autodeny list is disabled
oh_general_autodeny = 0


### This config can set a diffrent name as the default for bot managing
### The bot manager name does display all bot information which handling about bot policies
### Notification for autobans, autoflamecheck, autospamcheck, fountainfarmwarning
### Additional this name is now also the Fakeplayer name (only as observerfake, ess config: oh_observer)
### The default name is 'PeaceMaker'
oh_general_botmanagername = PeaceMaker


### This config does set you doman or IP address, it should be used that a user can get information from your site.
### As example for the safelist status etc.
### This option is set as default to http://ohsystem.net/
oh_general_domain = http://deepdev.tk/


### replay saving now by gameid, basic done by uakf.b
bot_gameidreplays = 1


### This config enables announcing ingame, you probably need to set the cusom field in your database with the correct values, else the bot will crash
### MySQL Form: INSERT INTO oh_custom_fields ( field_id, field_name, field_value ) VALUES (1, 'oh_announcements', 'Test\n Test2');
### Patchs is disabled by default.
oh_announce = 0


### This config make announces hidden, they wont be displayed on all chat and also not for vouched players
### To make the announce hidden does use a bit more resources, just a small optimizing thing
### This option is disabled by default.
oh_hiddenAnnounce = 1


### This config can disable the votekick option ingame
### This should be only used if the bot hosting only to garena
### This option is enabled by default.
oh_ingamevotekick = 1


### This config allow votemuting for players
### If a player vote to mute someone from his team, the vote will be for global chat and for allied chat. The full team need to agree here.
### If a player vote someone from the opponents team, 2 players from each team (including the one who started the vote) require to agree on the vote
### The option is enabled by default.
oh_votemute = 1


### This config allow to set a custom time until a votemute does expire.
### This time set the time how long a users can vote for the mute
### Default value is set to 180 (3 minutes)
oh_votemutetime = 180


### This config allow to enable users to safedrop on to high pings
### We checking every player if his ping is higher than 750
### If a player has 5 times a ping over 750 he can safely leave without an autoban
### This option is enabled by default.
oh_allowsafedrop = 1


### This config enable autoban all players
### By disabling players who are dropping by drop request, lagging our, connection error, player error etc. wont be banned
### The option is enabled by default.
oh_autobanall = 1


### This config allow to set the bot as channelbot only
### Loading maps, hosting games will be simple ignored
### This option is disabled by default.
oh_channelbot = 0


### This config allow to disable the kick for slow downloader
### This option is enabled by default.
oh_kickslowdownloader = 1


### virtual ban lobby, by enable this option banned players will join a virtual lobby instead of being directly kicked.
### this option is enabled by default.
oh_virtuallobby = 1


### the time a player stay in a virtual lobby until he will be kicked
### the time is set to seconds, the default value is 20
oh_virtuallobbytime = 20


### for a virtual lobby for banned players
### a custom text to request for example an unban.
### default: oh_virtuallobbytime = You can request an unban on http://ohsystem.net/forum/
oh_virtuallobbybantext = You can request an unban on http://ohsystem.net/forum/


### AFK SYSTEM CONFIG


### This option does enabled a simple based afk system, by disable the option the detailed apm based afk script will be enabled.
### This option is enabled by default.
oh_simpleafksystem = 1


### This option does set the minimum allowed apm of a player.
### The default value is 20.
oh_apmallowedminimum = 20


### This option does set the value until a player will be kicked for too low apm
### The option is set to 5 on default.
oh_apmmaxafkwarnings = 5


### PAUSE CONFIG
###


### This config allow to set the minimum level which is required to pause the game
### The default level is 3.
oh_minpauselevel = 3


### OH AUTOHOST CONFIG
###


### Autohost GameType (1:PUB 2:PRIV 3:AUTOHOST 4:VIP)
oh_autohosttype = 3


### Should the game be balanced (also on normal autohosting) Set 1 to enable
oh_balance = 0


### Ranked game (1 for enable)
oh_rankedgame = 0


### if ranked game, minimum games who need to be played for a user to join (Default: 25)
oh_mingames = 0


### if ranked game, this option allow to set the minimum required score to join this game. (Default: 0 [disabled])
oh_minscorelimit = 0


### enable an observer in autohosted games, you should also set an observer in your map config
oh_observer = 1


###
### VIP GAMES


### Host them with !vip gamename, automatically there will be a '[vip]' in front of the gamename
### User need to be registered on the statspage (Default: 0, toenable set to 1 )
vip_reg = 0


### Minimum Games a User need to play
vip_mingames = 50


###
### DENIES
###


### enable/disable proxy detection, and kick them (Default: 0)
### this is not a 100% accurate solution, but we can at least disable many proxys
oh_proxykick = 1


### enable/disable the country kick (Default:1)
oh_deniedcountries = 1


### allow or denie garena users on this bot or not (Default: 0)
oh_nogarena = 0


### the time after which player can ff the game
oh_minff = 20


###
### AUTOEND
###


### if this option is enabled, it does autoend the games if there 2 leavers within the first 5 minutes
### this option is enabled by default
### the game will end in a draw
autoend_earlyend = 1


### this option does set the max allowed spread between 2 teams, if the maxspread is reached the game will autoend
### The default value is 2
autoend_maxspread = 2


### this option does set a minimum amount of players required for a game
### if the current amount of players is lower than this limit the game will autoend
### The default value is 2
autoend_minplayer = 1


### this option allow to set a time to give the smaller team the chance to vote against the autoend
### This option sets the time to vote in minutes
### by setting the time to 0, it will disable the option
### The full team need to vote to break the autoending
### The value should be set in seconds
### The default value is 120 (  2 minutes )
autoend_votetime = 120


### this config allows to hide some messages if a user left already within the last 60 seconds.
### simple spam prevention. This option is enabled by default.
oh_hideleavermessages = 1


###
### VOTESTART
###


### This config doe enable the votestart option
### Default is set to 0.
oh_allowvotestart = 0


### This config sets the minimum required players to start a votestart
### Default is set to 3.
oh_votestartminimumplayers = 3


###
### ANTIFARM
### the amount of leaver kills when the leaver kills will be reduced
antifarm_minkills = 3


### the amount of deaths for a leaver until they will be removed
antifarm_mindeaths = 3


### the amount of assists against leaver until they will be removed
antifarm_minassists = 3


### the amount of kills by a leaver vs a player until they will be reduced on the player deaths. This does count only as long as the player didn't killed or assisted a leaver
antifarm_deathsbyleaver = 1


###
### FOUNTAINFARM WARNING MESSAGE
###


### Enable / Disable
### if this is turned on the bot will announce a warning message that fountainfarm is banable always when a level 3 tower is falling (dota)
oh_fountainfarm_warning = 1


### Message
### Default: Remind: Any kind or at least an attempt of fountainfarm is banable.
oh_fountainfarm_message = Remind: Any kind or at least an attempt of fountainfarm is banable.


###
### SPAM / FLAME CHECK
###


### this config does enable or disable spamchecks
### This option is enabled by default
oh_mutespammer = 1


### this config does enable or disable flamechecks
### This option is enabled by default
oh_flamecheck = 1


###
### AUTOBAN CONFIG
###


## the temporary bans are inserted into the database as UNIX TIMESTAMP, this does mean the value for the autobans need to be set as UNIX TIME:
## MINUTE: 60
## HOUR: 3600
## DAY: 86400
## WEEK: 604800
## MONTH: 2419200


### Leaver autoban, this config does set the time if a player is leaving from a game without having gproxy or had a high ping.
### The autoban will trigger only as long as the spread between the teams isnt higher than 1
### The default value is 259200
oh_leaverautobantime = 259200


### Disconnect autoban, this config does set the time if a player is disconnecting from a game without having gproxy or had a high ping.
### The autoban will trigger only as long as the spread between the teams isnt higher than 1
### The default value is 86400
oh_disconnectautobantime = 86400


### This option allow to set the ban time for the first ban at the flame trigger
### The default value is 172800
oh_firstflamebantime = 172800


### This option allow to set the ban time for the second ban at the flame trigger
### The default value is 345600
oh_secondflamebantime = 345600


### This option allow to set the ban time for excessive spamming
### The default value is 172800
oh_spambantime = 172800


### This option allow to set the ban time for abusive usage of the votekick command
### The default option is 432000
oh_votekickabusebantime = 432000


###
### MODE VOTING
###


### Modvoting require an amount of modes which should be choosen for the map
### All modes can be defined on the map.cfg by using game_modes.
### Example for DotA:
### game_modes = apso arso sdso mdso


### This config enables the vote mode, its disabled by default.
oh_votemode = 1


### This config defines the time which is for the voting. The timer will start when all slots are occupied.
### Default is 30 seconds
oh_votemode_time = 30


###
### Additional configs
###


### Colored name config can be set by using a hexa-farbcode.
### The name can have with the farbcode only 5 chars!
### example:
###     oh_cname = grief-code 00FF00Grief
###     oh1_cname = test Tester
oh_cname = grief-code 00FF00Grief
oh1_cname = neubivljiv 0000FFNeub


#####################
# BOT CONFIGURATION #
#####################


### the log file


bot_log = ghost.log


### the log method
###  set this to 1 to leave the log unlocked while GHost++ is running (may be slower, particularly on Windows)
###  set this to 2 to lock the log while GHost++ is running (may be faster, particularly on Windows)
###  note: if the log is locked you will not be able to edit/move/delete it while GHost++ is running


bot_logmethod = 1


### 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
###  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 = /var/ghost++/war3/


### whether to act as Warcraft III: The Frozen Throne or not
###  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)
###  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)


bot_tft = 1


### 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 =


### the port GHost++ will host games on (this must be different from your admingame_port)


bot_hostport = 6112


### whether to allow GProxy++ reliable reconnects or not
###  you should ensure that bot_synclimit is set to a reasonable value if you choose to allow GProxy++ reliable reconnects
###  a reasonable value is 5000 divided by bot_latency, e.g. if bot_latency is 100 use a value of 50 for bot_synclimit


bot_reconnect = 0


### the port GHost++ will listen for GProxy++ reliable reconnects on


bot_reconnectport = 6114


### the maximum number of minutes to wait for a GProxy++ client to reconnect to the game
###  if you set this to 0 or 1 GHost++ will wait for up to 1 minute
###  if you set this to 10 or more GHost++ will only wait for up to 10 minutes
###  due to the way GProxy++ works, increasing this value increases bandwidth requirements and CPU requirements on the players' computers
###  players can always vote to drop a player who is lagging after waiting 45 seconds regardless of this value


bot_reconnectwaittime = 3


### maximum number of games to host at once


bot_maxgames = 5


### command trigger for ingame only (battle.net command triggers are defined later)


bot_commandtrigger = !


### the path to the directory where you keep your map config files
###  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


bot_savegamepath = savegames


### the path to the directory where you keep your map files
###  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 = /var/ghost++/maps/


### whether to save replays or not


bot_savereplays = 0


### the path to the directory where you want GHost++ to save replays


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
###  patch 1.25:  war3version 25, buildnumber 6059
###  patch 1.26:  war3version 26, buildnumber 6059


replay_buildnumber = 6059


### the bot's virtual host name as it appears in the game lobby
###  colour codes are defined by the sequence "|cFF" followed by a six character hexadecimal colour in RRGGBB format (e.g. 0000FF for pure blue)
###  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


bot_virtualhostname = |cFF4080C0GHost


### whether to hide each player's IP address from other players or not


bot_hideipaddresses = 0


### whether to check for multiple IP address usage or not


bot_checkmultipleipusage = 1


### whether to do automatic spoof checks or not
###  you can always manually spoof check by whispering the bot (and in fact this is required before running admin commands)
###  set to 0 to disable automatic spoof checks
###  set to 1 to enable automatic spoof checks on all players
###  set to 2 to enable automatic spoof checks on potential admins only


bot_spoofchecks = 2


### whether to require spoof checks or not
###  this controls whether the bot will require players to spoof check before starting the game
###  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
###  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)


bot_requirespoofchecks = 0


### whether to consider admins and root admins as reserved players or not
###  reserved players are allowed to join full games because another player will be kicked to allow them to join


bot_reserveadmins = 1


### whether to display game refresh messages by default
###  this can always be changed for a particular game with the !refresh command


bot_refreshmessages = 0


### whether to automatically lock games when the owner joins


bot_autolock = 0


### whether to automatically save games when a player disconnects
###  this can always be changed for a particular game with the !autosave command


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


### if download is not allowed choose a message which should be shown for 3 seconds before he will be kicked
oh_downloadmessage = You are not allowed to download. Visit ohsystem.net for more information.


### 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


### the maximum number of players allowed to download the map at the same time


bot_maxdownloaders = 3


### the maximum combined download speed of all players downloading the map (in KB/sec)


bot_maxdownloadspeed = 100


### use LC style pings (divide actual pings by two)


bot_lcpings = 0


### auto kick players with ping higher than this


bot_autokickping = 400


### the ban method
###  if bot_banmethod = 1, GHost++ will automatically reject players using a banned name
###  if bot_banmethod = 2, GHost++ will automatically reject players using a banned IP address
###  if bot_banmethod = 3, GHost++ will automatically reject players using a banned name or IP address
###  if bot_banmethod is anything else GHost++ will print a message when a banned player joins but will not automatically reject them


bot_banmethod = 3


### the IP blacklist file


bot_ipblacklistfile = ipblacklist.txt


### automatically close the game lobby if a reserved player (or admin) doesn't join it for this many minutes
###  games which are set to automatically start when enough players join are exempt from this limit (e.g. autohosted games)


bot_lobbytimelimit = 10


### the game latency
###  this can always be changed for a particular game with the !latency command (which enforces a minimum of 20 and a maximum of 500)


bot_latency = 100


### 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 = 50


### 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


### the default map config (the ".cfg" will be added automatically if you leave it out)


bot_defaultmap = dota


### the MOTD file
###  the first 8 lines of this file will be displayed when a player joins the game
###  if this file doesn't exist a default MOTD will be used


bot_motdfile = motd.txt


### the gameloaded file
###  the first 8 lines of this file will be displayed when the game finished loading (after the player loading times are displayed)


bot_gameloadedfile = gameloaded.txt


### the gameover file
###  the first 8 lines of this file will be displayed when the game is over
###  this only works when using a stats class - note: at the time of this writing the only stats class is for DotA maps


bot_gameoverfile = gameover.txt


### whether to send "local admin messages" or not
###  these messages are battle.net chat messages, whispers, and emotes which the bot receives and passes on to the "local admin"
###  the local admin is the game owner if they are playing from a LAN or the same computer as the bot
###  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
###  you can enable or disable this for a particular game with the !messages command


bot_localadminmessages = 1


### the "TCP no delay" flag
###  this controls whether or not your operating system should use the "no delay" algorithm on game sockets
###  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
###  enabling this algorithm requires additional bandwidth because it is a less efficient way of sending data
###  however, it may reduce game latencies in some cases


tcp_nodelay = 0


### the matchmaking method
###  this controls how the bot matches players when they join the game when using !autohostmm
###  set it to 0 to disable matchmaking (first come first served, even if their scores are very different)
###  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)
###  set it to 2 to use the "lowest score" method (the player with the lowest score is kicked to make room for another player)


bot_matchmakingmethod = 1


### the mapgametype overwrite (advance)
###  This controls the mapgametype overwrite. Use with caution as this can result in an ipban from battle.net services or make users unavailable to join your bot with an invalid number
###  Example numbers can be found at (http://www.codelain.com/forum/index.php?topic=11373.msg135301#msg135301)
###  set it to 0 to disable mapgametype overwrite


bot_mapgametype = 0


############################
# ADMIN GAME CONFIGURATION #
############################


### whether to create the admin game or not (see readme.txt for more information)


admingame_create = 0


### the port GHost++ will host the admin game on (this must be different from your bot_hostport)


admingame_port = 6113


### the admin game password


admingame_password =


### the default map config to use in the admin game
###  if this value is blank the bot will use a hardcoded map instead
###  it's recommended that you use the hardcoded map instead of specifying a different one
###  this value exists because the hardcoded map is specific to Warcraft 3 versions and you may wish to use a previous or newer version
###  the ".cfg" will be added automatically if you leave it out


admingame_map =


#####################
# LAN CONFIGURATION #
#####################


### the Warcraft 3 version to use when broadcasting LAN games


lan_war3version = 26


### the UDP broadcast target
###  if this value is blank the bot will try to broadcast LAN games on the default interface which is chosen by your operating system
###  sometimes your operating system will choose the wrong interface when more than one exists
###  therefore you can use this value to force the bot to use a specific interface
###  for example you may set it to "192.168.1.255" to broadcast LAN games to the 192.168.1.x subnet


udp_broadcasttarget =


### the UDP "don't route" flag


udp_dontroute = 0


##########################
# AUTOHOST CONFIGURATION #
##########################


### this section of the config file is for enabling autohost when the bot starts up without having to issue a command
### you can activate the autohost feature without changing anything here by using the !autohost command


autohost_maxgames = 0
autohost_startplayers = 0
autohost_gamename =
autohost_owner =


##########################
# DATABASE CONFIGURATION #
##########################


### database type
###  use "sqlite3" for a local SQLite database
###  use "mysql" for any MySQL database


db_type = sqlite3


### sqlite3 database configuration
###  this is only used if your database type is SQLite


db_sqlite3_file = ghost.dbs


### mysql database configuration
###  this is only used if your database type is MySQL


db_mysql_server = localhost
db_mysql_database = ohsystem
db_mysql_user = root
db_mysql_password = 12345
db_mysql_port = 0


### the bot ID is included each time the bot adds data to the MySQL database
### it is used to identify where each row of data came from when you configure multiple bots to connect to the same MySQL database
### GHost++ does not use the bot ID number itself, it's just to help you keep track of the data in your database


db_mysql_botid = 1


############################
# BATTLE.NET CONFIGURATION #
############################


### If you using WC3Connect here is an option to set an unique realmalias
### Default is WC3Connect
wc3connect_alias = WC3Connect


### which battle.net server to connect to
###  1.) useast.battle.net
###  2.) uswest.battle.net
###  3.) asia.battle.net
###  4.) europe.battle.net
### note that each banned player is tied to the realm it was created on and the realm is case sensitive
### 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


bnet_server = playground.ru


### the server alias
### this name will be used to identify the battle.net server in the GHost++ console
### 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


bnet_serveralias = Rubattle


### your Warcraft III: Reign of Chaos CD key
### 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


bnet_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF


### your Warcraft III: The Frozen Throne CD key
### 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


bnet_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF


### the locale specifies the area of the world you are from
### battle.net uses this to group players together, showing them games hosted by players and bots mostly from their own area
### it's important to set this to the correct value to increase the effectiveness of the game refresher
### if you are using Windows you can set this to "system" to use the locale of your system
### otherwise you can use the list at the following URL to get the correct value for your area:
### http://msdn.microsoft.com/en-us/library/0h88fahh%28VS.85%29.aspx
### put the "decimal value" here, e.g. 1033 is the default for "English - United States"
### note: you cannot use a value of "system" on Linux, doing so will use a default value of 1033 instead


bnet_locale = system


### your battle.net username
### 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


bnet_username = test1233


### your battle.net password


bnet_password = ****


### the first channel to join upon entering battle.net


bnet_firstchannel = bot


### the root admins on this battle.net server only
###  seperate each name with a space, e.g. bnet_rootadmin = Varlock Kilranin Instinct121


bnet_rootadmin = lalka12


### command trigger for this battle.net server only


bnet_commandtrigger = !


### whether to automatically add your friends list to each game's reserved list


bnet_holdfriends = 1


### whether to automatically add your clan members list to each game's reserved list


bnet_holdclan = 1


### whether to allow anonymous users (non admins) to use public commands such as !stats and !statsdota on this battle.net connection
### if you are having trouble with spammers causing your bot to flood the server you should disable this


bnet_publiccommands = 1


### BNLS server information for Warden handling (see readme.txt for more information)
###  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


bnet_bnlsserver = localhost
bnet_bnlsport = 9367
bnet_bnlswardencookie = 1


### you will need to edit this section of the config file if you're connecting to a PVPGN server
###  your PVPGN server operator will tell you what to put here


bnet_custom_war3version = 26
bnet_custom_exeversion = 1 0 26 1
bnet_custom_exeversionhash = 194 206 231 242
bnet_custom_passwordhashtype = pvpgn
bnet_custom_pvpgnrealmname = PvPGN Realm


###
### example configuration for connecting to a second official battle.net server
###


# bnet2_server = uswest.battle.net
# bnet2_serveralias = USWest
# bnet2_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
# bnet2_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
# bnet2_locale = system
# bnet2_username =
# bnet2_password =
# bnet2_firstchannel = The Void
# bnet2_rootadmin =
# bnet2_commandtrigger = !
# bnet2_holdfriends = 1
# bnet2_holdclan = 1
# bnet2_publiccommands = 1
# bnet2_bnlsserver = localhost
# bnet2_bnlsport = 9367
# bnet2_bnlswardencookie = 2


###
### example configuration for connecting to a third PVPGN battle.net server
###


# bnet3_server = server.eurobattle.net
# bnet3_serveralias = EuroBattle
# bnet3_cdkeyroc = FFFFFFFFFFFFFFFFFFFFFFFFFF
# bnet3_cdkeytft = FFFFFFFFFFFFFFFFFFFFFFFFFF
# bnet3_locale = system
# bnet3_username =
# bnet3_password =
# bnet3_firstchannel = The Void
# bnet3_rootadmin =
# bnet3_commandtrigger = !
# bnet3_holdfriends = 1
# bnet3_holdclan = 1
# bnet3_publiccommands = 1
# bnet3_custom_war3version = 26
# bnet3_custom_exeversion = 184 0 22 1
# bnet3_custom_exeversionhash = 219 152 153 144
# bnet3_custom_passwordhashtype = pvpgn
# bnet3_custom_pvpgnrealmname = PvPGN Realm


Grief-Code

  • Guest
Re: Can't join my game
« Reply #1 on: February 03, 2014, 02:29:00 am »
Can you add a greater gcb.log?
I mean with the actual join process.

Also you can enable this on your gcb.cfg:
Code: [Select]
gcb_enablegcbi = false
The patch got added :-)

strol

  • Member
  • **
  • Posts: 58
  • Karma: +1/-3
    • View Profile
Re: Can't join my game
« Reply #2 on: February 03, 2014, 04:12:18 am »
Can you add a greater gcb.log?
I mean with the actual join process.

Also you can enable this on your gcb.cfg:
Code: [Select]
gcb_enablegcbi = false
The patch got added :-)
Log in attachments. I did
Code: [Select]
gcb_enablegcbi = true but nothing changes(

Grief-Code

  • Guest
Re: Can't join my game
« Reply #3 on: February 03, 2014, 04:39:36 am »
This is something else, it parses now also the IP of garena players, before they were only 0.0.0.0 and every garena player had the same IP, now you are parsing the correct IP :-)

About the log, i will look at it when im home ^^

strol

  • Member
  • **
  • Posts: 58
  • Karma: +1/-3
    • View Profile
Re: Can't join my game
« Reply #4 on: February 03, 2014, 04:50:26 am »

About the log, i will look at it when im home ^^
Thank you

strol

  • Member
  • **
  • Posts: 58
  • Karma: +1/-3
    • View Profile
Re: Can't join my game
« Reply #5 on: February 03, 2014, 07:36:39 am »
I tryed another VDS and same problem. So is it real to use ohsystem with gcb?

Grief-Code

  • Guest
Re: Can't join my game
« Reply #6 on: February 03, 2014, 07:45:57 am »
Ohsystem does work with gcb, this isnt the issue.

strol

  • Member
  • **
  • Posts: 58
  • Karma: +1/-3
    • View Profile
Re: Can't join my game
« Reply #7 on: February 03, 2014, 09:04:18 am »
Grief-Code, and how it must be? May be u know something simple for you and thats why u dont see the problem but i checked all the way wich i can imagine and got no result. So i guess there is no standart way to fix this, because i have read all the guide and thread with probmlems wich other have. In a few week before i tryed to do gcb on local server with pure ghostOne/ghost++ and how u can see i get simple advice about changing war3 local version to 26. Yes, its simple, but i didn't see this note in any instalation guide of gcb. So may be it the same case and can be solve with simple solution. May be u can check my vds, if u have some free minutes?

Grief-Code

  • Guest
Re: Can't join my game
« Reply #8 on: February 03, 2014, 09:07:22 am »
I probably have no time currently :-P

We switched ourself yesterday to a new server and there is a lot to configure.
Actually i have also problems running gcb currently successfully because i dont know a lot of it.

I know ghost++ but not gcb :-P
And as long as ghost++ does not displaying anything on the log file its gcb and not the bot.

Regards

strol

  • Member
  • **
  • Posts: 58
  • Karma: +1/-3
    • View Profile
Re: Can't join my game
« Reply #9 on: February 03, 2014, 09:20:21 am »
Its ok. And what this line mean "Also, you should not run gcb with root pemissions!" ? https://github.com/uakfdotb/gcb/blob/master/README
I run gcb from root user and what?

Grief-Code

  • Guest
Re: Can't join my game
« Reply #10 on: February 03, 2014, 10:04:21 am »
Its not secure....

Its coded in java, java has a lot security leaks :-P
They are probably not all found yet :-D

Just create a new user and simple give him permission to run gcb and nothing else.

Then it is more secured.

Regards

uakf.b

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: +86/-12
    • View Profile
Re: Can't join my game
« Reply #11 on: February 03, 2014, 11:28:33 am »
You should not run gcb as root user for the same reason why you should not run GHost++ or any other software as root user when you don't have to. It has nothing to do with Java.

As for security leaks, all of the recent issues are Java web applets bypassing security restrictions, which is completely unrelated to Java applications.

Grief-Code

  • Guest
Re: Can't join my game
« Reply #12 on: February 03, 2014, 11:47:42 am »
Ok this is actually true ;-)

strol

  • Member
  • **
  • Posts: 58
  • Karma: +1/-3
    • View Profile
Re: Can't join my game
« Reply #13 on: February 03, 2014, 01:08:48 pm »
Guys, if u have working gcb with ohsystem, share ur logs and cfgs, please.

Grief-Code

  • Guest
Re: Can't join my game
« Reply #14 on: February 03, 2014, 01:12:31 pm »
I think this isnt the problem, your cfgs seems to be fine.

However you can have the same issue.

Run the command:
Code: [Select]
telnet localhost 6112if you dont have telnet installed use first:
Code: [Select]
apt-get install telnetor on Ubuntu:
Code: [Select]
sudo apt-get install telnetor on CentOS:
Code: [Select]
yum install telnet
What does the command return then?