Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PlayersOnMapHighIndex messed up
#1
Yeah, it's messed up. I go invisible when: I'm index 2, my friend is index 1. he leaves, I go invisible.
Reply
#2
did you add anything extra ? its mostly the dx not clearing out right ^^.
Reply
#3
No...there's RTE 9's happening in the server.
Reply
#4
hmm well me and DFA tested this he was 2 and i was 1 i never went invisible when he logged out, maybe we accidentally fixed it somehow. so what exact code does it highlight if it highlights any at all?.
Reply
#5
Code:
Sub HandleAttack(ByVal Index As Long)
Dim i As Long, n As Long
Dim Damage As Long

    ' Try to attack a player
    For i = 1 To High_Index
        i = PlayersOnline(i)
        Index = PlayersOnline(Index)

It highlights the last line there. I could fix it, but I'm too busy to look further into it.
Reply
#6
well the only thing i see is if you or someone was attacking him when he was logging out

just add this to LeftGame
CanAttackPlayer = False
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)