• Welcome to Valhalla Legends Archive.
 

Battle.net Packet Introduction for Newbies

Started by Elneroth, July 09, 2005, 03:20 AM

Previous topic - Next topic

shout

Quote from: Archangel on July 09, 2005, 09:19 PM
Why do people always answer "Google"? its better to give usefull links to the documentation, that way this forum will just not have google links.

Google holds links to most, if not all, of the worlds information.

Lenny

Perhaps that's true, but google only returns the information you want based on the information you put into it.

You're really not doing any good at all by simply referring someone to google.  It would be better if you referred someone to google with AT LEAST a proper query.  Don't you find that google returns much better content when you know something about what you're searching for?

I see those of you that refer users to google and nothing more incapable of correctly answering the question yourself.
The Bovine Revolution
Something unimportant

Live Battle.net:

WARNING: The preceding message may have contained content unsuitable for young children.

Kp

OK, since this is deteriorating rapidly:

If you can't give an answer other than "search the 'Net", just don't say anything at all.  That way, the original poster will wait for days and never get any responses. :)  IMO, this is far better than telling them to search for the content, as they will usually take it out on the regulars if you respond at all.  Just treat stupid questions like trolls.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

R.a.B.B.i.T

Quote from: shadypalm88 on July 09, 2005, 08:09 PM
Quote from: rabbit on July 09, 2005, 06:29 PM
Quote from: shadypalm88 on July 09, 2005, 01:41 PM
I think this is a useful document.  I'm in the process of converting it to HTML format and editing it to add more background information.  You can see how it's coming along at this site.  Comments, suggestions, and corrections are welcome.
You're part about xWORDS is incorrect.  The size of a WORD depends on the system.  The size you have them listed as is for a 16-bit system, which is probably not used anymore.  You should fix that.
True, but that's the convention normally used here.  I should probably explain that better.

Quote from: rabbit on July 09, 2005, 06:29 PMAlso, you just blurt out ASCII with no reference or description of what it is (which is the nature of the document)
Where do I do that?  I do explain that it's a character encoding, and what that is; I'm not sure what else you mean.
QuoteJust as each person in the class came up with his/her own code, there are many character sets in existance; the only ones you really need to know about at this point are ASCII and ISO 8859-1, which is an extension of ASCII.  These character sets are used to represent Latin alphabets, used by English, Spanish, French, etc.  (ASCII does not include accented characters, limiting it to English.)  ISO 8859-1 is the character set used on Battle.net.  In this character set (and ASCII), each character is one byte....
You don't even explain what the acronym stands for :\

Also, I'll be posting about xWORD conventions.

Insolence

Quote from: Kp on July 09, 2005, 10:18 PM
OK, since this is deteriorating rapidly:

If you can't give an answer other than "search the 'Net", just don't say anything at all.  That way, the original poster will wait for days and never get any responses. :)  IMO, this is far better than telling them to search for the content, as they will usually take it out on the regulars if you respond at all.  Just treat stupid questions like trolls.
Thank you, also I didn't mean to be arrogant.

More jokingly, as he did, than arrogant.  It shouldn't matter who I'm joking with... especially since many people would consider that an insult and I replied with a joke instead of a flame.  Obviously I've tried searching google, many times: "how to connect to battle.net". 

However, there are many vague things I didn't understand enough to make a proper query or translate VB code.  Also, I have little time between bot projects and my PHP stuff, it'd mean a lot to me if someone took the time to link to actual information. 
(Notes: my thread was responded to very well and I appriciate those who helped)

Anyway, as I said before this was a good guide, and I actually did a little experimenting in Ethereal (I already had installed).  The whole point of the project I want to make is the LACK of packet knowledge you need to have to make a bot.  Very far off topic now, thanks for at least warning me about flaming senior members :)

Archangel

Well, if you look for battle.net bot development on google you will find a link to this forum, so, its better to put information on here so when people search in google they will be directed to this site :) or when search in this forum they will find it 2, not just a google link.
I'm not an Addict.

Dyndrilliac

#21
Google can return literally hundreds of pages containing information about a topic in a matter of seconds. The people here are telling you to utilize this to your advantage, and you reply implying they are somehow spiting you when in fact in order to come close to what Google does for you it would be a grave inconvenience both to the person requesting information (takes longer to get what he/she needs to know)  and the person giving it (has to compile it all). Not to mention this behaviour being just plain rude.

In order for information relaying to be as successful as possible, you're better off leaving the broad vague questions/topics to Google and coming here when you have a very articulate, specific question.

Edit: My post is largely irrelevant. Many posts addressing this were posted while my slow self was typing.

Quote from: Archangel on July 10, 2005, 02:41 AM
Well, if you look for battle.net bot development on google you will find a link to this forum, so, its better to put information on here so when people search in google they will be directed to this site :) or when search in this forum they will find it 2, not just a google link.

More often than not people replying with Google answers were able to search for the desired information in a small timeframe and come up with results. If they can do it, you can too.
Quote from: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.

Networks

