Author Topic: Local Hashing Issue  (Read 3541 times)

0 Members and 1 Guest are viewing this topic.

Offline lumix

  • Newbie
  • *
  • Posts: 2
    • View Profile
Local Hashing Issue
« on: March 12, 2007, 01:58:38 pm »
I get a similar problem, although I'm not ipbanned from the server and have another bot connected/reconnected fine.

Code: [Select]
[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)
« Last Edit: March 12, 2007, 02:44:07 pm by lumix »

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Local Hashing Issue
« Reply #1 on: March 13, 2007, 01:19:29 am »
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?
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline lumix

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Local Hashing Issue
« Reply #2 on: March 13, 2007, 07:01:12 pm »
I'm using d2dv, bot's working fine now.
« Last Edit: March 13, 2007, 07:04:53 pm by lumix »

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Local Hashing Issue
« Reply #3 on: March 13, 2007, 07:44:59 pm »
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.
I'd personally do as Joe suggests

You might be right about that, Joe.