Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
erm walking throu players ?
#1
ok title says it all i would like to be able to let players walk throu other players and look in the source and couldnt figure out where the code is so
basicly anyone kno how i do it ?
Reply
#2
look in the (i belive it is) canmove sub of the client. Take out where it checks if there is a player there. Do the same in the server playermove sub.
Reply
#3
It's because of the And optimization. Someone split up a statement that needed to be in an and statement, and instead split it into two if statements. I do believe it's in the CanMove Sub.
Reply
#4
I would make it where they can on a safe map, but not PK Map Tongue
Removing that would take the fun out of trapping and killing.
Reply
#5
it would seem i only had to take out:
Code:
' Check to see if a player is already on that tile
    For i = 1 To PlayersOnMapHighIndex
        If GetPlayerX(PlayersOnMap(i)) = X Then
            If GetPlayerY(PlayersOnMap(i)) = Y Then
                CheckDirection = True
                Exit Function
            End If
        End If
    Next
from CheckDirection function in the client.
server doesn't seem to have anything there to stop players walking through other players on the server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)