• Welcome to Valhalla Legends Archive.
 

Complete Command List for Bnet?

Started by Spik, May 12, 2004, 11:10 AM

Previous topic - Next topic

Spik

Hi guys!
Im complete newbie in botprogramming on bnet, but i am experienced in programming itself. Is there a complete list of all commands that are used by bnet? i think there has to be one, for example an account login:

login <name>, <password>

this could be the string sended by the client to bnet server
something like this... i surfed a little on this page, but didnt find a complete list yet.. would be glad of help.

Thanks
Spik

hismajesty


Spik

Sounds good, and where to type this?^^

synth

#3
In (Battle.net) chat.

Spik

ok thx, but thats no what i needed... i need a list of all commands that ar sent between the bnet client (for example starcraft) and the battle.net server. i need this commands to allow my bot to login, to send  messages from one client to another etc.
i mean just the pure strings, sended via network protocol. (thats what i wanted to express with the sample above)
i dont know if such a list exists, i just thought that there should be one... :)

synth

Browse through BotDev (http://botdev.valhallalegends.com/).  Look at Grok's simple chat bot.  You also might want to look at "AssBot".  You might find some useful things there.

MyndFyre

Quote from: Spik on May 12, 2004, 12:22 PM
ok thx, but thats no what i needed... i need a list of all commands that ar sent between the bnet client (for example starcraft) and the battle.net server. i need this commands to allow my bot to login, to send  messages from one client to another etc.
i mean just the pure strings, sended via network protocol. (thats what i wanted to express with the sample above)
i dont know if such a list exists, i just thought that there should be one... :)

There is no "login" command, by the way.
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.

hismajesty

When you said you needed a command list for bnet I figured that's what you meant. :P

Eli_1

Commands -> Packets?

I suggest getting a packet logger and reading bnetdocs.

Nodens

If you're just wanting a chat bot, I believe the format for login in visual basic is
Chr(3) & Chr(4) & strUser & vbCrLf & strPass & vbCrLf

If you're using C/C++, I'd advise checking out the greetbot battle.net once had on their site (pretty sure it's been taken off) Starcraft.org has it available for download at http://www.starcraft.org/downloads/bnet/greetbot.zip

If you don't want just a chat bot...best bet is to try bnetdocs and a good packet sniffer. If you want help with that, just post or send me a message directly and I'll do my best to help ya out with getting started on it.

voodooism