Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SEP_CHAR & END_CHAR
#3
Alright i work good with examples. So tell me if this is the main concept.
First in like the game client you have stuff like this
Code:
Dim Packet As String
    
    With Item(ItemNum)
        Packet = "SAVEITEM" & SEP_CHAR & ItemNum & SEP_CHAR & Trim(.Name) & SEP_CHAR & .Pic & SEP_CHAR & .Type & SEP_CHAR & .Data1 & SEP_CHAR & .Data2 & SEP_CHAR & .Data3 & SEP_CHAR & END_CHAR
    End With
    
    Call SendData(Packet)
End Sub
So in the server part it will look for SAVEITEM then itll go to the next line and look for ItemNUm and then the next line to find Name and etc until it comes to end_char?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)