Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: MyndFyre on October 03, 2004, 03:50 AM

Title: Anyone having BNLS weirdness?
Post by: MyndFyre on October 03, 2004, 03:50 AM

Direction: Sent (BNLS)
Date/Time: Sunday, October 03, 2004 1:50:50 AM
Packet ID: BNLS_RequestVersionByte
0000  07 00 10 02 00 00 00                              .......         


My connection is continually stopping here when I try to log on with Brood War.

Has the BNLS protocol recently changed and no longer supports Brood War?
Title: Re: Anyone having BNLS weirdness?
Post by: titan0060 on October 03, 2004, 09:14 AM
my bot just stops whenever i try to log onto ANY client!
Title: Re: Anyone having BNLS weirdness?
Post by: DeTaiLs on October 03, 2004, 10:04 AM
I just tryed login on 2 of my bots with bw and i had no problem with it
Title: Re: Anyone having BNLS weirdness?
Post by: Michael on October 03, 2004, 10:12 AM
Well, i am no expert but maybe your computers winsock has a virus or is currupted? or something like that? or maybe your computer needs to be restarted?
Title: Request for more information
Post by: Kp on October 03, 2004, 10:40 AM
Quote from: MyndFyre on October 03, 2004, 03:50 AMDirection: Sent (BNLS)
Date/Time: Sunday, October 03, 2004 1:50:50 AM
Packet ID: BNLS_RequestVersionByte
0000  07 00 10 02 00 00 00                              .......         
My connection is continually stopping here when I try to log on with Brood War.

Has the BNLS protocol recently changed and no longer supports Brood War?

Is this the first message you send or do you exchange several messages successfully before it freezes?  What happens if you request a version byte for some other client?  To what address are you connecting?  Botnet has been unreachable for me for several days, but the connection still seems to "complete" sometimes before it dies.
Title: Re: Anyone having BNLS weirdness?
Post by: shadypalm88 on October 03, 2004, 11:58 AM
A friend of mine reported that my bot suddenly could no longer connect to BNLS.  I changed the server address from www.valhallalegends.com (which I had switched it to during the BNLS denial-of-service attack) to bnls.valhallalegends.com.  A quick dig shows that the IP addresses of the two are different, though I don't know how long that has been the case.
www.valhallalegends.com. 86400  IN      A       63.161.183.207
bnls.valhallalegends.com. 3600  IN      A       63.161.183.202
Anyway, apparently that fixed the problem.  Not sure if yours is different.
Title: Re: Anyone having BNLS weirdness?
Post by: Meh on October 03, 2004, 12:08 PM
I have not been able to connect for 3 days. It is highley unlikely all our computers have winsock related viruses :P
Title: Re: Anyone having BNLS weirdness?
Post by: Blaze on October 03, 2004, 03:39 PM
I have no problem connecting to bnls.valhallalegends.com:9367, but www.valhallalegends.com:9367 seems to be down/not responding.
Title: Re: Anyone having BNLS weirdness?
Post by: Eternal on October 03, 2004, 03:40 PM
Quote from: Kk)Blaze(kK on October 03, 2004, 03:39 PM
I have no problem connecting to bnls.valhallalegends.com:9367, but www.valhallalegends.com:9367 seems to be down/not responding.

I can concur with that.
Title: Re: Anyone having BNLS weirdness?
Post by: MyndFyre on October 03, 2004, 06:13 PM
It works for me again.  It only was not working for me while connecting to US West with Brood War; other clients and servers worked fine.
Title: Re: Anyone having BNLS weirdness?
Post by: Networks on October 04, 2004, 02:45 PM
I have trouble with WAR3, I keep getting a bad password (or whatever it is) (0x52: 0x02)
Title: Re: Anyone having BNLS weirdness?
Post by: LordNevar on October 04, 2004, 05:57 PM
Use the servers to connect to BNLS.
Name    : bnls.valhallalegends.com   (.COM | US Commercial)
Address : 63.161.183.202

These do not route anymore.
Name    : www.valhallalegends.com    (.COM | US Commercial)
Address : 63.161.183.207

I would suggest adding an option to select or input then BNLS server into your bot instead of adding it automatically.
Title: Re: Anyone having BNLS weirdness?
Post by: MyndFyre on October 04, 2004, 06:03 PM
Quote from: Networks on October 04, 2004, 02:45 PM
I have trouble with WAR3, I keep getting a bad password (or whatever it is) (0x52: 0x02)

Aren't the login packets 0x53 and 0x54?

0x52 is to create an account.
Title: Re: Anyone having BNLS weirdness?
Post by: UserLoser. on October 04, 2004, 08:27 PM
Quote from: Networks on October 04, 2004, 02:45 PM
I keep getting a bad password

So supply a valid password
Title: Re: Anyone having BNLS weirdness?
Post by: Networks on October 05, 2004, 03:09 PM
Quote from: MyndFyre on October 04, 2004, 06:03 PM
Quote from: Networks on October 04, 2004, 02:45 PM
I have trouble with WAR3, I keep getting a bad password (or whatever it is) (0x52: 0x02)

Aren't the login packets 0x53 and 0x54?

0x52 is to create an account.

Probably 0x54..? I was at school, so I was just guessing. (NOT WAR3 HASHED IT IS GOING THROUGH BNLS (for those of you who have Suspicion))

Userloser.. it is..
Title: Re: Anyone having BNLS weirdness?
Post by: Anubis on October 06, 2004, 04:18 PM
Quote from: LordNevar on October 04, 2004, 05:57 PM
Use the servers to connect to BNLS.
Name    : bnls.valhallalegends.com   (.COM | US Commercial)
Address : 63.161.183.202

These do not route anymore.
Name    : www.valhallalegends.com    (.COM | US Commercial)
Address : 63.161.183.207

So will this be fixed, or do us CSB users have to find an alternative? Or did I just miss a post somewhere...
Title: Re: Anyone having BNLS weirdness?
Post by: Networks on October 06, 2004, 04:52 PM
Quote from: Anubis on October 06, 2004, 04:18 PM
Quote from: LordNevar on October 04, 2004, 05:57 PM
Use the servers to connect to BNLS.
Name    : bnls.valhallalegends.com   (.COM | US Commercial)
Address : 63.161.183.202

These do not route anymore.
Name    : www.valhallalegends.com    (.COM | US Commercial)
Address : 63.161.183.207

So will this be fixed, or do us CSB users have to find an alternative? Or did I just miss a post somewhere...

CSB uses www.valhallalegends.com ? HAHAHAHAHA GOOD! :)
Title: Re: Anyone having BNLS weirdness?
Post by: Anubis on October 06, 2004, 05:49 PM
Wow...impressive reply. Really, I'm impressed.
Title: Re: Anyone having BNLS weirdness?
Post by: Kp on October 06, 2004, 05:56 PM
Quote from: Anubis on October 06, 2004, 05:49 PMWow...impressive reply. Really, I'm impressed.

