22-07-2007, 11:17 PM
Well, you might know that when you update a map and you walk, you sometimes get booted for position modification. This small addon will add a check: if the map is updating you cant move.
Client Side
Add this in the top of any module:
In handledata, find "mapdone". In the bottom of that before Exit Sub, add:
Now anywere in Public Sub SendMap(), add:
Now search for: ' Check if player is trying to move
Replace: Call CheckMovement
with:
Thats it!
Client Side
Add this in the top of any module:
Code:
Public CanMoveNow As Byte
In handledata, find "mapdone". In the bottom of that before Exit Sub, add:
Code:
CanMoveNow = YES
Now anywere in Public Sub SendMap(), add:
Code:
CanMoveNow = NO
Now search for: ' Check if player is trying to move
Replace: Call CheckMovement
with:
Code:
If CanMoveNow = YES Then
Call CheckMovement
End If
Thats it!