Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: phvckmeh on July 27, 2004, 03:28 PM

Title: *** Moving away from CleanSlateBot!, need help getting started
Post by: phvckmeh on July 27, 2004, 03:28 PM
 Alright well since CSB dosent have the speed/functionallity that i need, ive decided to make a bot that dosent use it.

This will be done in vb, and i need help getting started. where can i find the packet buffer module, and/or a little help to get me pointed in the right direction, i know all about bnetdocs and i understand sending and receiveing packets, just i dont know HOW to do it.
thanks guys!
Title: Re:*** Moving away from CleanSlateBot!, need help getting started
Post by: phvckmeh on July 27, 2004, 03:39 PM
alright can someone check and make sure this is the correct packetbuffer, i have no clue, it might be old
http://botdev.valhallalegends.com/documents/vbpacketbc.html
Title: Re:*** Moving away from CleanSlateBot!, need help getting started
Post by: ChR0NiC on July 27, 2004, 03:39 PM
Quote from: phvckmeh on July 27, 2004, 03:39 PM
alright can someone check and make sure this is the correct packetbuffer, i have no clue, it might be old
http://botdev.valhallalegends.com/documents/vbpacketbc.html

Yes

Edit: When I say this, I refer to the fact that it will work, but there really isn't a "correct" packet buffer, there are alot of different ones.
Title: Re:*** Moving away from CleanSlateBot!, need help getting started
Post by: phvckmeh on July 27, 2004, 03:51 PM
alright well from bnoc docs im gussing i need to send 0x01 first to BNLS, i just need some help or code on how i would do this, then i could probbaly figure out the rest for myself...
Title: Re:*** Moving away from CleanSlateBot!, need help getting started
Post by: ChR0NiC on July 27, 2004, 04:34 PM
Quote from: phvckmeh on July 27, 2004, 03:51 PM
alright well from bnoc docs im gussing i need to send 0x01 first to BNLS, i just need some help or code on how i would do this, then i could probbaly figure out the rest for myself...

Nope you are wrong you don't send 0x01 first. And it's spelled BNET Docs not bnoc docs. These first two tips I gave you should spare you embarrassment and keep you going in the right directon.
Title: Re:*** Moving away from CleanSlateBot!, need help getting started
Post by: UserLoser. on July 27, 2004, 04:54 PM
Quote from: ChR0NiC on July 27, 2004, 04:34 PM

Nope you are wrong you don't send 0x01 first. And it's spelled BNET Docs not bnoc docs. These first two tips I gave you should spare you embarrassment and keep you going in the right directon.

BNLS no longer requires authorization.  He can send whatever he wants first to BNLS.
Title: Re:*** Moving away from CleanSlateBot!, need help getting started
Post by: ChR0NiC on July 27, 2004, 05:00 PM
I guess he could send 0x01 first if he was using Warcraft III for logon. Well I forgot they no longer require authentication, as I still use it cuz it makes me feel closer to Yoni ;D
Title: Re:*** Moving away from CleanSlateBot!, need help getting started
Post by: MyndFyre on July 27, 2004, 05:17 PM
Quote from: UserLoser. on July 27, 2004, 04:54 PM
Quote from: ChR0NiC on July 27, 2004, 04:34 PM

Nope you are wrong you don't send 0x01 first. And it's spelled BNET Docs not bnoc docs. These first two tips I gave you should spare you embarrassment and keep you going in the right directon.

BNLS no longer requires authorization.  He can send whatever he wants first to BNLS.

His statement appeared like he wanted to send the protocol identifier to Battle.net, sending the byte value 0x01 to the BNCS.
Title: Re:*** Moving away from CleanSlateBot!, need help getting started
Post by: ChR0NiC on July 27, 2004, 05:39 PM
Quote from: Myndfyre on July 27, 2004, 05:17 PM
His statement appeared like he wanted to send the protocol identifier to Battle.net, sending the byte value 0x01 to the BNCS.

Yeah that's what I was thinking, it seemed like he was referring to the same way you initiate a connection to Battle.net
Title: Re:*** Moving away from CleanSlateBot!, need help getting started
Post by: Eli_1 on July 28, 2004, 04:46 PM
Is this what you're looking for?


Socket.SendData Chr(1)
' Socket.SendData Chr(&H1)
Title: Re:*** Moving away from CleanSlateBot!, need help getting started
Post by: ChR0NiC on July 28, 2004, 06:47 PM
Quote from: Eli_1 on July 28, 2004, 04:46 PM
Is this what you're looking for?


Socket.SendData Chr(1)
' Socket.SendData Chr(&H1)


He is trying to connect to BNLS.