Jump to content

Recommended Posts

Posted

 

Index: D:/workspace/aqua-core/src/main/java/com/l2jfree/Config.java
===================================================================
--- D:/workspace/aqua-core/src/main/java/com/l2jfree/Config.java (revision 4934)
+++ D:/workspace/aqua-core/src/main/java/com/l2jfree/Config.java (working copy)
@@ -1473,6 +1473,34 @@
  public static boolean ALT_ITEM_SKILLS_NOT_INFLUENCED;
  public static boolean ALT_MANA_POTIONS;
  public static int ALT_AUTOCHAT_DELAY;
+ 
+ public static int CUBE_ITEM_1_REWARD;
+ public static int CUBE_CHANCE_1_MAX;
+ public static int CUBE_CHANCE_1_MIN;
+ public static int CUBE_ITEM_2_REWARD;
+ public static int CUBE_CHANCE_2_MAX;
+ public static int CUBE_CHANCE_2_MIN;
+ public static int CUBE_ITEM_3_REWARD;
+ public static int CUBE_CHANCE_3_MAX;
+ public static int CUBE_CHANCE_3_MIN;
+ public static int CUBE_ITEM_4_REWARD;
+ public static int CUBE_CHANCE_4_MAX;
+ public static int CUBE_CHANCE_4_MIN;
+ public static int CUBE_ITEM_5_REWARD;
+ public static int CUBE_CHANCE_5_MAX;
+ public static int CUBE_CHANCE_5_MIN;
+ public static int CUBE_ITEM_6_REWARD;
+ public static int CUBE_CHANCE_6_MAX;
+ public static int CUBE_CHANCE_6_MIN;
+ public static int CUBE_ITEM_7_REWARD;
+ public static int CUBE_CHANCE_7_MAX;
+ public static int CUBE_CHANCE_7_MIN;
+ public static int CUBE_ITEM_8_REWARD;
+ public static int CUBE_CHANCE_8_MAX;
+ public static int CUBE_CHANCE_8_MIN;
+ public static int CUBE_ITEM_9_REWARD;
+ public static int CUBE_CHANCE_9_MAX;
+ public static int CUBE_CHANCE_9_MIN;
 
  // *******************************************************************************************
  // *******************************************************************************************
@@ -1686,6 +1714,34 @@
 
  ALT_MANA_POTIONS = Boolean.parseBoolean(altSettings.getProperty("AllowManaPotions", "false"));
  ALT_AUTOCHAT_DELAY = Integer.parseInt(altSettings.getProperty("AutoChatDelay", "30000"));
