Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Spik on May 12, 2004, 11:10 AM

Title: Complete Command List for Bnet?
Post by: Spik on May 12, 2004, 11:10 AM
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
Title: Re:Complete Command List for Bnet?
Post by: hismajesty on May 12, 2004, 11:13 AM
/help commands
Title: Re:Complete Command List for Bnet?
Post by: Spik on May 12, 2004, 12:02 PM
Sounds good, and where to type this?^^
Title: Re:Complete Command List for Bnet?
Post by: synth on May 12, 2004, 12:16 PM
In (Battle.net) chat.
Title: Re:Complete Command List for Bnet?
Post by: 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... :)
Title: Re:Complete Command List for Bnet?
Post by: synth on May 12, 2004, 12:24 PM
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.
Title: Re:Complete Command List for Bnet?
Post by: MyndFyre on May 12, 2004, 12:58 PM
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.
Title: Re:Complete Command List for Bnet?
Post by: hismajesty on May 12, 2004, 01:34 PM
When you said you needed a command list for bnet I figured that's what you meant. :P
Title: Re:Complete Command List for Bnet?
Post by: Eli_1 on May 12, 2004, 01:41 PM
Commands -> Packets?

I suggest getting a packet logger (http://www.ethereal.com) and reading bnetdocs.
Title: Re:Complete Command List for Bnet?
Post by: Nodens on May 12, 2004, 04:11 PM
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.
Title: Re:Complete Command List for Bnet?
Post by: voodooism on May 13, 2004, 02:51 PM
Quote from: Spik on May 12, 2004, 11:10 AM
Is there a complete list of all commands that are used by bnet?

http://www.battle.net/info/commands.shtml
http://www.battle.net/info/friends.shtml
Title: Re:Complete Command List for Bnet?
Post by: hismajesty on May 13, 2004, 07:13 PM
Quote from: Voodooism on May 13, 2004, 02:51 PM
Quote from: Spik on May 12, 2004, 11:10 AM
Is there a complete list of all commands that are used by bnet?

http://www.battle.net/info/commands.shtml
http://www.battle.net/info/friends.shtml

Quote from: hismajesty on May 12, 2004, 11:13 AM
/help commands