News:

How did you even find this place?

Main Menu

Invalid game version

Started by Shubit, October 08, 2008, 11:00:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Shubit

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?

Lead

Try using a different BNLS server such as:

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


QuoteSon, 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

Lead

Quote from: Lead 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

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


QuoteSon, 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

Xoleum

Quote from: Lead on October 08, 2008, 01:43:42 PM
Quote from: Lead 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

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?

Camel

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!

Shubit

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)


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

Camel

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!

DarkTooLs

Quote from: Camel 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?

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:


games.getWrite("WAR3", "Version byte", "15");
games.getWrite("W3XP", "Version byte", "15");


This will fix the invalid game version issue.

Explicit

Quote from: DarkTooLs on October 13, 2008, 08:53:27 AM
Quote from: Camel 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?

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:


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.
QuoteLike all things in life, pumping is just a primitive, degenerate form of bending.

QuoteHey, 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.

Shubit

#9
Quote from: DarkTooLs on October 13, 2008, 08:53:27 AM
Quote from: Camel 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?

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:


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

Sidoh

oh hi, we all know lots of German.

Blaze

And like a fool I believed myself, and thought I was somebody else...

Joe

Quote from: Shubit on October 14, 2008, 02:19:01 PM
Quote from: DarkTooLs on October 13, 2008, 08:53:27 AM
Quote from: Camel 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?

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:


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


Lead

Quote from: Shubit on October 14, 2008, 02:19:01 PM
Quote from: DarkTooLs on October 13, 2008, 08:53:27 AM
Quote from: Camel 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?

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:


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?


QuoteSon, 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