kai5520 發表於 2024-6-9 03:37

有人遇過這個問題嗎~

com.lineage.server.model.Instance.L1MonsterInstance cannot be cast to com.lineage.server.model.Instance.L1PcInstance
java.lang.ClassCastException: com.lineage.server.model.Instance.L1MonsterInstance cannot be cast to com.lineage.server.model.Instance.L1PcInstance
        at com.lineage.server.model.L1MobSkillUse.physicalAttack(kaa:625)
        at com.lineage.server.model.L1MobSkillUse.useSkill(kaa:170)
        at com.lineage.server.model.L1MobSkillUse.skillUse(kaa:27)
        at com.lineage.server.model.Instance.L1NpcInstance.attack(msa:444)
        at com.lineage.server.model.Instance.L1NpcInstance.onTarget(msa:593)
        at com.lineage.server.model.Instance.NpcAI.stopAIProcess(rna:252)
        at com.lineage.server.model.Instance.NpcAI.run(rna:189)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)


請問這如何解決呢

yasioukon 發表於 2024-6-9 09:07

L1MobSkillUse檔案

代表怪物的魔法有問題

但你的核心有混淆 估計修不了

只能嘗試 看能不能從DB找到有問題的 怪物魔法 移除它

kai5520 發表於 2024-6-9 10:31

瞭解~謝大大解答
頁: [1]
查看完整版本: 有人遇過這個問題嗎~