Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Deception on October 24, 2004, 04:16 PM

Title: Problem with 0x2E [Solved]
Post by: Deception on October 24, 2004, 04:16 PM
After sending 0x2E, I get this response:

FF 2E 18 00 52 41 54 53 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Even when I try a different product or a different starting rank.

Does anyone know why I would get this response?

EDIT: It has come to my attention that Battle.net requires a 10 to 15 second delay after logging in before requesting the ladder. Otherwise, you get the above response.
Title: Re: Program with 0x2E (Ladder Request)
Post by: Minux on October 24, 2004, 04:31 PM
Quote from: Deception on October 24, 2004, 04:16 PM
After sending 0x2E, I get this response:

FF 2E 18 00 52 41 54 53 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Even when I try a different product or a different starting rank.

Does anyone know why I would get this response?

Show what you're sending.
Title: Re: Program with 0x2E (Ladder Request)
Post by: Deception on October 24, 2004, 04:51 PM
I am sure I am sending the packet right.


Product = "RATS"
League = 1
SortMethod = 0
StartingRank = 0

        .InsertNonNTString Product
        .InsertDWORD CLng(League)
        .InsertDWORD CLng(SortMethod)
        .InsertDWORD CLng(StartingRank)
        .InsertDWORD &HA
        .SendBNCSPacket &H2E