Insolence, this is really the thing...if you can't obtain the information on battle.net's main bot development forum, where else can I point you? There's so much open source and information available you really shouldn't need ANOTHER tutorial when there's 1000's on google already. Why reinvent the wheel? Put some work in and stop being so damn dependent. (I don't mean to be mean)

I'd say this packet intro is great since the only OTHER one I know of is feanor's and this is much more complete.

Oh and Kp, I am a senior member now!? :D <3

MyndFyre

OT:

Quote from: Networks on July 11, 2005, 03:16 PM
Oh and Kp, I am a senior member now!? :D <3
He said "more senior."  That would be anyone with more than 10 posts.  :P
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.

Warrior

Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

The-FooL

Quote from: Archangel on July 09, 2005, 09:19 PM
[Opinion/Question]
Why do people always answer "Google"? its better to give usefull links to the documentation, that way this forum will just not have google links.

Because many are (rightfully) annoyed at people asking the same easy questions, and decide to be assholes in an effort to make the people do some work.

Insolence

Quote from: Networks on July 11, 2005, 03:16 PM
Insolence, this is really the thing...if you can't obtain the information on battle.net's main bot development forum, where else can I point you? There's so much open source and information available you really shouldn't need ANOTHER tutorial when there's 1000's on google already. Why reinvent the wheel? Put some work in and stop being so damn dependent. (I don't mean to be mean)

I'd say this packet intro is great since the only OTHER one I know of is feanor's and this is much more complete.

Oh and Kp, I am a senior member now!? :D <3
Some work into it?  I've researched a ton.

It may be harder for someone like me, you know how certain people learn better from physical, vocal, and visual types of learning?  I learn best from vocal.  It's very hard for me to absorb all the information I need to jump from the basics I've been doing to TCP stuff.

Honestly it can't be that much of a problem, and if it is you can do more good by not saying anything at all. (not to be mean)  Whenever someone asks a very simple question about something I'm experienced with, (autoit/php/C#) and I'm in a good mood I gladly give a very thought of explination of the solution to their problem. 

If I hardly even know where to start researching for a problem, at least a little bit of information would do me well.  Obviously I've googled many times, and tried searching for '+C# +connecting' '+C# +source' on here.

MyndFyre

What kind of Google search string did you use?  Something as thorough as "Connecting to a server with C#"?  What about resources like DotNetNuke, TheCodeProject, GotDotNet (one of my personal favorites), or even (eww) vbcode.com?  There is a wealth of information there.  Additionally, I have posted several code descriptions about it:
In this post, I provide links to information on high-level TCP/IP communications with .NET as well as a generic class that can be overridden for TCP/IP communication.

If you look at the source code I provided at the last post in the above link, and then compare it to this older source code, you'll find a similar design pattern.  Specifically, you'll find processing going on in the OnDataXxx methods.  That class supports connecting to Battle.net via BNLS (and I think it might even support local revision checking, but I'm not sure) with STAR, SEXP, W2BN, D2DV, and D2XP.  (That's old code, though -- I've learned a lot since then).

Don't expect me to explain that code, though.  There are close to 2500 lines in that class, and there are lots of supporting classes as well.

I don't believe anyone is going to write a tutorial or has written a tutorial specifically about connecting to Battle.net via C# or any .NET language.  There are plenty of tutorials, though, for connecting to ANY server in C# and other .NET languages, and with BnetDocs and the rest of the community here, willing to clarify what the protocol means, not to mention past collected discussion, it really shouldn't be that hard.
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.

Networks

Quote from: Insolence on July 11, 2005, 06:01 PM
Quote from: Networks on July 11, 2005, 03:16 PM
Insolence, this is really the thing...if you can't obtain the information on battle.net's main bot development forum, where else can I point you? There's so much open source and information available you really shouldn't need ANOTHER tutorial when there's 1000's on google already. Why reinvent the wheel? Put some work in and stop being so damn dependent. (I don't mean to be mean)

I'd say this packet intro is great since the only OTHER one I know of is feanor's and this is much more complete.

Oh and Kp, I am a senior member now!? :D <3
Some work into it?  I've researched a ton.

It may be harder for someone like me, you know how certain people learn better from physical, vocal, and visual types of learning?  I learn best from vocal.  It's very hard for me to absorb all the information I need to jump from the basics I've been doing to TCP stuff.

Honestly it can't be that much of a problem, and if it is you can do more good by not saying anything at all. (not to be mean)  Whenever someone asks a very simple question about something I'm experienced with, (autoit/php/C#) and I'm in a good mood I gladly give a very thought of explination of the solution to their problem. 

If I hardly even know where to start researching for a problem, at least a little bit of information would do me well.  Obviously I've googled many times, and tried searching for '+C# +connecting' '+C# +source' on here.

I bet that very simple question is also quite specific as well. Sockets aren't quite as simple as counting to 123 (although some people may think so I suppose). The thing is there are tutorials you just need to find them, if you are dependent on people to do things for you, and I take this from experience, you will NEVER get anywhere, I promise.

Anyway no point in beating this issue on the ground, as MyndFyre stated, There's a wealth of information you just need to look for it.