Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Tass on July 16, 2005, 03:52 AM

Title: Somethign weird happens while sending 0x51
Post by: Tass on July 16, 2005, 03:52 AM
For some odd reason I think I'm sending 0x51 right because my other bot connects with the same code.. I'm having problems with 0x51 still because I'm not getting a responce from 0x51 could someone possibly tell me some reason's why this is happening?
Title: Re: Somethign weird happens while sending 0x51
Post by: Tass on July 16, 2005, 04:15 AM
Here's what happens.. Some of the sending packets are not the right ones.. I was just makin sure I was sending the packets.

[05:15:09] Welcome.. Checking autoconnect settings..
[05:15:09] Autoconnect settings are enabled! Now connecting.
[05:15:09] Connecting..
[05:15:10] Connected.
[05:15:10] Starting connection!
[05:15:10] Sending packet: 80
[05:15:10] PXES - CD
[05:15:10] Recieved Packet: 0x25
[05:15:10] Sending packet: 37
[05:15:10] Recieved Packet: 0x50
[05:15:10] Parse 0x50
[05:15:10] Sending packet: 81
[05:15:10] Sent 0x51!
[05:15:10] End of parse 0x50!!!

I did all this stuff so I could figure out where my problem was
Title: Re: Somethign weird happens while sending 0x51
Post by: Archangel on July 16, 2005, 10:38 AM
[edit1] nvm

can't you show us code? or a packet log of 0x51?
Title: Re: Somethign weird happens while sending 0x51
Post by: R.a.B.B.i.T on July 16, 2005, 08:13 PM
Quote from: Tass on July 16, 2005, 04:15 AM
Here's what happens.. Some of the sending packets are not the right ones.. I was just makin sure I was sending the packets.

[05:15:09] Welcome.. Checking autoconnect settings..
[05:15:09] Autoconnect settings are enabled! Now connecting.
[05:15:09] Connecting..
[05:15:10] Connected.
[05:15:10] Starting connection!
[05:15:10] Sending packet: 80
[05:15:10] PXES - CD
[05:15:10] Recieved Packet: 0x25
[05:15:10] Sending packet: 37
[05:15:10] Recieved Packet: 0x50
[05:15:10] Parse 0x50
[05:15:10] Sending packet: 81
[05:15:10] Sent 0x51!
[05:15:10] End of parse 0x50!!!

I did all this stuff so I could figure out where my problem was
You're sending 0x51 before you finish parsing 0x50...that's a problem.
Title: Re: Somethign weird happens while sending 0x51
Post by: Tass on July 16, 2005, 09:30 PM
Nah, if I was I would get an IpBAN and I'm not, and the sub is laggin a little thats all.
Title: Re: Somethign weird happens while sending 0x51
Post by: R.a.B.B.i.T on July 16, 2005, 10:02 PM
You can't send 0x51 without parsing 0x50 completely, otherwise you won't have the right info to send 0x51 (like the checksum formula and server token, etc...)