Author Topic: Invalid game version  (Read 6141 times)

0 Members and 1 Guest are viewing this topic.

Offline Shubit

  • Newbie
  • *
  • Posts: 3
    • View Profile
Invalid game version
« on: October 08, 2008, 11:00:19 AM »
Hi @ all
I like to use JavaOp as a Clanbot for my WarCraft III Clan. Everything was fine (download, installation, quick configuration), but when I try to connect now, the bot seems to have problems with the game version:

[16:37:28.703] INFO: Trying BNLS server: bnls.valhallalegends.com
[16:37:28.781] INFO: Resolving ip for server: europe.battle.net
[16:37:28.860] INFO: Resolves to 8 different addresses
[16:37:28.874] INFO: Choosing address 0 [europe.battle.net/213.248.106.66]
[16:37:28.878] INFO: Attempting to connect
[16:37:29.102] INFO: Connected to /213.248.106.66:6112
[16:37:29.106] INFO: Trying BNLS server: bnls.valhallalegends.com
[16:37:29.126] INFO: Connected to europe.battle.net:6112
[16:37:29.130] INFO: Sending protocol byte (0x01).
[16:37:29.148] INFO: Switching to Binary protocol.
[16:37:29.150] INFO: Sending authorization.
[16:37:29.885] INFO: Authorization sent, waiting for reply.
[16:37:29.890] INFO: Beginning to receive packets
[16:37:29.995] INFO: Checking server's signature...
[16:37:30.003] INFO: Server successfully authenticated -- it's Blizzard's
[16:37:30.542] INFO: CDKey and Version check sent.
[16:37:30.651] exceptions.InvalidVersion: Invalid game version
[16:37:30.653] Login.getLogin(Login.java:184)
[16:37:30.654] PluginMain.processedPacket(PluginMain.java:333)
[16:37:30.655] pluginmanagers.PluginRegistration.processedIncomingPacket(PluginRegistration.java:722)
[16:37:30.661] bot.PacketThread.run(PacketThread.java:179)


Can someone help me pls?

Offline Lead

  • x86
  • Hero Member
  • *****
  • Posts: 636
  • Shaman of Sexy.
    • View Profile
Re: Invalid game version
« Reply #1 on: October 08, 2008, 11:09:02 AM »
Try using a different BNLS server such as:

pyro.no-ip.biz
jbls.org
hdx.jbls.org
jbls.clanbnu.net


Quote
Son, if you really want something in this life, you have to work for it. Now quiet! They're about to announce the lottery numbers. - Homer Simpson

Offline Lead

  • x86
  • Hero Member
  • *****
  • Posts: 636
  • Shaman of Sexy.
    • View Profile
Re: Invalid game version
« Reply #2 on: October 08, 2008, 01:43:42 PM »
Try using a different BNLS server such as:

pyro.no-ip.biz
jbls.org
hdx.jbls.org
jbls.clanbnu.net

On another note you may have to edit the verbyte in one of the java classes as well


Quote
Son, if you really want something in this life, you have to work for it. Now quiet! They're about to announce the lottery numbers. - Homer Simpson

Offline Xoleum

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Invalid game version
« Reply #3 on: October 10, 2008, 10:30:26 AM »
Try using a different BNLS server such as:

pyro.no-ip.biz
jbls.org
hdx.jbls.org
jbls.clanbnu.net

On another note you may have to edit the verbyte in one of the java classes as well

And to what would that value be?

Offline Camel

  • Hero Member
  • *****
  • Posts: 1705
    • View Profile
    • BNU Bot
Re: Invalid game version
« Reply #4 on: October 10, 2008, 02:51:43 PM »
bnls.valhallalegends.com has been out of date for a long time, try using a different server first.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline Shubit

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Invalid game version
« Reply #5 on: October 11, 2008, 04:04:03 PM »
I tried the other BNLS Server and now it says:
[21:59:41.609] INFO: Server successfully authenticated -- it's Blizzard's
[21:59:41.615] java.lang.NumberFormatException: For input string: "3541311316"
[21:59:41.616] java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
[21:59:41.617] java.lang.Integer.parseInt(Integer.java:459)
[21:59:41.618] java.lang.Integer.parseInt(Integer.java:497)
[21:59:41.618] versioning.CheckRevision.checkRevision(CheckRevision.java:75)
[21:59:41.636] versioning.Game.checkRevision(Game.java:118)
[21:59:41.642] versioning.BNLSWrapper.getVersionCheck(BNLSWrapper.java:121)
[21:59:41.642] Login.getAuthCheck(Login.java:152)
[21:59:41.643] PluginMain.processedPacket(PluginMain.java:295)
[21:59:41.644] pluginmanagers.PluginRegistration.processedIncomingPacket(PluginRegistration.java:722)
[21:59:41.644] bot.PacketThread.run(PacketThread.java:179)


Quote
On another note you may have to edit the verbyte in one of the java classes as well
what?

