Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: ThatOldFalcon on July 22, 2003, 07:59 AM

Title: Help understanding this!
Post by: ThatOldFalcon on July 22, 2003, 07:59 AM
Alright, I read the stuff spht wrote about hashes, and I read the packet buffer thing and I got started working on this...

pBuf.InsertDWORD 0
pBuf.InsertDWORD 0
pBuf.InsertDWORD 0
pBuf.InsertDWORD 0
pBuf.InsertDWORD 0
pBuf.InsertNTString "CX"
pBuf.InsertNTString "CX"
pBuf.SendPacket &H1E
pBuf.InsertNonNTString "68X1RATS"
pBuf.InsertDWORD "C7"
pBuf.InsertDWORD 0
pBuf.SendPacket &H6

would that be what you send when the socket connects to bnet? And does bnet respond with the same thing (0x6)?
Title: Re:Help understanding this!
Post by: Grok on July 22, 2003, 08:49 AM
Quote from: Adron on July 22, 2003, 08:36 AM
And btw, if you show us some progress, you're likely to get a lot of help. For now, you're classified as "lots of ideas, lots of talk, but will there be anything once he realizes it's a lot of work?". Noone wants to spend a lot of time helping you unless you're spending really lots of time yourself. You're supposed to be doing the major part of the work, not people on the forum.
Title: Re:Help understanding this!
Post by: ThatOldFalcon on July 22, 2003, 08:52 AM
I've been trying a lot, but I just need to know if I have the form right so I don't fuck up everything else.

I just need to know if thats how you would assemble the packet...
Title: Re:Help understanding this!
Post by: Soul Taker on July 22, 2003, 09:24 AM
It would be much simpler to just send the packet(s) and answer your question on your own.
Title: Re:Help understanding this!
Post by: ThatOldFalcon on July 22, 2003, 09:39 AM
Is there anyway I can tell what packet gets sent back, or if I am sending the packet right?
Title: Re:Help understanding this!
Post by: UserLoser on July 22, 2003, 10:58 AM
If the server responds back, it's a valid packet. If not, it's invalid and will result in an IPban for some time.  When playing around with packets, test them on Europe or Asia ;)
Title: Re:Help understanding this!
Post by: ThatOldFalcon on July 22, 2003, 11:03 AM
lol ok thanks UserLoser
luckily there are 3 gateways I dont use to test on lol
Title: Re:Help understanding this!
Post by: ThatOldFalcon on July 22, 2003, 11:16 AM
YAY I sent that packet and Im not Ipbanned so I must have done it right...
YAYAYAYA lol thanks guys
Title: Re:Help understanding this!
Post by: UserLoser on July 22, 2003, 02:22 PM
Saying thanks with no +1 [toast]... :'(