Closed ngx3 closed 6 years ago
show config without user/pass/keys
#####################
#####################
bot_war3path = /home/hostbot/aura-bot/Warcraft III
bot_bindaddress =
bot_hostport = 6112
bot_reconnectport = 6113
bot_reconnectwaittime = 3
bot_maxgames = 20
bot_commandtrigger = !
bot_mapcfgpath = mapcfgs
bot_mappath = C:\Program Files\Warcraft III\Maps\Download\
bot_virtualhostname = |cFF4080C0Host1
bot_autolock = 0
bot_allowdownloads = 1
bot_maxdownloaders = 3
bot_maxdownloadspeed = 100
bot_lcpings = 1
bot_autokickping = 600
bot_lobbytimelimit = 10
bot_latency = 100
bot_synclimit = 50
bot_votekickpercentage = 100
bot_defaultmap = wormwar
bot_gameoverplayernumber = 1
#####################
#####################
lan_war3version = 29
udp_broadcasttarget =
udp_dontroute = 0
##########################
##########################
db_sqlite3_file = aura.dbs
#####################
#####################
irc_server =
irc_port = 6667
irc_nickname =
irc_username =
irc_password =
irc_commandtrigger =
irc_channel = irc_channel2 = irc_channel3 =
irc_rootadmin = irc_rootadmin2 = irc_rootadmin3 =
############################
############################
bnet_server = useast.battle.net
bnet_serveralias = USEast
bnet_cdkeyroc = xxxxxxxxxxxxxxxxxxxxxxxx
bnet_cdkeytft = xxxxxxxxxxxxxxxxxxxxxxxxxx
bnet_locale = system
bnet_username = username
bnet_password = password
bnet_firstchannel = The Void
bnet_rootadmins =
bnet_commandtrigger = !
bnet_custom_war3version = 29 bnet_custom_exeversion = bnet_custom_exeversionhash = bnet_custom_passwordhashtype = bnet_custom_pvpgnrealmname = PvPGN Realm
bnet2_server = europe.battle.net bnet2_serveralias = Europe bnet2_cdkeyroc = xxxxxxxxxxxxxxxxxxxxx bnet2_cdkeytft = xxxxxxxxxxxxxxxxxxxxx bnet2_locale = system bnet2_username = username bnet2_password = password bnet2_firstchannel = The Void bnet2_rootadmins = bnet2_commandtrigger = !
bnet3_server = uswest.battle.net bnet3_serveralias = USWEST bnet3_cdkeyroc = xxxxxxxxxxxxxxxxxxxxxx bnet3_cdkeytft = xxxxxxxxxxxxxxxxxxxxxx bnet3_locale = system bnet3_username = username bnet3_password = password bnet3_firstchannel = The Void bnet3_rootadmins = bnet3_commandtrigger = !
Next time just attach file. For bot_war3path you are using / as path delimiter but for bot_mappath you are using \
It made no difference, it didn't work either way when I tried to start the bot, same error.
You need to set custom_war3version = 29 in all 3, you only have it in east. And bot is saying [BNCSUI] unable to open War3EXE [] so it is not being able to find Warcraft III.exe in the path you specified with bot_war3path
[AURA] warning - unable to load MPQ file [C:\Program Files\Warcraft III/War3.mpq] - error code 2
[BNCSUI] unable to open War3EXE []
[BNET: USEast] logon failed - bncsutil key hash failed (check your Warcraft 3 path and cd keys), disconnecting
It's still using the default value for the w3 path - meaning it didn't find the entry in the config file. Are you sure you edited the right file? Or perhaps used wrong line endings in the cfg file?
@juvian Isn't that for connecting to a PvPGN server? Regardless I did what you said and put it in, still nothing.
@Josko I have attached a file structure of the "aura-bot" directory. I've tried all these paths: bot_war3path = C:\Program Files\Warcraft III (the default one) bot_war3path = Warcraft III bot_war3path = /home/hostbot/aura-bot/Warcraft III bot_war3path = \home\hostbot\aura-bot\Warcraft III bot_war3path = /home/hostbot/aura-bot/War3 bot_war3path = \home\hostbot\aura-bot\War3
None work.
@ngx3 no, 29 is for the bot to use new bnet connection method (that doesnt use storm.dll and game.dll)
Why are you adding Warcraft III to the path? Seems to me you have that aura-bot directory at
/home/hostbot/aura-bot
Try that ^^
I think that could be the reason. I have set: bnet_custom_war3version = 29 <---- this is the one you said it was already set for useast? bnet_custom_exeversion = 29 bnet_custom_exeversionhash = 29
Is that correct? Otherwise still not working :(
only set bnet_custom_war3version = 29, erase bnet_custom_exeversion and bnet_custom_exeversionhash lines:
bnet2_server = useast.battle.net bnet2_serveralias = USEast bnet2_cdkeyroc = xxxxxxxxxxxxxxxxxxxxx bnet2_cdkeytft = xxxxxxxxxxxxxxxxxxxxx bnet2_locale = system bnet2_username = xxxx bnet2_password = xxxx bnet2_firstchannel = The Void bnet2_rootadmins = bnet2_commandtrigger = ! bnet2_custom_war3version = 29
Ok! It seemed to have done something.. It works! I'm able to login to USEast not EU or West. Same error for EU and West as above "[BNET: USWEST] logon failed - bncsutil key hash failed (check your Warcraft 3 path and cd keys), disconnecting [BNET: USWEST] disconnected from battle.net"
You were missing bnet3_custom_war3version = 29 for west and bnet2_custom_war3version = 29 for europe
And solved. lol.. Thank you!
@ngx3 no problem. Close issue ^^
Hosting on my Ubuntu 16.04 vps. The location "C:\Program Files\Warcraft III" in the cfg file is there as a placeholder, for clarification? I changed it to reflect my bot installation that also didn't work.
./aura++ [CONFIG] loading file [aura.cfg] [AURA] starting up [AURA] using monotonic timer with resolution 1.000000 nanoseconds [SQLITE3] version 3.18.0 [SQLITE3] opening database [aura.dbs] [SQLITE3] found schema number [1] [AURA] Aura++ version 1.32 - with GProxy++ support [UDPSOCKET] using default broadcast target [AURA] listening for GProxy++ reconnects on port 6113 [AURA] warning - irc connection not found in config file [AURA] found battle.net connection #1 for server [useast.battle.net] [AURA] using system locale of 1031 [AURA] found battle.net connection #2 for server [europe.battle.net] [AURA] using system locale of 1031 [AURA] found battle.net connection #3 for server [uswest.battle.net] [AURA] using system locale of 1031 [AURA] warning - unable to load MPQ file [C:\Program Files\Warcraft III/War3.mpq] - error code 2 [CONFIG] loading file [mapcfgs/wormwar.cfg] [UTIL] warning - unable to read file [C:\Program Files\Warcraft III\Maps\Download\/(12)WormWar.w3x] [MAP] warning - unable to load MPQ file [C:\Program Files\Warcraft III\Maps\Download\/(12)WormWar.w3x] [MAP] no map data available, using config file for map_size, map_info, map_crc, map_sha1 [MAP] no map data available, using config file for map_options, map_width, map_height, map_slot, map_numplayers, map_numteams
[MAP] overriding calculated map_filter_type with config value map_filter_type = 2
[AURA] started loading [ip-to-country.csv]
[AURA] iptocountry data: 10% loaded
[AURA] iptocountry data: 20% loaded
[AURA] iptocountry data: 30% loaded
[AURA] iptocountry data: 40% loaded
[AURA] iptocountry data: 50% loaded
[AURA] iptocountry data: 60% loaded
[AURA] iptocountry data: 70% loaded
[AURA] iptocountry data: 80% loaded
[AURA] iptocountry data: 90% loaded
[AURA] iptocountry data: 100% loaded
[AURA] finished loading [ip-to-country.csv]
[BNET: USEast] connecting to server [useast.battle.net] on port 6112
[BNET: USEast] resolved and cached server IP address IP
[BNET: Europe] connecting to server [europe.battle.net] on port 6112
[BNET: Europe] resolved and cached server IP address IP
[BNET: USWEST] connecting to server [uswest.battle.net] on port 6112
[BNET: USWEST] resolved and cached server IP address IP
[BNET: USEast] connected
[BNET: USWEST] connected
[BNET: Europe] connected
[BNCSUI] unable to open War3EXE []
[BNET: USEast] logon failed - bncsutil key hash failed (check your Warcraft 3 path and cd keys), disconnecting
[BNET: USEast] disconnected from battle.net
[BNCSUI] unable to open War3EXE []
[BNCSUI] unable to open StormDLL []
[BNCSUI] unable to open GameDLL []
[BNET: USWEST] logon failed - bncsutil key hash failed (check your Warcraft 3 path and cd keys), disconnecting
[BNET: USWEST] disconnected from battle.net
[BNCSUI] unable to open War3EXE []
[BNCSUI] unable to open StormDLL []
[BNCSUI] unable to open GameDLL []
[BNET: Europe] logon failed - bncsutil key hash failed (check your Warcraft 3 path and cd keys), disconnecting
[BNET: Europe] disconnected from battle.net