Clan x86

Technical (Development, Security, etc.) => General Programming => Botdev => Topic started by: dynobird on September 25, 2005, 03:03:51 PM

Title: Bot Tutorial?
Post by: dynobird on September 25, 2005, 03:03:51 PM
Where's a good tutorial on making battle.net bots (prefferably in Java). I made a CHAT client but now I'm looking to make a d2 or starcraft client, which I know is much harder than a CHAT client. What I'm looking for is the order of packets to send and which packets to send, mostly. And perhaps a little on creating packets/adding to packets.
Title: Re: Bot Tutorial?
Post by: Ryan Marcus on September 25, 2005, 03:54:39 PM
Take a look at JavaOp.. its open source, and should be a good starting point.

You might also want to check out the vL development references: http://forum.valhallalegends.com/phpbbs/index.php?board=45.0

w00t! I actually answered a question!
Title: Re: Bot Tutorial?
Post by: Sidoh on September 25, 2005, 05:07:43 PM
Quote01001001011001100010000001111001011011110111010101110010001000000111001001100101011000010110010001101001011011100110011100100000011101000110100001101001011100110010110000100000011110010110111101110101011100100010000001100001001000000110111001100101011100100110010000101110

You're **
Title: Re: Bot Tutorial?
Post by: Ryan Marcus on September 25, 2005, 05:20:33 PM
@ Sidoh: ?
Title: Re: Bot Tutorial?
Post by: Sidoh on September 25, 2005, 05:41:00 PM
Quote from: Ryan Marcus on September 25, 2005, 05:20:33 PM
@ Sidoh: ?

(http://sidoh.dark-wire.net/Files/binary.PNG)
Title: Re: Bot Tutorial?
Post by: Quik on September 25, 2005, 08:44:37 PM
It's breaking the tables. :(
Title: Re: Bot Tutorial?
Post by: drka on September 25, 2005, 08:45:53 PM
BNETDocs is also nice

@sidoh: eww @ kiddy vb

@dynobird: you basically connect to BNET, send 1 packet, wait for bnet to give you a packet, then you send a packet, and so on(or something like that)
Title: Re: Bot Tutorial?
Post by: Quik on September 25, 2005, 11:27:52 PM
Quote from: Mangix on September 25, 2005, 08:45:53 PM
BNETDocs is also nice

@sidoh: eww @ kiddy vb

@dynobird: you basically connect to BNET, send 1 packet, wait for bnet to give you a packet, then you send a packet, and so on(or something like that)

Giving a link to BnetDocs right now wouldn't be smart, the server is down.

'Kiddy' VB? It seems like a fine language to code something quick and dirty like that. Maybe you'd prefer to struggle with the concept in a language such as C#?
Title: Re: Bot Tutorial?
Post by: Newby on September 26, 2005, 12:00:10 AM
Quote from: Mangix on September 25, 2005, 08:45:53 PM
@sidoh: eww @ kiddy vb

Eww @ your custom title. Please change it. It's horrendously long and looks ugly.

I doubt you know all of those past "Hello, world!" as well. :P
Title: Re: Bot Tutorial?
Post by: drka on September 26, 2005, 02:14:00 AM
Quote from: Quik on September 25, 2005, 11:27:52 PM
Quote from: Mangix on September 25, 2005, 08:45:53 PM
BNETDocs is also nice

@sidoh: eww @ kiddy vb

@dynobird: you basically connect to BNET, send 1 packet, wait for bnet to give you a packet, then you send a packet, and so on(or something like that)

Giving a link to BnetDocs right now wouldn't be smart, the server is down.

'Kiddy' VB? It seems like a fine language to code something quick and dirty like that. Maybe you'd prefer to struggle with the concept in a language such as C#?
i know it's down. i've known since the first day it was down(i post regularly on their forums)

i am learning C#. it's kinda easy to tell you the truth. however figuring out which .NET namespace to use is hard -_-

@Newby: i do. however i dont know them perfectly :P
Title: Re: Bot Tutorial?
Post by: MyndFyre on September 26, 2005, 11:33:56 AM
Quote from: Mangix on September 26, 2005, 02:14:00 AM
i am learning C#. it's kinda easy to tell you the truth. however figuring out which .NET namespace to use is hard -_-
Uh, RTFM.  *Every* class's documentation on MSDN says which namespace it's in.

Oh, and re: your custom title: Microsoft.Vsa has NEVER worked correctly, they never finished it, and it's being deprecated.
Title: Re: Bot Tutorial?
Post by: dynobird on September 26, 2005, 03:49:46 PM
Quote from: Mangix on September 25, 2005, 08:45:53 PM
BNETDocs is also nice
@dynobird: you basically connect to BNET, send 1 packet, wait for bnet to give you a packet, then you send a packet, and so on(or something like that)

Yeah... k... duh...
It's as if I asked you to interpret Spanish and you said "Person A says something to person B and Person B responds to Person A and so forth."

I am sorry that I omitted the reason behind my question, though. I am asking specifically for a site/tutorial that has documentation of Bnet protocol now that BnetDocs is down. I actually wasn't 100% sure if it was down - I thought for some strange reason I may have been IPBanned although I've never done anything that would get me IPBanned - but now I know for sure. This makes me wonder why I never saved the content of BnetDocs on my computer =\

Or, if anyone has it saved on their computer, can you send it to me via email or aim?
Title: Re: Bot Tutorial?
Post by: MyndFyre on September 26, 2005, 08:15:52 PM
BnetDocs is temporarily down due to the vL site having the e-mail server upgraded.  It'll be up soon.
Title: Re: Bot Tutorial?
Post by: Newby on September 26, 2005, 09:04:18 PM
Quote from: MyndFyrex86] link=topic=3060.msg30059#msg30059 date=1127780152]
BnetDocs is temporarily down due to the vL site having the e-mail server upgraded.  It'll be up soon.

Being physically upgraded?
Title: Re: Bot Tutorial?
Post by: Hdx on September 26, 2005, 09:25:32 PM
yes, htere doing genral matanance from what I heard.
But shush! Poke (http://hdx.no-ip.org/bnetdocs/)
Dont tell anyone! thats a temp untill bnet docs gets back up. Soon as it does it's being taken down unless arta would like to give out the actuall site for mirriors..
Some things prolly dont work, but w/e it has msot the packet info.
Note: Arta gave me permission to host this untill bnetdocs is back. So dont rtag me you bastards
~-~(HDX)~-~
Title: Re: Bot Tutorial?
Post by: Ryan Marcus on September 27, 2005, 08:07:03 AM
Quote
yes, htere doing genral matanance from what I heard.
But shush! Poke
Dont tell anyone! thats a temp untill bnet docs gets back up. Soon as it does it's being taken down unless arta would like to give out the actuall site for mirriors..
Some things prolly dont work, but w/e it has msot the packet info.
~-~(HDX)~-~

Hehe.. I know where that came from :)