• Welcome to Valhalla Legends Archive.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - LX

#1
Quote from: -MichaeL- on May 03, 2009, 04:57 PM
I've written a BNLS server in C#.net. You can find all the information on it here. Keep in mind it uses MyndFyre's MBNCSUtil so it should be a good example of how to use MBNCSUtil.

Thanks Michael. I'll also have a look at your code.
#2
I am VERY impressed with the quality of work by MyndFyre. Seldom have I seen such well documented code and of high standard. If only all programmers had such skills. And to find one in the gaming scene is just beyond me.
Anyway, I'll have a look around the library in a couple of weeks, as I am stomped with work till the end of May.
Thanks for the great pointer to the library.
#3
Thanks Yegg for the elaborate reply. I googled all I could, but could not find any description anywhere.
This all makes sense. But if someone was crazy enough to program an easy to use library (I might be the one), say in C#, than anyone could have the same benefits of a BNLS server, but wouldn't have to rely on the servers being up. I am particularly concerned about the bad servers that seem to be out there.
I have found Java sources of JBLS somewhere, but are there sources for BNLS available? It would be hard, but doable work to translate the Java library and I am familiar with such work (again, see my previous work mentioned above). Would it be worth the effort with SC2 coming out in the near future?
Thanks.
#4
I posted this noob question at bnetdocs first. Yegg was kind enough to point me to this forum and give me a brief explanation already.

Original question: "I am planning to write some interesting C# code for Battle.Net protocols. I've been searching the net for information and found loads of it. Enough to get me going, except... I have only a vague clue as to what the JBLS and BNLS servers are for and why you want to use them. So far I guessed that these servers act as proxies between chat clients (non Blizzard-games) and the real Battle.Net servers. But why not let the chat clients connect directly. Am I missing stuff here?.
If someone could give a non-expert Battle.Net guy a short explanation, that would be much appreciated. Then, expect great things to come in the future (such as a C# based BNLS/JBLS server, custom clients and other marvelous stuff).
Thanx.
LX"

Reply by Yegg: "You probably won't see this answer now, but JBLS and BNLS are the same concept. To keep things simple, they are servers that handle all of the complicated Battle.net procedures for you and tell you what to send to Battle.net."

Can anyone add some extra info to this? What exactly is the difference? Just implementation? What is the complicated stuff that you don't want to handle? I can imagine that referencing a good library is just as good as going through a proxy (which has the risk of taking username and password). So, why the servers?

BTW, check my other protocol work at http://gamingprotocols.codeplex.com.