Author Topic: Bot Tutorial?  (Read 9759 times)

0 Members and 1 Guest are viewing this topic.

Offline dynobird

  • Newbie
  • *
  • Posts: 26
  • I'm new here!
    • View Profile
Bot Tutorial?
« 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.

Offline Ryan Marcus

  • Cross Platform.
  • Full Member
  • ***
  • Posts: 170
  • I'm Bono.
    • View Profile
    • My Blog
Re: Bot Tutorial?
« Reply #1 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!
Thanks, Ryan Marcus

Quote
<OG-Trust> I BET YOU GOT A CAR!
<OG-Trust> A JAPANESE CAR!
Quote
deadly: Big blue fatass to the rescue!
496620796F75722072656164696E6720746869732C20796F75722061206E6572642E00

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Bot Tutorial?
« Reply #2 on: September 25, 2005, 05:07:43 pm »
Quote
01001001011001100010000001111001011011110111010101110010001000000111001001100101011000010110010001101001011011100110011100100000011101000110100001101001011100110010110000100000011110010110111101110101011100100010000001100001001000000110111001100101011100100110010000101110

You're **

Offline Ryan Marcus

  • Cross Platform.
  • Full Member
  • ***
  • Posts: 170
  • I'm Bono.
    • View Profile
    • My Blog
Re: Bot Tutorial?
« Reply #3 on: September 25, 2005, 05:20:33 pm »
@ Sidoh: ?
Thanks, Ryan Marcus

Quote
<OG-Trust> I BET YOU GOT A CAR!
<OG-Trust> A JAPANESE CAR!
Quote
deadly: Big blue fatass to the rescue!
496620796F75722072656164696E6720746869732C20796F75722061206E6572642E00

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Bot Tutorial?
« Reply #4 on: September 25, 2005, 05:41:00 pm »

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: Bot Tutorial?
« Reply #5 on: September 25, 2005, 08:44:37 pm »
It's breaking the tables. :(
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline drka

  • ffdshow > in_mp3.dll
  • Full Member
  • ***
  • Posts: 330
    • View Profile
Re: Bot Tutorial?
« Reply #6 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)

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: Bot Tutorial?
« Reply #7 on: September 25, 2005, 11:27:52 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#?
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Bot Tutorial?
« Reply #8 on: September 26, 2005, 12:00:10 am »
@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
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline drka

  • ffdshow > in_mp3.dll
  • Full Member
  • ***
  • Posts: 330
    • View Profile
Re: Bot Tutorial?
« Reply #9 on: September 26, 2005, 02:14:00 am »
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

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Bot Tutorial?
« Reply #10 on: September 26, 2005, 11:33:56 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.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline dynobird

  • Newbie
  • *
  • Posts: 26
  • I'm new here!
    • View Profile
Re: Bot Tutorial?
« Reply #11 on: September 26, 2005, 03:49:46 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?
« Last Edit: September 26, 2005, 03:53:59 pm by dynobird »

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Bot Tutorial?
« Reply #12 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.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Bot Tutorial?
« Reply #13 on: September 26, 2005, 09:04:18 pm »
BnetDocs is temporarily down due to the vL site having the e-mail server upgraded.  It'll be up soon.

Being physically upgraded?
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Re: Bot Tutorial?
« Reply #14 on: September 26, 2005, 09:25:32 pm »
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.
Note: Arta gave me permission to host this untill bnetdocs is back. So dont rtag me you bastards
~-~(HDX)~-~
« Last Edit: September 27, 2005, 10:25:11 am by HdxBmx27 »
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.