Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Position Modification When Updating a Map
#1
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:
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!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)