Valhalla Legends Forums Archive | Battle.net Bot Development | 0x03 (MCP)

AuthorMessageTime
PaiD
I am working on d2 games. I am having problems with my Recieve from 0x03.
[code]
Case MCP_GAME ' 0x03
Select Case PBuffer.GetDWORD(Mid(Data, 4, 4))
Case &H0
AddC frmMain.rtbChat, vbRealm, "Creating Game."
With PBuffer
.InsertBYTE &H2
.InsertBYTE &H0
.InsertNTString frmGame.txtName
.InsertNTString frmGame.txtPass
.SendRealmPacket &H4
.InsertDWORD &H1
.InsertDWORD &H0
.InsertDWORD &H0
.InsertDWORD &H0
.InsertDWORD &H0
.InsertNTString frmGame.txtName
.InsertNTString frmGame.txtPass
.InsertBYTE &H0
.SendPacket &H1C
End With
Case Else
AddC frmMain.rtbChat, vbRealm, "Game Exists! Case: " & PBuffer.GetDWORD(Mid(Data, 4, 4))
With PBuffer
.InsertNonNTString StrReverse(Bot.Product)
.InsertNTString &HA
.InsertNonNTString &H0
.InsertNTString frmGame.txtName
.InsertNTString frmGame.txtPass
.SendPacket &H22
End With
End Select
[/code]
With my last run I got Case 2. Any1 know anything on this?

Edit: When I was messing with some more. I was sent 0x14. What is this packet?

[21:57:26] Unidentified Realm Packet: 0x14
[21:57:26] 07 00 14 0A 00 00 00 .......
March 8, 2004, 2:20 AM
UserLoser.
0x14
(DWORD) Count

Number of users in line to create a game.

And for 0x3, mid(data, 4, 4) isn't the right dword to check status on
March 8, 2004, 2:59 AM
PaiD
So I can ignore 0x14 then correct?
March 8, 2004, 3:10 AM
UserLoser.
[quote author=MoNeY link=board=17;threadid=5656;start=0#msg48287 date=1078715415]
So I can ignore 0x14 then correct?
[/quote]

Yes, you can safely ignore it since there is no response to it
March 8, 2004, 4:29 PM

Search