The coordinates you mentioned are gameworld coordinates but in movement packet you use region id + regional coordinates(0-1920 for x and 0-1920 for y since a region size is 1920x1920)
You must do convertions between those coordinates in order to send walk packet. Also you should calculate distance in gameworld coordinates, its simpler than regional distance calculation. (formule is euclidean distance)
You can check my old project to see formules to convertion between those coordinates: