Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Luxer on July 12, 2004, 12:07 PM

Title: BNLS
Post by: Luxer on July 12, 2004, 12:07 PM
Where do I begin with connecting my bot the battle.net use BNLS? I am a REAL beginer. I don't now what BNLS is. I can:

•Connecting to battle.net with chat
•Do all of that chat stuff.
Title: Re:BNLS
Post by: MyndFyre on July 12, 2004, 12:52 PM
Quote from: Luxer on July 12, 2004, 12:07 PM
Where do I begin with connecting my bot the battle.net use BNLS? I am a REAL beginer. I don't now what BNLS is. I can:

•Connecting to battle.net with chat
•Do all of that chat stuff.


Read up on the BNLS Protocol Specification (http://www.valhallalegends.com/yoni/bnlsprotocolspec.txt) for more information on what BNLS does and how it operates.

(How sad is it that I have that spec URL memorized? :P )
Title: Re:BNLS
Post by: ChR0NiC on July 12, 2004, 01:11 PM
If you are a beginner, I suggest you study the documents at BNET Docs (http://bnetdocs.valhallalegends.com). Study the Protocol Headers so you know how to send the packets correctly, and study the sizes and types so you know the differences between DWORD, WORDS, BYTES, etc...
Also you can check out the logon sequence Arta has provided to figure out how to connect yourself to BNET. Once you learn the protospec, you should be able to figure how to phase the BNLS connection into your BNET connection.
Title: Re:BNLS
Post by: Luxer on July 12, 2004, 09:21 PM
Ugh.... This is going to take a while... But thanks!
Title: Re:BNLS
Post by: ChR0NiC on July 12, 2004, 09:41 PM
Quote from: Luxer on July 12, 2004, 09:21 PM
Ugh.... This is going to take a while... But thanks!

Sorry but programmers who start out by modifying other's sources, end up relying on others to complete projects. And it's horrible practice, you will be thankful in the end that you did it this way.
Title: Re:BNLS
Post by: MyndFyre on July 12, 2004, 11:07 PM
Quote from: ChR0NiC on July 12, 2004, 09:41 PM
Quote from: Luxer on July 12, 2004, 09:21 PM
Ugh.... This is going to take a while... But thanks!

Sorry but programmers who start out by modifying other's sources, end up relying on others to complete projects. And it's horrible practice, you will be thankful in the end that you did it this way.

Someone knows from experience.  ;-)
Title: Re:BNLS
Post by: ChR0NiC on July 13, 2004, 12:05 AM
Quote from: Myndfyre on July 12, 2004, 11:07 PM
Someone knows from experience.  ;-)

Pffffffffffffft, just drop it would ya?
Title: Re:BNLS
Post by: Hdx on July 13, 2004, 12:05 AM
Quote from: ChR0NiC on July 12, 2004, 09:41 PM
Sorry but programmers who start out by modifying other's sources, end up relying on others to complete projects. And it's horrible practice, you will be thankful in the end that you did it this way.
Not all programmers that start out that way stick with it. I startred that way and now im a compatant programmer. But i also know where to go if i need help (hehe my mentor Mr. FoFo) Only thing I use source codes for now is examples of uses for certin functions/subs/whatever.
~-~(HDX)~-~
Title: Re:BNLS
Post by: Luxer on July 13, 2004, 09:56 AM
I agree. I started with HyperTalk, which I found to be a big mistake, so when I started RB I was completly new to OPP. Prehaps somone could explain what 0x00 is? I am farly to to TCP/IP and have not worked with packets...
Title: Re:BNLS
Post by: pianka on July 13, 2004, 10:02 AM
Quote from: Luxer on July 13, 2004, 09:56 AM
I agree. I started with HyperTalk, which I found to be a big mistake, so when I started RB I was completly new to OPP. Prehaps somone could explain what 0x00 is? I am farly to to TCP/IP and have not worked with packets...

RB = RTB?
OPP = OOP?
0x00 is a byte with the value 0, and packets are constructed depending on a protocol, which is standard.  You may want to read up on byte length data types (WORD, DWORD, QWORD, NTSTRING etc.)
Title: Re:BNLS
Post by: tA-Kane on July 13, 2004, 01:00 PM
Quote from: PiaNKA on July 13, 2004, 10:02 AMRB = RTB?
No. RB = REALbasic. www.realbasic.com.

REALbasic is to Macintosh, like Visual Basic is to Windows.
Title: Re:BNLS
Post by: MyndFyre on July 13, 2004, 01:02 PM
Quote from: tA-Kane on July 13, 2004, 01:00 PM
Quote from: PiaNKA on July 13, 2004, 10:02 AMRB = RTB?
No. RB = REALbasic. www.realbasic.com.

REALbasic is to Macintosh, like Visual Basic is to Windows.

Lame?
Title: Re:BNLS
Post by: pianka on July 13, 2004, 01:22 PM
Quote from: Myndfyre on July 13, 2004, 01:02 PM
Lame?

Mmmm...yes, was I right about the OOP? :)

Edit: Woot I'm a Jr. Member :-D
Title: Re:BNLS
Post by: Luxer on July 13, 2004, 05:58 PM
Yes, you where right on OOP. (OPP = Object Pooping on Practice).