News:

Holy shit, it's 2018 2019 2020 2021 2022 2023 2024, and the US isn't a fascist country! What a time to be alive.

Main Menu

Bot Tutorial?

Started by dynobird, September 25, 2005, 03:03:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dynobird

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.

Ryan Marcus

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

Sidoh

Quote01001001011001100010000001111001011011110111010101110010001000000111001001100101011000010110010001101001011011100110011100100000011101000110100001101001011100110010110000100000011110010110111101110101011100100010000001100001001000000110111001100101011100100110010000101110

You're **

Ryan Marcus

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

Sidoh


Quik

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

drka

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)

Quik

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#?
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

Newby

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
- 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

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
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. 

drka

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

MyndFyre

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.
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

dynobird

#11
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?

MyndFyre

BnetDocs is temporarily down due to the vL site having the e-mail server upgraded.  It'll be up soon.
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

Newby

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?
- 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

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
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. 

Hdx

#14
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)~-~
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.