+ 
+ CUBE_ITEM_1_REWARD = Integer.parseInt(altSettings.getProperty("CubeEventReward1", "10634"));
+ CUBE_CHANCE_1_MAX = Integer.parseInt(altSettings.getProperty("RewardChanceMax1", "10"));
+ CUBE_CHANCE_1_MIN = Integer.parseInt(altSettings.getProperty("RewardChanceMin1", "1"));
+ CUBE_ITEM_2_REWARD = Integer.parseInt(altSettings.getProperty("CubeEventReward2", "10635"));
+ CUBE_CHANCE_2_MAX = Integer.parseInt(altSettings.getProperty("RewardChanceMax2", "20"));
+ CUBE_CHANCE_2_MIN = Integer.parseInt(altSettings.getProperty("RewardChanceMin2", "10"));
+ CUBE_ITEM_3_REWARD = Integer.parseInt(altSettings.getProperty("CubeEventReward3", "10636"));
+ CUBE_CHANCE_3_MAX = Integer.parseInt(altSettings.getProperty("RewardChanceMax3", "30"));
+ CUBE_CHANCE_3_MIN = Integer.parseInt(altSettings.getProperty("RewardChanceMin3", "20"));
+ CUBE_ITEM_4_REWARD = Integer.parseInt(altSettings.getProperty("CubeEventReward4", "10637"));
+ CUBE_CHANCE_4_MAX = Integer.parseInt(altSettings.getProperty("RewardChanceMax4", "40"));
+ CUBE_CHANCE_4_MIN = Integer.parseInt(altSettings.getProperty("RewardChanceMin4", "30"));
+ CUBE_ITEM_5_REWARD = Integer.parseInt(altSettings.getProperty("CubeEventReward5", "10638"));
+ CUBE_CHANCE_5_MAX = Integer.parseInt(altSettings.getProperty("RewardChanceMax5", "50"));
+ CUBE_CHANCE_5_MIN = Integer.parseInt(altSettings.getProperty("RewardChanceMin5", "40"));
+ CUBE_ITEM_6_REWARD = Integer.parseInt(altSettings.getProperty("CubeEventReward6", "10639"));
+ CUBE_CHANCE_6_MAX = Integer.parseInt(altSettings.getProperty("RewardChanceMax6", "60"));
+ CUBE_CHANCE_6_MIN = Integer.parseInt(altSettings.getProperty("RewardChanceMin6", "50"));
+ CUBE_ITEM_7_REWARD = Integer.parseInt(altSettings.getProperty("CubeEventReward7", "10640"));
+ CUBE_CHANCE_7_MAX = Integer.parseInt(altSettings.getProperty("RewardChanceMax7", "70"));
+ CUBE_CHANCE_7_MIN = Integer.parseInt(altSettings.getProperty("RewardChanceMin7", "60"));
+ CUBE_ITEM_8_REWARD = Integer.parseInt(altSettings.getProperty("CubeEventReward8", "10641"));
+ CUBE_CHANCE_8_MAX = Integer.parseInt(altSettings.getProperty("RewardChanceMax8", "80"));
+ CUBE_CHANCE_8_MIN = Integer.parseInt(altSettings.getProperty("RewardChanceMin8", "70"));
+ CUBE_ITEM_9_REWARD = Integer.parseInt(altSettings.getProperty("CubeEventReward9", "10642"));
+ CUBE_CHANCE_9_MAX = Integer.parseInt(altSettings.getProperty("RewardChanceMax9", "90"));
+ CUBE_CHANCE_9_MIN = Integer.parseInt(altSettings.getProperty("RewardChanceMin1", "80"));
  }
  catch (Exception e)
  {
Index: D:/workspace/aqua-core/config/altsettings.properties
===================================================================
--- D:/workspace/aqua-core/config/altsettings.properties (revision 4934)
+++ D:/workspace/aqua-core/config/altsettings.properties (working copy)
@@ -520,3 +520,44 @@
 # -------------------------------------------------------------
 # Allow usage of mana potions
 AllowManaPotions = False
+
+# -------------------------------------------------------------
+# Misterious Cube Event
+# reward item ID es chance ertekek koztes ertek eseten adja a jutalmat
+# -------------------------------------------------------------
+# reward 1
+CubeEventReward1 = 10634
+RewardChanceMax1 = 10
+RewardChanceMin1 = 1
+# reward 2
+CubeEventReward2 = 10635
+RewardChanceMax2 = 20
+RewardChanceMin2 = 10
+# reward 3
+CubeEventReward3 = 10636
+RewardChanceMax3 = 30
+RewardChanceMin3 = 20
+# reward 4
+CubeEventReward4 = 10637
+RewardChanceMax4 = 40
+RewardChanceMin4 = 30
+# reward 5
+CubeEventReward5 = 10638
+RewardChanceMax5 = 50
+RewardChanceMin5 = 40
+# reward 6
+CubeEventReward6 = 10639
+RewardChanceMax6 = 60
+RewardChanceMin6 = 50
+# reward 7
+CubeEventReward7 = 10640
+RewardChanceMax7 = 70
+RewardChanceMin7 = 60
+# reward 8
+CubeEventReward8 = 10641
+RewardChanceMax8 = 80
+RewardChanceMin8 = 70
+# reward 9
+CubeEventReward9 = 10642
+RewardChanceMax9 = 90
+RewardChanceMin9 = 80
\ No newline at end of file
 
Index: D:/workspace/aqua-data/stats/skills/2400-2599.xml
===================================================================
--- D:/workspace/aqua-data/stats/skills/2400-2599.xml (revision 4934)
+++ D:/workspace/aqua-data/stats/skills/2400-2599.xml (working copy)
+
+<skill id="2510" levels="1" name="Mysterious Cube">
+  <set name="target" val="TARGET_SELF"/>
+  <set name="skillType" val="MYSTERIOUS_CUBE"/>
+  <set name="operateType" val="OP_ACTIVE"/>
+  <set name="hitTime" val="1000"/>
+  <set name="reuseDelay" val="600000"/>
+  <set name="staticReuse" val="true"/>
+  <set name="castRange" val="-1"/>
+  <set name="effectRange" val="-1"/>
+</skill>
\ No newline at end of file
Index: D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/handler/ItemHandler.java
===================================================================
--- D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/handler/ItemHandler.java (revision 4934)
+++ D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/handler/ItemHandler.java (working copy)
@@ -97,6 +97,7 @@
  registerItemHandler(new SoulCrystals());
  registerItemHandler(new SoulShots());
  registerItemHandler(new SpiritLake());
+ registerItemHandler(new WondrousCubic());
  registerItemHandler(new SpiritShot());
  registerItemHandler(new SummonItems());
  registerItemHandler(new TransformationItems());
 
Index: D:/workspace/aqua-core/src/main/java/com/l2jfree/util/MTRandom.java
===================================================================
--- D:/workspace/aqua-core/src/main/java/com/l2jfree/util/Rnd.java (revision 4934)
+++ D:/workspace/aqua-core/src/main/java/com/l2jfree/util/Rnd.java (working copy)
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ * 
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ * 
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.l2jfree.util;
+
+/**$
+ *
+ * @author Balancer
+ *
+ */
+public class Rnd
+{
+    public static final double get() // get random number from 0 to 1
+ {
+        return MTRandom.getInstance().getSecureRandom().nextDouble();
+ }
+
+ /**
+  * Gets a random number from 0(inclusive) to n(exclusive)
+  *
+  * @param n The superior limit (exclusive)
+  * @return A number from 0 to n-1
+  */
+   public static final int get(int n) // get random number from 0 to n-1
+    {
+        return (int) (MTRandom.getInstance().getSecureRandom().nextDouble() * n);
+    }
 +   
+    public static final int get(int min, int max) // get random number from min to max (not max-1 !)
+    {
+        return min + (int) Math.floor(MTRandom.getInstance().getSecureRandom().nextDouble() * (max - min + 1));
+    }
+    
+    public static final int nextInt(int n)
+    {
+        return (int) Math.floor(MTRandom.getInstance().getSecureRandom().nextDouble() * n);
+    }
+
+    public static final int nextInt()
+    {
+        return MTRandom.getInstance().getSecureRandom().nextInt();
+    }
 +   
+    public static final double nextDouble()
+    {
+        return MTRandom.getInstance().getSecureRandom().nextDouble();
+    }
+    
+    public static final double nextGaussian()
+    {
+        return MTRandom.getInstance().getSecureRandom().nextGaussian();
+    }
+    
+    public static final boolean nextBoolean()
+    {
+        return MTRandom.getInstance().getSecureRandom().nextBoolean();
+    }
+    
+    public static final void nextBytes(byte[] array)
+    {
+        MTRandom.getInstance().getSecureRandom().nextBytes(array);
+    }
+}
 
Index: D:/workspace/aqua-core/src/main/java/com/l2jfree/util/MTRandom.java
===================================================================
--- D:/workspace/aqua-core/src/main/java/com/l2jfree/util/MTRandom.java (revision 4934)
+++ D:/workspace/aqua-core/src/main/java/com/l2jfree/util/MTRandom.java (working copy)
 
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ * 
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ * 
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.l2jfree.util;
+
+import java.util.Random;
+
+public class MTRandom
+{
+ private Random _random = new Random();
+ 
+ private static MTRandom _instance;
+ 
+ public Random getSecureRandom()
+ {
+ return _random;
+ }
+ 
+ public static final MTRandom getInstance()
+ {
+ if (_instance == null)
+ _instance = new MTRandom();
+ return _instance;
+ }
+ 
+ private MTRandom()
+ {
+ }
+}
Index: D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/handler/SkillHandler.java
===================================================================
--- D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/handler/SkillHandler.java (revision 4934)
+++ D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/handler/SkillHandler.java (working copy)
@@ -63,6 +63,7 @@
  registerSkillHandler(new Harvest());
  registerSkillHandler(new Heal());
  registerSkillHandler(new InstantJump());
+ registerSkillHandler(new MysteriousCube());
  registerSkillHandler(new MakeKillable());
  registerSkillHandler(new Manadam());
  registerSkillHandler(new ManaHeal());
 
Index: D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/handler/skillhandlers/MysteriousCube.java
===================================================================
--- D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/handler/skillhandlers/MysteriousCube.java (revision 4934)
+++ D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/handler/skillhandlers/MysteriousCube.java (working copy)
@@ -63,6 +63,7 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.l2jfree.gameserver.handler.skillhandlers;
+
+import com.l2jfree.Config;
+import com.l2jfree.gameserver.handler.ISkillHandler;
+import com.l2jfree.gameserver.model.L2Character;
+import com.l2jfree.gameserver.model.L2ItemInstance;
+import com.l2jfree.gameserver.model.L2Object;
+import com.l2jfree.gameserver.model.L2Skill;
+import com.l2jfree.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jfree.gameserver.network.SystemMessageId;
+import com.l2jfree.gameserver.network.serverpackets.InventoryUpdate;
+import com.l2jfree.gameserver.network.serverpackets.SystemMessage;
+import com.l2jfree.gameserver.templates.skills.L2SkillType;
+import com.l2jfree.util.Rnd;
+
+
+public class MysteriousCube implements ISkillHandler
+{
+ private static final L2SkillType[] SKILL_IDS =
+ {
+ L2SkillType.MYSTERIOUS_CUBE 
 +   };
+ 
+ public void useSkill(L2Character activeChar, L2Skill skill, L2Object[] targets)
+ {
+ int CUBE_EVENT_1_MAX = Config.CUBE_CHANCE_1_MAX;
+ int CUBE_EVENT_1_MIN = Config.CUBE_CHANCE_1_MIN;
+ int CUBE_EVENT_2_MAX = Config.CUBE_CHANCE_2_MAX;
+ int CUBE_EVENT_2_MIN = Config.CUBE_CHANCE_2_MIN;
+ int CUBE_EVENT_3_MAX = Config.CUBE_CHANCE_3_MAX;
+ int CUBE_EVENT_3_MIN = Config.CUBE_CHANCE_3_MIN;
+ int CUBE_EVENT_4_MAX = Config.CUBE_CHANCE_4_MAX;
+ int CUBE_EVENT_4_MIN = Config.CUBE_CHANCE_4_MIN;
+ int CUBE_EVENT_5_MAX = Config.CUBE_CHANCE_5_MAX;
+ int CUBE_EVENT_5_MIN = Config.CUBE_CHANCE_5_MIN;
+ int CUBE_EVENT_6_MAX = Config.CUBE_CHANCE_6_MAX;
+ int CUBE_EVENT_6_MIN = Config.CUBE_CHANCE_6_MIN;
+ int CUBE_EVENT_7_MAX = Config.CUBE_CHANCE_7_MAX;
+ int CUBE_EVENT_7_MIN = Config.CUBE_CHANCE_7_MIN;
+ int CUBE_EVENT_8_MAX = Config.CUBE_CHANCE_8_MAX;
+ int CUBE_EVENT_8_MIN = Config.CUBE_CHANCE_8_MIN;
+ int CUBE_EVENT_9_MAX = Config.CUBE_CHANCE_9_MAX;
+ int CUBE_EVENT_9_MIN = Config.CUBE_CHANCE_9_MIN;
+
+ int chance = Rnd.get(1, 90);
+
+ if ((chance > CUBE_EVENT_1_MIN) && (chance <= CUBE_EVENT_1_MAX))
+ {
+ int itemId = Config.CUBE_ITEM_1_REWARD;
+ rewardPlayer(activeChar, itemId);
+ }
+ else if ((chance > CUBE_EVENT_2_MIN) && (chance <= CUBE_EVENT_2_MAX))
+ {
+ int itemId = Config.CUBE_ITEM_2_REWARD;
+ rewardPlayer(activeChar, itemId);
+ }
+ else if ((chance > CUBE_EVENT_3_MIN) && (chance <= CUBE_EVENT_3_MAX))
+ {
+ int itemId = Config.CUBE_ITEM_3_REWARD;
+ rewardPlayer(activeChar, itemId);
+ }
+ else if ((chance > CUBE_EVENT_4_MIN) && (chance <= CUBE_EVENT_4_MAX))
+ {
+ int itemId = Config.CUBE_ITEM_4_REWARD;
+ rewardPlayer(activeChar, itemId);
+ }
+ else if ((chance > CUBE_EVENT_5_MIN) && (chance <= CUBE_EVENT_5_MAX))
+ {
+ int itemId = Config.CUBE_ITEM_5_REWARD;
+ rewardPlayer(activeChar, itemId);
+ }
+ else if ((chance > CUBE_EVENT_6_MIN) && (chance <= CUBE_EVENT_6_MAX))
+ {
+ int itemId = Config.CUBE_ITEM_6_REWARD;
+ rewardPlayer(activeChar, itemId);
+ }
+ else if ((chance > CUBE_EVENT_7_MIN) && (chance <= CUBE_EVENT_7_MAX))
+ {
+ int itemId = Config.CUBE_ITEM_7_REWARD;
+ rewardPlayer(activeChar, itemId);
+ }
+ else if ((chance > CUBE_EVENT_8_MIN) && (chance <= CUBE_EVENT_8_MAX))
+ {
+ int itemId = Config.CUBE_ITEM_8_REWARD;
+ rewardPlayer(activeChar, itemId);
+ }
+ else if ((chance > CUBE_EVENT_9_MIN) && (chance <= CUBE_EVENT_9_MAX))
+ {
+ int itemId = Config.CUBE_ITEM_9_REWARD;
+ rewardPlayer(activeChar, itemId);
+ }
+ }
+
+ private void rewardPlayer(L2Character activeChar, int itemId)
+ {
+ L2PcInstance player = (L2PcInstance) activeChar;
+ L2ItemInstance createdItem = player.getInventory().addItem("MystetiousCube", itemId, 1, player, player);
+ SystemMessage msg;
+ msg = new SystemMessage(SystemMessageId.EARNED_ITEM);
+ msg.addItemName(createdItem);
+ activeChar.sendPacket(msg);
+
+ InventoryUpdate iu = new InventoryUpdate();
+ iu.addModifiedItem(createdItem);
+ activeChar.sendPacket(iu);
+ }
+
+ public L2SkillType[] getSkillIds()
+ {
+ return SKILL_IDS;
+ }
+}
 
 
Index: D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/templates/skills/L2SkillType.java
===================================================================
--- D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/templates/skills/L2SkillType.java (revision 4934)
+++ D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/templates/skills/L2SkillType.java (working copy)
@@ -126,6 +126,7 @@
  REMOVE_TRAP,
  SHIFT_TARGET,
  INSTANT_JUMP,
+ MYSTERIOUS_CUBE,
 
  AGATHION(L2SkillAgathion.class),
  CHANGEWEAPON(L2SkillChangeWeapon.class),
 
Index: D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/handler/itemhandlers/WondrousCubic.jav
===================================================================
--- D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/handler/itemhandlers/WondrousCubic.jav (revision 4934)
+++ D:/workspace/aqua-core/src/main/java/com/l2jfree/gameserver/handler/itemhandlers/WondrousCubic.java (working copy)
@@ 00,00 +206,7 @@ 
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ * 
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ * 
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.l2jfree.gameserver.handler.itemhandlers;
+
+import com.l2jfree.gameserver.datatables.SkillTable;
+import com.l2jfree.gameserver.handler.IItemHandler;
+import com.l2jfree.gameserver.model.L2ItemInstance;
+import com.l2jfree.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jfree.gameserver.model.actor.instance.L2PlayableInstance;
+import com.l2jfree.gameserver.network.SystemMessageId;
+import com.l2jfree.gameserver.network.serverpackets.SystemMessage;
+
+public class WondrousCubic implements IItemHandler
+{
+ private static final int[] ITEM_IDS =
+ { 10632 };
+
+ /**
+  * @see net.sf.l2j.gameserver.handler.IItemHandler#useItem(net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance, net.sf.l2j.gameserver.model.L2ItemInstance)
+  */
+ public void useItem(L2PlayableInstance playable, L2ItemInstance item)
+ {
+ L2PcInstance activeChar = (L2PcInstance) playable;
+ 
+ if (activeChar.getWeightPenalty() >= 3 || activeChar.getInventoryLimit() * 0.8 <= activeChar.getInventory().getSize())
+ {
+ activeChar.sendPacket(new SystemMessage(SystemMessageId.SLOTS_FULL));
+ return;
+ }
+
+
+ if (item.getItemId() == 10632)
+ {
+ activeChar.useMagic(SkillTable.getInstance().getInfo(2510, 1), true, false);
+ playable.destroyItem("Consume", item.getObjectId(), 1, null, false);
+ }
+ }
+
+ /**
+  * @see net.sf.l2j.gameserver.handler.IItemHandler#getItemIds()
+  */
+ public int[] getItemIds()
+ {
+ return ITEM_IDS;
+ }
+}
 
 

 

author; Balancer

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • I'll give you my wallet if you want, haha
    • To make up for some of the waiting time we’re hosting a 3v3 Tournament on open Beta, and this time we’re raising the stakes with a $1,300 prize pool 💰   🏆 PRIZE POOL BREAKDOWN (Over 2000$ Worth of prices total)   🥇 1st Place — $700 🥈 2nd Place —$300 🥉 3rd Place — $200 🏅 4th Place — $100  5th -6th Place - $100 in Gold Coins each    All Participating Teams: $50 in Gold!   All Prices will be Paid out instantly after the tour, no waiting time and conditions. This is not simply a marketing move, we want to give back to the community.   📅 Date: Wednesday 06.05.2026 ⏰ Time: 20:00 Central European Timezone (Berlin) 📍Format: 3v3   ⚔️Why join? Cash Prices for top 4 and rewards for all participants Payments to winners sent out straight after the tournament - No waiting time or rules that you have to play live server to obtain the reward. Clean format, smooth matches, and solid prize pool and a chance to experience our brand new files   📝How to join: Form your 3-player team Group Leader Sign up here: ⁠📍・3v3-tour-registration (Include Name of Group, Name of Group Leader)   Be ready on match day!     A separate post with rules for the tournament and class setups will follow shortly.   Tag your teammates, lock in your roster, and get ready to compete. We'll be happy to see you on the OBT!   💬 Questions? Ask in ⁠🎫・ticket or send us a message   See you on L2Dark! 😏   Discord: https://discord.gg/FAJwnFpb8M
    • You should check if that condition is supported by your current sources. You can find this in  DocumentBase#parsePlayerCondition If it isnt there and you want to follow the same pattern of the other item conditions, create a custom condition to parse the classId (or multiple class ids) (there are examples to copy the code). Alternatively, you can create your own condition handler. Your condition should look like this: <cond msgId="1518"> <player classId="ADVENTURER,PALADIN" /> </cond> or <cond msgId="1518"> <player classId="93,5" /> </cond>  
    • it's Interlude client forgot to mention
    • idk if acis have this option, but you can put inside item smth like that atleast on H5         <cond msgId="1518">             <player class_id_restriction="93, 101, 108, 117" /> <!-- Dagger Masters -->         </cond>
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..