Actually, given the quality of CSB users, I'm rather pleased with Networks' civility in his post.  CSB users don't really deserve such a light treatment.
Title: Re: Anyone having BNLS weirdness?
Post by: Minux on October 06, 2004, 06:55 PM
Quote from: Networks on October 05, 2004, 03:09 PM
Probably 0x54..? I was at school, so I was just guessing. (NOT WAR3 HASHED IT IS GOING THROUGH BNLS (for those of you who have Suspicion))

Userloser.. it is..

0x54 being AccountLogonProof can be done through BNLS using [0x03].
The structures for 0x03 can be found here (http://www.valhallalegends.com/yoni/stuff/BNLSProtocolSpec.asp).

Hope this helps -.-
Title: Re: Anyone having BNLS weirdness?
Post by: Networks on October 06, 2004, 11:03 PM
Quote from: Kp on October 06, 2004, 05:56 PM
Quote from: Anubis on October 06, 2004, 05:49 PMWow...impressive reply. Really, I'm impressed.

Actually, given the quality of CSB users, I'm rather pleased with Networks' civility in his post.  CSB users don't really deserve such a light treatment.

Networks for president?

(Don't be a son of a bush!)
Title: Re: Anyone having BNLS weirdness?
Post by: Soul Taker on October 07, 2004, 01:12 AM
Quote from: Anubis on October 06, 2004, 04:18 PM
Quote from: LordNevar on October 04, 2004, 05:57 PM
Use the servers to connect to BNLS.
Name    : bnls.valhallalegends.com   (.COM | US Commercial)
Address : 63.161.183.202

These do not route anymore.
Name    : www.valhallalegends.com    (.COM | US Commercial)
Address : 63.161.183.207

So will this be fixed, or do us CSB users have to find an alternative? Or did I just miss a post somewhere...
There's nothing to be fixed except for the code the client is using (in this case, CSB).  The spec has said for a long, long time to use bnls.valhallalegelnds.com
Title: Re: Anyone having BNLS weirdness?
Post by: Blaze on October 07, 2004, 06:22 AM
Stealthbot switched over to www.valhallalegends.com in the beta stages due to the dos attack I think, and it didn't change back. :-S
Title: Re: Anyone having BNLS weirdness?
Post by: Anubis on October 07, 2004, 10:32 AM
Quote from: Kp on October 06, 2004, 05:56 PM
Quote from: Anubis on October 06, 2004, 05:49 PMWow...impressive reply. Really, I'm impressed.

Actually, given the quality of CSB users, I'm rather pleased with Networks' civility in his post.  CSB users don't really deserve such a light treatment.

Everyone uses Windows, it's the same thing. Don't knock CSB users - you're only insulting the person who actually took the time to make the ocx.

There's nothing wrong with taking the pre-compiled method to do something. Why have two people do the same thing when the first person won't share anything of how they did it? I use what I can get as a tool.

And anyway if you're going to post a reply to a thread, don't flame the person, jeez.

So anyway, I'm assuming CSB is screwed.
Title: Re: Anyone having BNLS weirdness?
Post by: Kp on October 07, 2004, 11:04 AM
Quote from: Anubis on October 07, 2004, 10:32 AM
Quote from: Kp on October 06, 2004, 05:56 PM
Quote from: Anubis on October 06, 2004, 05:49 PMWow...impressive reply. Really, I'm impressed.
Actually, given the quality of CSB users, I'm rather pleased with Networks' civility in his post.  CSB users don't really deserve such a light treatment.
Everyone uses Windows, it's the same thing. Don't knock CSB users - you're only insulting the person who actually took the time to make the ocx.
There's nothing wrong with taking the pre-compiled method to do something. Why have two people do the same thing when the first person won't share anything of how they did it? I use what I can get as a tool.
And anyway if you're going to post a reply to a thread, don't flame the person, jeez.
So anyway, I'm assuming CSB is screwed.

Not everyone uses Windows.  I'd expect you would have the sense not to rely on obvious falsehoods.  As for "insulting" the creator, that doesn't track either.  Most Windows users are barely computer literate, but that's the fault of the users who cannot be bothered to learn, not the people who wrote Windows.

CSB users are picked on because, for most of them, they are not using it "as a tool" to save them the effort of reimplementing it.  They use it as a crutch because they cannot reimplement it.  In many cases, they lack even the skill to use it effectively without significant help from the forum, which makes them a nuisance to forumgoers.

[Edit: added second paragraph.]
Title: Re: Anyone having BNLS weirdness?
Post by: Soul Taker on October 07, 2004, 11:32 AM
Quote from: Anubis on October 07, 2004, 10:32 AM
Why have two people do the same thing when the first person won't share anything of how they did it?
The BNLS protocol spec isn't enough sharing to figure out how to use it?  ...Seriously?
Title: Re: Anyone having BNLS weirdness?
Post by: MyndFyre on October 07, 2004, 07:00 PM
Quote from: Soul Taker on October 07, 2004, 11:32 AM
Quote from: Anubis on October 07, 2004, 10:32 AM
Why have two people do the same thing when the first person won't share anything of how they did it?
The BNLS protocol spec isn't enough sharing to figure out how to use it?  ...Seriously?

It is.  But seriously -- when you compile C++ code, are you recoding every little function in the Standard Library?

Anubis' point that you quote, Soul Taker, is very intelligent.  The rest isn't, as Kp pointed out, but this is fairly obvious, I think.  The point isn't BNLS or CSB as a library/tool, but rather, whether or not code reuse is a good thing.  Most programmers tend to think it is.
Title: Reuse and tools
Post by: Kp on October 07, 2004, 07:14 PM
Quote from: MyndFyre on October 07, 2004, 07:00 PMIt is.  But seriously -- when you compile C++ code, are you recoding every little function in the Standard Library?

I have been known to do this on occasion. ;)

Quote from: MyndFyre on October 07, 2004, 07:00 PMThe point isn't BNLS or CSB as a library/tool, but rather, whether or not code reuse is a good thing.  Most programmers tend to think it is.

Reuse is a good thing, but relying on unmaintained black boxes can get you into trouble if they ever malfunction.  Consider CSB's longstanding bug with war3 when the statstrings changed: very few people have the expertise to go fix it, and there's never been a compelling reason to institute such a fix, since it would benefit only the users who cannot operate without CSB.
Title: Re: Anyone having BNLS weirdness?
Post by: Blaze on October 08, 2004, 05:00 PM
How did this thread get so side-tracked from its main purpose? (Reminder: www.valhallalegeneds.com:9367 Not connecting right)
Title: Re: Anyone having BNLS weirdness?
Post by: Networks on October 08, 2004, 06:25 PM
Quote from: Kk)Blaze(kK on October 08, 2004, 05:00 PM
How did this thread get so side-tracked from its main purpose? (Reminder: www.valhallalegeneds.com:9367 Not connecting right)

So use bnls.valhallalegends.com:9367, quit your bitchin.
Title: Re: Anyone having BNLS weirdness?
Post by: MyndFyre on October 08, 2004, 07:05 PM
Quote from: Networks on October 08, 2004, 06:25 PM
Quote from: Kk)Blaze(kK on October 08, 2004, 05:00 PM
How did this thread get so side-tracked from its main purpose? (Reminder: www.valhallalegeneds.com:9367 Not connecting right)

So use bnls.valhallalegends.com:9367, quit your bitchin.

Networks, he asked how the thread got so side-tracked, and I'm inclined to agree.  I was obviously connecting to BNLS and negotiating successfully, so it had nothing to do with the server name I was going for.

Why don't you come off your high horse and not be an ass?  Thanks.
Title: Re: Anyone having BNLS weirdness?
Post by: Tuberload on October 08, 2004, 07:07 PM
I want a high horse with a big ass.