11-04-2009, 12:40 PM
it would seem i only had to take out:
from CheckDirection function in the client.
server doesn't seem to have anything there to stop players walking through other players on the server.
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
server doesn't seem to have anything there to stop players walking through other players on the server.