The little x coordinates go from 0 to 160 and the big ones go from 0 to some huge number. The function that decrypts the location information into the general map location is this:

Code: Select all

```
function Waypoint:ConvertToPlayer( dev_coordinate )
-- You are at: r1 lx904 ly975 ox18.49 oy142.90 oz418.52 h140.6
-- You are at: r1 lx1046 ly1147 ox129.00 oy75.72 oz417.78 h358.6
-- You are at: r1 lx959 ly921 ox153.80 oy36.75 oz381.56 h199.7
local x = (( math.floor( dev_coordinate.lx / 8 ) * 160 + dev_coordinate.ox ) - 29360) / 200;
local y = (( math.floor( dev_coordinate.ly / 8 ) * 160 + dev_coordinate.oy ) - 24880) / 200;
--Turbine.Shell.WriteLine('x: ' .. x .. ' y: ' .. y);
return { x = round(x,3), y = round(y,3) };
end
```