Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mirage Source 4
If you're gonna use Verrigans system you'll have to fix an issue with IncomingData.

Code:
'Check to make sure we have at least 2 bytes (Integer), so we can
  'check the packet length.
  If aLen(Player(Index).Buffer) >= 2 Then
    pl = GetIntegerFromBuffer(Player(Index).Buffer)
    Player(Index).Buffer = RemoveFromBuffer(Player(Index).Buffer, 2)
  End If

[code] 'While we have our entire packet in the buffer, handle it. Smile
While pl > 0 And pl
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)