Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: pianka on May 23, 2004, 12:20 PM

Title: MCP List
Post by: pianka on May 23, 2004, 12:20 PM
When I try to request a character list from the MCP server (0x17), I receive the first WORD as 4, instead of 8 (Bnet docs says it's supposed to always be 8) and the rest of the packet has no values when I try to split it up.

34 00 17 08 00 01 00 00 00 01 00 4B 6F 47 42 6F 74 00 84 80 FF FF FF FF FF FF FF FF FF FF FF 03 FF FF FF FF FF FF FF FF FF FF FF 01 A1 80 80 80 FF FF FF 00

Any idea what's wrong?
Title: Re:MCP List
Post by: BaDDBLooD on May 23, 2004, 12:21 PM
how are you requesting ut?
Title: Re:MCP List
Post by: pianka on May 23, 2004, 12:25 PM

   With clsBuff(CurrentBot)
       .InsertDWORD &H8
       .SendRealmPacket &H17
   End With
Title: Re:MCP List
Post by: BaDDBLooD on May 23, 2004, 12:26 PM
make sure you have the right information for your startup and BNCS Name
Title: Re:MCP List
Post by: pianka on May 23, 2004, 12:28 PM
I'm logged on a character and I can create characters...I don't see why I can't request my list though...?
Title: Re:MCP List
Post by: BaDDBLooD on May 23, 2004, 12:32 PM
Wait...

did you use &H34 or &H40 ??
Title: Re:MCP List
Post by: pianka on May 23, 2004, 12:34 PM
0x34, why?
Title: Re:MCP List
Post by: BaDDBLooD on May 23, 2004, 12:35 PM
k just making sure

0x34 with 0x17

0x40 with 0x19

:D
Title: Re:MCP List
Post by: pianka on May 23, 2004, 12:36 PM
...What 0x19?
Title: Re:MCP List
Post by: BaDDBLooD on May 23, 2004, 12:37 PM
0x19 is the New character list

it consists of Timestamps ( that came with the 1.10 patch )
Title: Re:MCP List
Post by: pianka on May 23, 2004, 12:38 PM
Should I use 0x40 instead of 0x34?
Title: Re:MCP List
Post by: BaDDBLooD on May 23, 2004, 12:39 PM
i do..

if you decide to do that

0x40 is blank
Title: Re:MCP List
Post by: pianka on May 23, 2004, 12:40 PM
There's nothing about it in bnet docs, do you have the packet forms?
Title: Re:MCP List
Post by: BaDDBLooD on May 23, 2004, 12:46 PM
just packetlog it.. it's really easy
Title: Re:MCP List
Post by: pianka on May 23, 2004, 12:47 PM
It's easy and I'm lazy, plus I dunno how to packet log, interested in teaching me?
Title: Re:MCP List
Post by: BaDDBLooD on May 23, 2004, 12:48 PM
sure
Title: Re:MCP List
Post by: pianka on May 23, 2004, 12:52 PM
...Well?
Title: Re:MCP List
Post by: BaDDBLooD on May 23, 2004, 12:52 PM
sec i'll pm you my aim name
Title: Re:MCP List
Post by: Soul Taker on May 23, 2004, 08:52 PM
Quote from: BaDDBLooD on May 23, 2004, 12:52 PM
sec i'll pm you my aim name
THANK YOU!