Flash™ Posted July 6, 2010 Posted July 6, 2010 Custom_Jail Config\l2jmods.properties + +#======================# +# - Custom Jail - +#======================# +CustomJailX = -114356 +CustomJailY = -249645 +CustomJailZ = -2984 L2_GameServer\java\com\cronos\gameserver\model\zone\type\L2JailZone.java - _activeChar.teleToLocation(-114356, -249645, -2984); // Jail + //Custom_Jail + _activeChar.teleToLocation(Config.CUSTOM_JAIL_X, Config.CUSTOM_JAIL_Y, Config.CUSTOM_JAIL_Z); L2_GameServer\java\com\cronos\Config.java //Custom_Jail + public static int CUSTOM_JAIL_X; + public static int CUSTOM_JAIL_Y; + public static int CUSTOM_JAIL_Z; + //Custom_Jail + CUSTOM_JAIL_X = Integer.parseInt(L2JModSettings.getProperty("CustomJailX", "x")); + CUSTOM_JAIL_Y =Integer.parseInt(L2JModSettings.getProperty("CustomJailY", "Y")); + CUSTOM_JAIL_Z =Integer.parseInt(L2JModSettings.getProperty("CustomJailZ", "Z"));
rafole Posted July 6, 2010 Posted July 6, 2010 is this suppose to be a patch? Anw good thinking , i like it :) credits?
Matim Posted July 6, 2010 Posted July 6, 2010 Rules: - Do not post simple java strings or stupid Configuring Codes. Such topics will be immediately locked. Locked.
Recommended Posts