• Welcome to Valhalla Legends Archive.
 

Open Characters

Started by botmaster, November 10, 2003, 01:04 PM

Previous topic - Next topic

botmaster

I am stuck with getting the char to logon to the realm I have it connect to the mcp server and everything here is my packetlog...

[13:02:14] Connecting to Battle.net server useast.battle.nbet...
[13:02:14] Connected to Battle.net!
[13:02:15] Recv:  FF 25 08 00 9E 7C AC 2C
[13:02:15] WSMCP STATE: 0
[13:02:15] Recv:  FF 50 64 00 00 00 00 00 9F 14 C0 7E F2 63 20 00 00 3C 5B A5 63 E8 C0 01 49 58 38 36 76 65 72 32 2E 6D 70 71 00 41 3D 31 30 31 33 38 30 39 30 36 34 20 42 3D 33 37 33 37 32 36 34 39 37 20 43 3D 33 32 38 31 36 31 30 37 33 20 34 20 41 3D 41 2B 53 20 42 3D 42 2B 43 20 43 3D 43 2B 41 20 41 3D 41 2B 42 00
[13:02:15] WSMCP STATE: 0
[13:02:15] Hashes passed checkversion.
[13:02:15] Recv:  FF 51 09 00 00 00 00 00 00
[13:02:15] WSMCP STATE: 0
[13:02:15] Versions and cdkey accepted.
[13:02:15] Length of password hash is 28
[13:02:15] Recv:  FF 2D 16 00 00 08 16 BF E9 50 C3 01 69 63 6F 6E 73 2E 62 6E 69 00
[13:02:15] WSMCP STATE: 0
[13:02:15] Recv:  FF 3A 08 00 00 00 00 00
[13:02:15] WSMCP STATE: 0
[13:02:15] Battle.net login accepted.
[13:02:15] Continue To Battle.net
[13:02:15] Recv:  FF 34 4B 00 00 00 00 00 01 00 00 00 00 00 00 C0 E0 10 00 00 68 21 00 00 5A 00 00 00 55 D4 0F 00 FF FF FF FF 00 00 00 00 55 53 45 61 73 74 00 52 65 61 6C 6D 20 66 6F 72 20 74 68 65 20 55 53 20 45 61 73 74 20 43 6F 61 73 74 00
[13:02:15] WSMCP STATE: 0
[13:02:15] Connecting to MCP...
[13:02:15] Recv:  FF 0A 1D 00 67 61 6D 65 68 61 78 30 72 00 50 58 32 44 00 67 61 6D 65 68 61 78 30 72 00
[13:02:15] WSMCP STATE: 0
[13:02:15] Logged on as acccount
[13:02:15] Recv:  FF 3E 58 00 01 00 00 00 5E D1 18 4F 3F F0 CA 7F F2 63 20 00 42 62 A0 A9 17 E1 00 00 00 00 00 00 6D C6 1D 00 74 EA 9B DD 50 58 32 44 36 38 58 49 3F F0 CA 7F 33 10 00 00 62 B8 C3 B7 45 E1 88 0D 5D FE C5 33 8D B7 5C B7 6C B6 2F AD 67 61 6D 65 68 61 78 30 72 00 00 35
[13:02:15] WSMCP STATE: 0
[13:02:15] Attempting to connect to MCP server useast.battle.net
[13:02:15] Connected to MCP server.
[13:02:15] out:  5B 00 01 67 61 6D 65 68 61 78 6F 72 5F 6E 65 74 00 01 00 00 00 5E D1 18 4F 3F F0 CA 7F F2 63 20 00 00 00 00 00 6D C6 1D 00 74 EA 9B DD 50 58 32 44 36 38 58 49 3F F0 CA 7F 33 10 00 00 62 B8 C3 B7 45 E1 88 0D 5D FE C5 33 8D B7 5C B7 6C B6 2F AD 67 61 6D 65 68 61 78 30 72 00
[13:02:17] Recv:  FF 0F 48 00 12 00 00 00 00 00 00 00 4E 00 00 00 00 00 00 00 0D F0 AD BA 0D F0 AD BA 67 61 6D 65 68 61 78 30 72 00 59 6F 75 20 61 72 65 20 6E 6F 77 20 6D 61 72 6B 65 64 20 61 73 20 62 65 69 6E 67 20 61 77 61 79 2E 00
[13:02:17] WSMCP STATE: 7
[13:02:18] Recv:  FF 0F 2F 00 07 00 00 00 00 00 00 00 4E 00 00 00 00 00 00 00 0D F0 AD BA 0D F0 AD BA 67 61 6D 65 68 61 78 30 72 00 74 65 73 74 74 65 73 74 00
[13:02:18] WSMCP STATE: 7
[13:02:18] Joining private channel sdshasdg

the MCP server is not recving any data am I doing something wrong?

UserLoser.

looks like your 0x01 (first packet being sent to realm) is bad, and is causing you to be disconnected from it

botmaster

must be doing something wrong when i recv 0x3E packet then..thanks.

botmaster

when I recv. 0x3E this is what i do

a = Mid(Data, 5, 16)
b = Mid(Data, 17, 8)
c = Mid(Data, 5, 4)
d = Mid(Data, 29, 48)
e = Mid(Data, 77, Len(Data) - 79)
mcp.Close
mcp.Connect server, 6112



now when it connects to the mcp it does this



   mcp.SendData Chr(&H1)


With udpb

   .InsertNonNTString a
   .InsertNonNTString d
   .InsertNTString e
   .SendPacket &H1, mcp
End With


botmaster

well I have goten MCP to spit a packet out at me FF 04 00 00 anyone know what that packet is for?

taylorjonl

That looks like a battenet chat server packet.  0xFF mean it is, 0x04 is id an it is 0x0000 size.  Don't have any idea what it means though.

http://www.valhallalegends.com/arta/bnetdocs/page.php?id=6

To confirm that.