Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: gotcha_ass on January 26, 2003, 08:07 PM

Title: how to start a binary bot
Post by: gotcha_ass on January 26, 2003, 08:07 PM
how do you start making a binary bot?? Ive seen the simple code usin a winsock that connects and sends some crap, but how do you do a full logon to get into the private channels?
Title: Re: how to start a binary bot
Post by: gotcha_ass on January 27, 2003, 04:48 PM
nevermind i figured it out on my own, i got the source to binarybot and am making a little map to help me figure out the events, but I know some questions will pop up some time.
Title: Re: how to start a binary bot
Post by: gotcha_ass on January 27, 2003, 04:59 PM
ok I have a question now...
After the bot logs on, it calls up this Function that get the MpqName and the HashCmd.
It sends this packet:
sckBnet.SendData Chr(1)
PacketBuf.InsertDWORD 0
PacketBuf.InsertDWORD 0
PacketBuf.InsertDWORD 0
PacketBuf.InsertDWORD 0
PacketBuf.InsertNTString "vLBBot"
PacketBuf.InsertNTString "vLBBot"
PacketBuf.SendPacket sckBnet, &H5

PacketBuf.InsertNonNTString "68XIRATS"
PacketBuf.InsertDWORD &HA5
PacketBuf.InsertDWORD 0
PacketBuf.SendPacket sckBnet, &H6

Will somebody explain what the Chr(1)is, and what should the 2 NTStrings that say "vLBBot" contain? And, also, can you explain the "68XIRATS", &HA5, &H6??

Or tell me of a doc some where that will explain it for me. Thanks.
Title: Re: how to start a binary bot
Post by: Noodlez on January 27, 2003, 05:10 PM
www.valhallalegends.com/arta/bnetdocs

dont use 0x06...its OLD
Title: Re: how to start a binary bot
Post by: gotcha_ass on January 27, 2003, 05:31 PM
what is 0x06??


oh ya, thanx for the BnetDocs....that site has everything I need.