News:

Pretty crazy that we're closer to 2030, than we are 2005. Where did the time go!

Main Menu

Local Hashing Issue

Started by lumix, March 12, 2007, 01:58:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lumix

I get a similar problem, although I'm not ipbanned from the server and have another bot connected/reconnected fine.

[14:43:03.207] INFO: Trying BNLS server: bnls.valhallalegends.com
[14:43:03.223] INFO: Resolving ip for server: useast.battle.net
[14:43:08.269] INFO: Resolves to 12 different addresses
[14:43:08.285] INFO: Choosing address 2 [useast.battle.net/63.240.202.121]
[14:43:08.285] INFO: Attempting to connect
[14:43:08.394] INFO: Connected to /63.240.202.121:6112
[14:43:08.426] INFO: Trying BNLS server: bnls.valhallalegends.com
[14:43:08.441] INFO: Connected to useast.battle.net:6112
[14:43:08.441] INFO: Sending protocol byte (0x01).
[14:43:08.441] INFO: Switching to Binary protocol.
[14:43:08.441] INFO: Sending authorization.
[14:43:13.504] WARNING: BNLS server 'bnls.valhallalegends.com' returned an error -- this means the server might not be running.
[14:43:13.551] WARNING: The error is: java.net.SocketException: Connection timed out
[14:43:13.551] INFO: Attempting to use next BNLS server.
[14:43:13.551] WARNING: Out of BNLS servers, defaulting to local hashing.
[14:43:13.551] INFO: Authorization sent, waiting for reply.
[14:43:13.551] INFO: Beginning to receive packets
[14:43:13.629] java.lang.NumberFormatException: For input string: "2277514268"
[14:43:13.629] java.lang.NumberFormatException.forInputString(Unknown Source)
[14:43:13.629] java.lang.Integer.parseInt(Unknown Source)
[14:43:13.676] java.lang.Integer.parseInt(Unknown Source)
[14:43:13.676] versioning.CheckRevision.checkRevision(CheckRevision.java:76)
[14:43:13.691] versioning.Game.checkRevision(Game.java:118)
[14:43:13.691] versioning.BNLSWrapper.getVersionCheck(BNLSWrapper.java:121)
[14:43:13.691] Login.getAuthCheck(Login.java:152)
[14:43:13.691] PluginMain.processedPacket(PluginMain.java:295)
[14:43:13.707] pluginmanagers.PluginRegistration.processedIncomingPacket(PluginRegistration.java:722)
[14:43:13.707] bot.PacketThread.run(PacketThread.java:179)

Joe

What client is that? Diablo II or WarCraft II, I'm guessing.

The issue is that CheckRevision version two used Int64 instead of Int32, effectively doing nothing more than cause some bots to crash for a while. iago fixed this, but I forgot to patch my copy of JavaOp2 up with this before applying the BNLS fixes.

I'm busy right now but when I get a chance I'll fix it and upload a BNetLogin.jar hotfix for you.

I'm curious why you're getting the BNLS error, however. Is it down right now?
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


lumix

#2
I'm using d2dv, bot's working fine now.

Joe

Are you getting the BNLS error, still?

If BNLS has returned online then you'll never fall back on local CheckRevision -- that's only there for when it's dead.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.