Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Ozzapoo on November 07, 2008, 09:30 PM

Title: JBLS/BNLS
Post by: Ozzapoo on November 07, 2008, 09:30 PM
Can they be used in PRETTY MUCH the same way, for connecting bots?
Title: Re: JBLS/BNLS
Post by: Yegg on November 07, 2008, 09:39 PM
Mostly. If a bot supports BNLS and allows you to set the BNLS server address, changing it to a JBLS will have the bot use that server and everything will work as it did when set to a BNLS address.
Title: Re: JBLS/BNLS
Post by: MyndFyre on November 07, 2008, 09:39 PM
Yes; JBLS is a Java implementation of the BNLS protocol/service.
Title: Re: JBLS/BNLS
Post by: Ozzapoo on November 07, 2008, 09:56 PM
Is there like a list of what you could possibly need to use BNLS for? (As in, what you need to use BNLS for to get some values)
Title: Re: JBLS/BNLS
Post by: Barabajagal on November 07, 2008, 10:40 PM
Only difference is JBLS can handle products that don't use a CD Key. Full BNLS packet documentation (including what the packets return) can be found on http://bnetdocs.com
Title: Re: JBLS/BNLS
Post by: Ozzapoo on November 08, 2008, 03:00 PM
Could anyone post, or link me to a simple guide (or snippet of code) which connects me to a JBLS/BNLS server and does BNLS_CDKEY or something in VB.NET or VB6?
Title: Re: JBLS/BNLS
Post by: Barabajagal on November 08, 2008, 04:09 PM
Already did. BNetDocs gives you everything but a packet buffer/debuffer, and you can get that from my signature. Here (http://bnetdocs.com/?op=packet&pid=179)'s what you send, and here (http://bnetdocs.com/?op=packet&pid=123)'s what you receive.
Title: Re: JBLS/BNLS
Post by: Ozzapoo on November 08, 2008, 05:07 PM
But i'm not sure as to what I should use to connect to Battle.Net/BNLS in VB.
Title: Re: JBLS/BNLS
Post by: Barabajagal on November 08, 2008, 05:21 PM
winsock
Title: Re: JBLS/BNLS
Post by: Hdx on November 08, 2008, 05:21 PM
Well,  simplest way to do it in VB is to import the winsock object, add a winsock control to your form and do winsock1.connect "USWest.bettle.net", 6112
Title: Re: JBLS/BNLS
Post by: Ozzapoo on November 08, 2008, 05:31 PM
Is the System.Net.Sockets namespace the same thing?
Title: Re: JBLS/BNLS
Post by: MyndFyre on November 09, 2008, 12:53 AM
Generally.