• Welcome to Valhalla Legends Archive.
 

Error Invaild Version

Started by ExaM, March 03, 2004, 05:52 PM

Previous topic - Next topic

ExaM

I was messing around with my bot for like three hours, and when I ran it and tried to connect, I got an error message box, saying:
ERROR

Invalid Version

I'm using BNLS and CleanSlateBot.oxc.. please help  :-[

Kp

Take out the MsgBox call.  This will prevent you from receiving the error message, thus resolving the problem at hand.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

MyndFyre

hehe

I got an invalid version error earlier, too.  It wasn't in a message box though.

And I'm using my own bot API that I wrote from scratch in C#.  Not CSB.  =P

I haven't gotten it since, though, so it may just be isolated.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Kp

Quote from: Myndfyre on March 04, 2004, 04:59 PMI haven't gotten it since, though, so it may just be isolated.

There's a known race condition in the battle.net versioning procedure that can cause a version check to fail.  If it occurs only once, this is probably what transpired.  The details:

To conserve processor resources, battle.net computes and caches a version check result for a few minutes at a time.  When you connect, it sends you the current control string; you check the files and send the result back.  The race condition lies in that there is no provision for the client's answer to be "valid" if the server changes the control string (and therefore the answer) before the client can respond.  For example, if I tell you to compute n*m and give you an n and m, then I change my mind while you're thinking, I'd consider your answer "wrong" even though you multiplied the numbers I gave you and provided the correct solution to that problem.  This is essentially what occurs with the version check race condition.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Soul Taker

I've been getting invalid version errors for about a month now.  80% or so of the times when I attempt to log on a bot that uses BNLS, the first time it fails, and the second time it logs on fine.

Eric

#5
I've had it happen a few times while hashing locally.

CrAz3D

Quote from: ExaM on March 03, 2004, 05:52 PM
I was messing around with my bot for like three hours, and when I ran it and tried to connect, I got an error message box, saying:
ERROR

Invalid Version

I'm using BNLS and CleanSlateBot.oxc.. please help  :-[
Probably because you're trying to use war3 which doesn't work in CSB?
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

SNiFFeR

Quote from: CrAz3D on March 05, 2004, 09:19 AM
Probably because you're trying to use war3 which doesn't work in CSB?

Uh if you use War3 & CSB, the program usually crashes.

Stealth

Quote from: SNiFFeR on March 05, 2004, 12:17 PM
Quote from: CrAz3D on March 05, 2004, 09:19 AM
Probably because you're trying to use war3 which doesn't work in CSB?

Uh if you use War3 & CSB, the program usually crashes.

CSB crashes with runtime error 9.
- Stealth
Author of StealthBot

CrAz3D

rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

ChR0NiC

Quote from: ExaM on March 03, 2004, 05:52 PM
I was messing around with my bot for like three hours, and when I ran it and tried to connect, I got an error message box, saying:
ERROR

Invalid Version

I'm using BNLS and CleanSlateBot.oxc.. please help  :-[

Well, a way to find out the problem MIGHT BE (just suggesting), when you get disconnected, make a message box pop up and do something like


MsgBox CleanSlateBot1.Product & " Is What I am Using"


So you can at least figure out what product it is trying to connect with, so you might be able to think more logically about the solution. Again..just a suggestion.

ExaM

Sorry I haven't been on in a long time... haven;t had a chance. Anyways I found out the problem incase anyone is interested it was the stupidest mistake. Apparently there's a special order the CSB has to go in... like setting the Username and Password, after I fixed it it work lol

Eli_1

Quote from: ExaM on March 09, 2004, 07:47 PM
Sorry I haven't been on in a long time... haven;t had a chance. Anyways I found out the problem incase anyone is interested it was the stupidest mistake. Apparently there's a special order the CSB has to go in... like setting the Username and Password, after I fixed it it work lol
I'm not totally positive, but the only order I know of is that the .Accept has to be set first?