Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IOCP
#1
viewtopic.php?f=69&t=895&st=0&sk=t&sd=a

Quote:Function IsConnected(ByVal Index As Long) As Boolean
IsConnected = False

If Index = 0 Then Exit Function

If GameServer Is Nothing Then Exit Function

If Not GameServer.Sockets(Index).Socket Is Nothing Then
IsConnected = True
End If
End Function

Says:

Object doesn't support this property or method.
Reply
#2
Well I thought of taking a new approach.
viewtopic.php?f=69&t=1468

RTE 9
Code:
Public Property Get Item(vntIndexKey As Variant) As clsSocket
    Set Item = mCol(vntIndexKey)
End Property

Highlights: Set Item = mCol(vntIndexKey)
My MAX_PLAYERS is 500 and the vntIndexKey always stops at 491 and anything above that. If I set the max to 300 then it stops at 291. Wtf?

Any suggestions?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)