Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Chriso on September 14, 2007, 10:16 PM

Title: Unknown 0x01 MCP_STARTUP Result
Post by: Chriso on September 14, 2007, 10:16 PM
01:13:12 PM : MCP: 07 00 01 7E 00 00 00

07 00 = packet length
01 = packet ID
7E 00 00 00 = result

BnetDocs does not have 0x7E documented... any clues?

By the way how many characters is good to request in sending the 0x19 packet, I am requesting 10 (0x0A).
Title: Re: Unknown 0x01 MCP_STARTUP Result
Post by: l2k-Shadow on September 14, 2007, 10:30 PM
Quote from: Chriso.de on September 14, 2007, 10:16 PM
01:13:12 PM : MCP: 07 00 01 7E 00 00 00

07 00 = packet length
01 = packet ID
7E 00 00 00 = result

BnetDocs does not have 0x7E documented... any clues?

By the way how many characters is good to request in sending the 0x01 packet, I am requesting 10 (0x0A).

0x7E is cd key banned from realm play i think.

max number of possible characters is 8, so i'd request 8.
Title: Re: Unknown 0x01 MCP_STARTUP Result
Post by: Barabajagal on September 14, 2007, 10:46 PM
Characters to request in MCP_STARTUP? WTF are you talking about?

And I've never seen 7E... I've added it as an unconfirmed value for now, as l2k described it.
Title: Re: Unknown 0x01 MCP_STARTUP Result
Post by: Chriso on September 14, 2007, 11:25 PM
Quote from: Andy on September 14, 2007, 10:46 PM
Characters to request in MCP_STARTUP? WTF are you talking about?

And I've never seen 7E... I've added it as an unconfirmed value for now, as l2k described it.

Haha fixed, I meant the 0x19 packet.

Thanks, by the way Shadow was right, it is cdkey banned from realm play.  I just used another cdkey and heres the output:

02:23:53 PM : Connecting to realm 63.240.202.148:6112..
02:23:53 PM : [Realm] Connected!
02:23:54 PM : MCP: 07 00 01 00 00 00 00
02:23:54 PM : Startup check passed!
02:23:54 PM : MCP: 0B 00 19 08 00 00 00 00 00 00 00
02:23:54 PM : 0 characters listed:
Title: Re: Unknown 0x01 MCP_STARTUP Result
Post by: Barabajagal on September 14, 2007, 11:34 PM
Ah.. for MCP_CHARLIST2, always send 8 like l2k said.
Title: Re: Unknown 0x01 MCP_STARTUP Result
Post by: Chriso on September 15, 2007, 12:08 AM
Yep thanks, it's all working now just needed some clarification.