- 0
Java Prblem with Eclipse
-
Posts
-
So dont plat that waste time&money server. GM promises pie in the sky, but does nothing. It's all about money, money, money. And wipe. SCAM server!
-
I'm looking for someone to remove GameGuard from a game that uses XTRAP. The game no longer uses XTRAP. I have a game server. But the client is kicked from the game after a few minutes of logging in. If I try to remove XTRAP (just by deleting it), the game opens and closes quickly. Send me a PM. The game is Audition, a dance game.
-
🎉 L2Dead StuckSub - GRAND OPENING 14 February 2026🎉 After beta, testing, mistakes, laughs and a lot of PvP, the moment has finally come. L2Dead StuckSub is officially opening its gates on 14 February 2026. ⚔️What to expect: ✦Main Class +6 Stuck Sub system ✦Balanced PvP & custom party farm areas ✦Custom events, bosses and strong rewards ✦Competitive clan scene with castle rewards 📌Until the opening: ✦Create your clans and register them in the Clan-Register channel ✦Invite your friends / old parties / CPs ✦Stay tuned for more information (rates, events, siege times, etc.) Get your setups ready, prepare your macros and your Discord/voice. On 14 February 2026 20:00 GMT+2, we write the first chapter of L2Dead together. 🔥 https://www.l2dead.com/ https://discord.gg/TGnATuZmdt
-
Here’s the **clean, L2jAcis-style way** to make **Auto Loot work ONLY for Premium players** on **Interlude**. I’ll give you **two options** — pick what fits your server philosophy. --- ## ✅ OPTION 1 (BEST PRACTICE): Premium-Only Auto Loot (Code-based) ### 🔹 Step 1: Add config option **`config/Premium.properties`** ```properties # Enable auto loot only for premium players PremiumAutoLoot = True ``` --- ### 🔹 Step 2: Read config **`Config.java`** ```java public static boolean PREMIUM_AUTO_LOOT; ``` Load it: ```java PREMIUM_AUTO_LOOT = Premium.getProperty("PremiumAutoLoot", false); ``` --- ### 🔹 Step 3: Modify drop handling **File:** ``` net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance ``` Find **dropItems()** or **doItemDrop()** Replace / modify logic like this: ```java if (player != null && player.isPremium() && Config.PREMIUM_AUTO_LOOT) { for (ItemInstance item : items) player.getInventory().addItem("AutoLoot", item, player, this); } else { for (ItemInstance item : items) dropItem(player, item); } ``` ✅ Result: * **Premium players** → instant loot * **Normal players** → loot on ground --- ## ✅ OPTION 2: Auto Loot via Character Variable (More Flexible) Useful if you want **GM control** per character. ### 🔹 Premium activation When premium is added: ```java player.setVar("AUTO_LOOT", "1"); ``` ### 🔹 Drop check ```java if (player != null && player.getVarB("AUTO_LOOT")) { player.addItem("AutoLoot", item, player, true); } else { dropItem(player, item); } ``` --- ## 🎯 BONUS (Recommended Add-Ons) ### 🔸 Adena always auto-loot (even non-premium) ```java if (item.getItemId() == 57) { player.addAdena("Loot", item.getCount(), this, true); continue; } ``` ### 🔸 Party check (premium leader only) ```java player.isInParty() && player.getParty().getLeader().isPremium() ``` --- ## ⚠️ Notes (Interlude Safe) ✔ Compatible with **L2jAcis Interlude** ✔ No client-side changes ✔ No exploit risk ✔ Retail-like behavior ---
-
Topics

