Jump to content
  • 0

[HElP] Soneone plz help!!


Question

Posted

Hello all i am trying to fix a Interlude server and is almost Rd i am useing l2j last interlude rev.but i have 1 problem

can anyone help to find what cause this problem so i can fix it?

 

java.lang.ClassCastException: net.sf.l2j.gameserver.model.L2ItemInstance cannot
be cast to net.sf.l2j.gameserver.model.L2Character
        at net.sf.l2j.gameserver.model.L2Skill.getTargetList(L2Skill.java:1431)
        at net.sf.l2j.gameserver.model.L2Skill.getTargetList(L2Skill.java:2124)
        at net.sf.l2j.gameserver.model.L2Character.doCast(L2Character.java:1218)

        at net.sf.l2j.gameserver.model.L2Character$AIAccessor.doCast(L2Character
.java:3158)
        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance$AIAccessor.do
Cast(L2PcInstance.java:290)
        at net.sf.l2j.gameserver.ai.L2PlayerAI.thinkCast(L2PlayerAI.java:231)
        at net.sf.l2j.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:277)
        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:350)
        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:324)
        at net.sf.l2j.gameserver.ai.L2CharacterAI.onIntentionCast(L2CharacterAI.
java:285)
        at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:278)

        at net.sf.l2j.gameserver.model.L2Character.useMagic(L2Character.java:158
9)
        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.useMagic(L2Pc
Instance.java:7604)
        at net.sf.l2j.gameserver.model.L2Character$QueuedMagicUseTask.run(L2Char
acter.java:1979)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

 

ty in advance

sakisd

 

 

ps: plz post only  if you know ty!

1 answer to this question

Recommended Posts

  • 0
Posted

You got a bug at

 

L2Skill.getTargetList(L2Skill.java:1431) => method getTargetList at line 1431

 

According to message, it's about a use of L2ItemInstance, you can't use it in this (dunno what, no code) condition.

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

    • We are not back on 2005, life in our days is harder than before, in complection with other things yes, L2 has not the same look.
    • 🌍 https://l2origins.org/ 🛡️ LINEAGE II ORIGINS — SEASON 1 🛡️ 🌑 High Five Classic | True Old-School Experience 🌑 ⚠️ Opening on March 6th at 16:00 Welcome back to the origins of Lineage II. ⚔️ ABOUT THE SERVER Lineage2 Origins is built for players who miss the true retail feeling. Classic progression, real challenges, fair competition — enhanced only with carefully selected QoL features, never breaking the original gameplay. 🌿 PHASED GEAR PROGRESSION 🟢 Month 1: Vesper max 🟢 Month 2: Vorpal unlocked 🟢 Month 3+: Top-grade & Elegia released 🚫 NO AUTO-FARM ✔️ External auto-clicker allowed (1 per client, download page only) ❌ Bots & illegal automation forbidden 🛡️ Strong anti-bot + captcha system ⚠️ AFK players will be punished — stay active or logout 📊 RATES & CORE SETTINGS 🔹 Adena: x5 🔹 Drop / Spoil: x5 🔹 Skill EXP: x15 🔹 Max Windows: 2 per PC 🔹 Subclass: Lv 85 (no quest required) 🔹 Party Level Diff: 30 (55–85) 🔹 No custom items (armors / weapons / jewelry) 🔥 FEATURES ✨ Global & Raid Teleport ✨ NPC Buffer (34 buffs) ✨ Auto Events & PvP Zones ✨ Ranking & Clan Progression ✨ GM Shop & Premium System ✨ All-In-One Community Board ✨ Party & Solo Instances ✨ Siege & Territory War Rewards ✨ RaidBoss Kill Rewards ✨ Lucky Creature Event ✨ Daily Login Rewards ✨ Advanced DDoS Protection & Backups ⚔️ ENCHANTMENTS 🔸 Safe: +3 🔸 Max: +12 (Month 2: +14 | Month 3: +16) 🔸 Blessed: 50% (Premium 65%) 🔸 Normal: 45% (Premium 60%) 🏟️ OLYMPIAD 🔹 Max Enchant: +6 🔹 Start Players: 4 🔹 Period: 1st & 15th 🏰 SIEGE & TW 🔹 Siege Time: 16:00 & 20:00 🔹 Territory War: 20:00 🔹 Max Wards: 3 per Castle 🌌 Lineage2 Origins Fair. Competitive. Nostalgic. A true return to the origins of Lineage II.
    • Bastante confiable, ya trabaje en varios proyectos con el y la verdad te da confianza que hoy en dia poca gente hay asi lo  recomiendo 100%  Gracias por todo amigo ! seguiremos trabajando juntos segurisimamente! 
  • 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..