loc_name = "loc_" + loc_id;
}
//System.out.println(" (" + loc_id + ",'" + loc_name + "'," + activeChar.getX() + "," + activeChar.getY() + "," + activeChar.getZ() + "," + (activeChar.getZ() + 100) + ",0),");
System.out.println("<point xyzz=\"" + activeChar.getX() + " " + activeChar.getY() + " " + activeChar.getZ() + " " + (activeChar.getZ() + 100) + "\"/>");
activeChar.sendMessage("Point saved.");
L2ItemInstance temp = ItemTable.getInstance().createItem(1060);
temp.dropMe(activeChar, activeChar.getLoc());
break;
}
case admin_xloc:
{
System.out.println(" <coords loc=\"" + activeChar.getX() + " " + activeChar.getY() + " " + activeChar.getZ() + " 0\" />");
activeChar.sendMessage("Point saved.");
L2ItemInstance temp = ItemTable.getInstance().createItem(1060);
temp.dropMe(activeChar, activeChar.getLoc());
break;
}
case admin_pos:
String pos = activeChar.getX() + ", " + activeChar.getY() + ", " + activeChar.getZ() + ", " + activeChar.getHeading() + " Geo [" + (activeChar.getX() - L2World.MAP_MIN_X >> 4) + ", " + (activeChar.getY() - L2World.MAP_MIN_Y >> 4) + "] Ref " + activeChar.getReflection().getId();
System.out.println(activeChar.getName() + "'s position: " + pos);