Jump to content

Recommended Posts

Posted

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"));

 

Posted

Rules:

 

- Do not post simple java strings or stupid Configuring Codes. Such topics will be immediately locked.

 

Locked.

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock