diff --git a/trunk/dist/game/data/scripts/handlers/admincommandhandlers/AdminGeodata.java b/trunk/dist/game/data/scripts/handlers/admincommandhandlers/AdminGeodata.java index 706fade680..790c1b459a 100644 --- a/trunk/dist/game/data/scripts/handlers/admincommandhandlers/AdminGeodata.java +++ b/trunk/dist/game/data/scripts/handlers/admincommandhandlers/AdminGeodata.java @@ -134,7 +134,7 @@ public class AdminGeodata implements IAdminCommandHandler { final int x = ((activeChar.getX() - L2World.MAP_MIN_X) >> 15) + L2World.TILE_X_MIN; final int y = ((activeChar.getY() - L2World.MAP_MIN_Y) >> 15) + L2World.TILE_Y_MIN; - activeChar.sendMessage("GeoMap: " + x + "_" + y); + activeChar.sendMessage("GeoMap: " + x + "_" + y + " (" + ((x - L2World.TILE_ZERO_COORD_X) * L2World.TILE_SIZE) + "," + ((y - L2World.TILE_ZERO_COORD_Y) * L2World.TILE_SIZE) + " to " + ((((x - L2World.TILE_ZERO_COORD_X) * L2World.TILE_SIZE) + L2World.TILE_SIZE) - 1) + "," + ((((y - L2World.TILE_ZERO_COORD_Y) * L2World.TILE_SIZE) + L2World.TILE_SIZE) - 1) + ")"); break; } } diff --git a/trunk/java/com/l2jmobius/gameserver/model/L2World.java b/trunk/java/com/l2jmobius/gameserver/model/L2World.java index 6ea1a2b600..361bfade39 100644 --- a/trunk/java/com/l2jmobius/gameserver/model/L2World.java +++ b/trunk/java/com/l2jmobius/gameserver/model/L2World.java @@ -52,7 +52,7 @@ public final class L2World public static final int SHIFT_BY = 11; public static final int SHIFT_BY_Z = 10; - private static final int TILE_SIZE = 32768; + public static final int TILE_SIZE = 32768; /** Map dimensions */ public static final int TILE_X_MIN = 11;