Question
BlackDevilDev
Hello i have a problem i dont see again this ( Is java Problem and Syntax )
Project L2JServer - H5
Description Resource Path Location Type
Cannot instantiate the type ArrayList<?> ClanTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 530 Java Problem
Cannot instantiate the type FastList<?> FaenorInterface.java /L2J_Server_BETA/java/com/l2jserver/gameserver/script/faenor line 147 Java Problem
Cannot instantiate the type FastList<?> L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 595 Java Problem
Cannot instantiate the type FastList<?> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 159 Java Problem
Cannot instantiate the type FastList<?> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 161 Java Problem
Cannot instantiate the type FastList<?> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 162 Java Problem
Cannot instantiate the type FastList<?> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 335 Java Problem
Cannot instantiate the type FastList<?> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 352 Java Problem
Cannot instantiate the type FastList<?> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 369 Java Problem
Cannot instantiate the type FastList<?> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 386 Java Problem
Cannot instantiate the type L2FastList<?> Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 1029 Java Problem
Cannot instantiate the type TIntObjectHashMap<?> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 158 Java Problem
Cannot switch on a value of type String. Only convertible int values or enum constants are permitted L2ZoneRespawn.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/zone line 46 Java Problem
Duplicate method run() in type new Runnable(){} Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 490 Java Problem
Duplicate method run() in type new Runnable(){} Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 519 Java Problem
e cannot be resolved MultiSell.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 289 Java Problem
e cannot be resolved MultiSell.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 291 Java Problem
Incorrect number of arguments for type FastMap<K,V>; it cannot be parameterized with arguments <?> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 160 Java Problem
Syntax error on token ",", invalid ClassMemberDeclaration Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 557 Java Problem
Syntax error on token ")", { expected Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 557 Java Problem
Syntax error on token "}", delete this token MultiSell.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 294 Java Problem
Syntax error on token "}", delete this token Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 557 Java Problem
Syntax error on token "<", ? expected after this token ClanTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 530 Java Problem
Syntax error on token "<", ? expected after this token FaenorInterface.java /L2J_Server_BETA/java/com/l2jserver/gameserver/script/faenor line 147 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 73 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 74 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 75 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 76 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 77 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 78 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 79 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 80 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 81 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 82 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 83 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 84 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 85 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 86 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 87 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 88 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 89 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 90 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 91 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 92 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 93 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 100 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 105 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 107 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 109 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 114 Java Problem
Syntax error on token "<", ? expected after this token L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 595 Java Problem
Syntax error on token "<", ? expected after this token NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 158 Java Problem
Syntax error on token "<", ? expected after this token NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 159 Java Problem
Syntax error on token "<", ? expected after this token NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 160 Java Problem
Syntax error on token "<", ? expected after this token NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 161 Java Problem
Syntax error on token "<", ? expected after this token NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 162 Java Problem
Syntax error on token "<", ? expected after this token NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 335 Java Problem
Syntax error on token "<", ? expected after this token NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 352 Java Problem
Syntax error on token "<", ? expected after this token NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 369 Java Problem
Syntax error on token "<", ? expected after this token NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 386 Java Problem
Syntax error on token "<", ? expected after this token Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 1029 Java Problem
Syntax error on token(s), misplaced construct(s) MultiSell.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 280 Java Problem
Syntax error on tokens, ( expected instead MultiSell.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 283 Java Problem
Syntax error, insert ";" to complete Statement Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 555 Java Problem
Syntax error, insert ")" to complete Expression Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 555 Java Problem
Syntax error, insert "}" to complete ClassBody Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 555 Java Problem
Syntax error, insert "}" to complete MethodBody Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 555 Java Problem
The type new Runnable(){} must implement the inherited abstract method Runnable.run() Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 517 Java Problem
Type mismatch: cannot convert from ArrayList<?> to List<L2Clan> ClanTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 530 Java Problem
Type mismatch: cannot convert from FastList<?> to FastList<L2DropCategory> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 162 Java Problem
Type mismatch: cannot convert from FastList<?> to List<ClassId> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 161 Java Problem
Type mismatch: cannot convert from FastList<?> to List<L2DropData> FaenorInterface.java /L2J_Server_BETA/java/com/l2jserver/gameserver/script/faenor line 147 Java Problem
Type mismatch: cannot convert from FastList<?> to List<L2DropData> L2NpcTemplate.java /L2J_Server_BETA/java/com/l2jserver/gameserver/templates/chars line 595 Java Problem
Type mismatch: cannot convert from FastList<?> to List<L2MinionData> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 159 Java Problem
Type mismatch: cannot convert from FastList<?> to List<L2NpcTemplate> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 335 Java Problem
Type mismatch: cannot convert from FastList<?> to List<L2NpcTemplate> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 352 Java Problem
Type mismatch: cannot convert from FastList<?> to List<L2NpcTemplate> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 369 Java Problem
Type mismatch: cannot convert from FastList<?> to List<L2NpcTemplate> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 386 Java Problem
Type mismatch: cannot convert from L2FastList<?> to L2FastList<String> Olympiad.java /L2J_Server_BETA/java/com/l2jserver/gameserver/model/olympiad line 1029 Java Problem
Type mismatch: cannot convert from TIntObjectHashMap<?> to TIntObjectHashMap<L2Skill> NpcTable.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 158 Java Problem
Unreachable catch block for DOMException. It is already handled by the catch block for DOMException MultiSell.java /L2J_Server_BETA/java/com/l2jserver/gameserver/datatables line 295 Java Problem
3 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now