i just Get some info about packets and connection
i already connected to phCOnnter
Login Game success
Here is the Problem :
We i used That Function TO send Packets :
HTML Code:
Sub SendPacket(ByVal OpCode As String, ByVal sData As String)
Using buffer As New IO.MemoryStream
Using w As New IO.BinaryWriter(buffer)
w.Write(CUShort(0))
w.Write(CUShort("&H" + OpCode))
w.Write(CUShort(1))
For i = 0 To sData.Length / 2 - 1
w.Write(CByte("&H" & sData.Substring(i * 2, 2)))
Next
w.BaseStream.Position = 0
w.Write(CUShort(w.BaseStream.Length - 6))
w.Flush()
sroSocket.Send(buffer.ToArray)
End Using
End Using
End Sub
it Works Good For Setdown and Stand UpQuote:
SendPacket("704F", "04")
this packet C>S like that
[C -> S][704F]
04
But How Can i Send Packet Like that :
[C -> S][7074]
01
02
01
6E 05 1A 00
i know my it a Stupid Question But i Dunno !