Offline Camel

  • Hero Member
  • *****
  • Posts: 1705
    • View Profile
    • BNU Bot
Re: Invalid game version
« Reply #6 on: October 13, 2008, 01:47:17 AM »
At a glance, that looks like a bug in JavaOp - something to do with unsigned number conversion perhaps?

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline DarkTooLs

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Invalid game version
« Reply #7 on: October 13, 2008, 08:53:27 AM »
At a glance, that looks like a bug in JavaOp - something to do with unsigned number conversion perhaps?

no, its simply the verbyte is out of date.

Extract BNetLogin.jar, Open GameData.java for editing.
Go to the private void initialize() function, and change the getwrite functions for war3 and w3xp to the following:

Code: [Select]
games.getWrite("WAR3", "Version byte", "15");
games.getWrite("W3XP", "Version byte", "15");

This will fix the invalid game version issue.

Offline Explicit

  • Hero Member
  • *****
  • Posts: 718
  • Hail Bender!
    • View Profile
Re: Invalid game version
« Reply #8 on: October 13, 2008, 10:47:21 AM »
At a glance, that looks like a bug in JavaOp - something to do with unsigned number conversion perhaps?

no, its simply the verbyte is out of date.

Extract BNetLogin.jar, Open GameData.java for editing.
Go to the private void initialize() function, and change the getwrite functions for war3 and w3xp to the following:

Code: [Select]
games.getWrite("WAR3", "Version byte", "15");
games.getWrite("W3XP", "Version byte", "15");

This will fix the invalid game version issue.

You can also override the hardcoded value by editing ~/.javaop2/_GameData.txt.
Quote
Like all things in life, pumping is just a primitive, degenerate form of bending.

Quote
Hey, I don't tell you how to tell me what to do, so don't tell me how to do what you tell me to do! ... Bender knows when to use finesse.

[13:41:45]<@Fapiko> Why is TehUser asking for wang pictures?
[13:42:03]<@TehUser> I wasn't asking for wang pictures, I was looking at them.
[13:47:40]<@TehUser> Mine's fairly short.

Offline Shubit

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Invalid game version
« Reply #9 on: October 14, 2008, 02:19:01 PM »
At a glance, that looks like a bug in JavaOp - something to do with unsigned number conversion perhaps?

no, its simply the verbyte is out of date.

Extract BNetLogin.jar, Open GameData.java for editing.
Go to the private void initialize() function, and change the getwrite functions for war3 and w3xp to the following:

Code: [Select]
games.getWrite("WAR3", "Version byte", "15");
games.getWrite("W3XP", "Version byte", "15");

This will fix the invalid game version issue.

thx to everybody, now the bod is running :D
« Last Edit: October 18, 2008, 01:32:40 PM by Shubit »

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17668
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Invalid game version
« Reply #10 on: October 14, 2008, 04:12:00 PM »
oh hi, we all know lots of German.

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7129
  • Canadian
    • View Profile
    • Maide
Re: Invalid game version
« Reply #11 on: October 14, 2008, 04:21:20 PM »
Keine Mühe.  :)
And like a fool I believed myself, and thought I was somebody else...

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10322
  • In Soviet Russia, text read you!
    • View Profile
    • William's Blog
Re: Invalid game version
« Reply #12 on: October 14, 2008, 06:16:31 PM »
At a glance, that looks like a bug in JavaOp - something to do with unsigned number conversion perhaps?

no, its simply the verbyte is out of date.

Extract BNetLogin.jar, Open GameData.java for editing.
Go to the private void initialize() function, and change the getwrite functions for war3 and w3xp to the following:

Code: [Select]
games.getWrite("WAR3", "Version byte", "15");
games.getWrite("W3XP", "Version byte", "15");

This will fix the invalid game version issue.

vielen dank, das hat geholfen, jetzt läuft der Bot :)

auch Danke für die Mühe der anderen ;)

Willkommen.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Lead

  • x86
  • Hero Member
  • *****
  • Posts: 636
  • Shaman of Sexy.
    • View Profile
Re: Invalid game version
« Reply #13 on: October 15, 2008, 08:27:25 AM »
At a glance, that looks like a bug in JavaOp - something to do with unsigned number conversion perhaps?

no, its simply the verbyte is out of date.

Extract BNetLogin.jar, Open GameData.java for editing.
Go to the private void initialize() function, and change the getwrite functions for war3 and w3xp to the following:

Code: [Select]
games.getWrite("WAR3", "Version byte", "15");
games.getWrite("W3XP", "Version byte", "15");

This will fix the invalid game version issue.

vielen dank, das hat geholfen, jetzt läuft der Bot :)

auch Danke für die Mühe der anderen ;)

that is gewd chocolat ja?


Quote
Son, if you really want something in this life, you have to work for it. Now quiet! They're about to announce the lottery numbers. - Homer Simpson