YANBuffer - Import problem?
Posted: Tue Oct 14, 2014 12:47 am
L2J Revision: 6663
L2J DP: 10464
Java VM version: 1.8
Hi again guys, when I try to load YANBuffer on my server, i got this error in gs log:
My problem is really similar to this post: viewtopic.php?f=81&t=29540
- Actually I use latest trunk version of L2j server and datapack.
- Used HighFive/stable pack of YANBuffer
- scripts.cfg is ok.
- custom NPC in stats/npcs/custom/custom.xml is ok.
- custom tables are set all to true in General properties.
- I have run the SQL on l2jgs DB.
It seems there are importing problems? What do I need to change?
Thanks vm again
P.S.
When I used YANBuffer on my old server (version 6445 and DP 9641) I had NO problems with it. Currently Im on a Windows L2J sandbox, dedicated server runs Centos.
L2J DP: 10464
Java VM version: 1.8
Hi again guys, when I try to load YANBuffer on my server, i got this error in gs log:
Code: Select all
1. ERROR in \YANModPack\YANBuffer\YANBuffer.java (at line 53) import com.l2jserver.gameserver.model.effects.L2Effect; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^The import com.l2jserver.gameserver.model.effects.L2Effect cannot be resolved----------2. ERROR in \YANModPack\YANBuffer\YANBuffer.java (at line 142) return YANBufferData.getInstance().getBufferNpc(npc.getNpcId()); ^^^^^^^^The method getNpcId() is undefined for the type L2Npc----------3. ERROR in \YANModPack\YANBuffer\YANBuffer.java (at line 162) activeChar.clearBypass(); ^^^^^^^^^^^The method clearBypass() is undefined for the type L2PcInstance----------4. ERROR in \YANModPack\YANBuffer\YANBuffer.java (at line 186) activeChar.addBypass2(html.substring(start, finish2).trim()); ^^^^^^^^^^The method addBypass2(String) is undefined for the type L2PcInstance----------5. ERROR in \YANModPack\YANBuffer\YANBuffer.java (at line 190) activeChar.addBypass(html.substring(start, finish).trim()); ^^^^^^^^^The method addBypass(String) is undefined for the type L2PcInstance----------6. ERROR in \YANModPack\YANBuffer\YANBuffer.java (at line 234) Long amount = items.get(item.getValue().item.getItemId()); ^^^^^^^^^The method getItemId() is undefined for the type L2Item----------7. ERROR in \YANModPack\YANBuffer\YANBuffer.java (at line 239) items.put(item.getValue().item.getItemId(), amount + item.getValue().amount); ^^^^^^^^^The method getItemId() is undefined for the type L2Item----------8. ERROR in \YANModPack\YANBuffer\YANBuffer.java (at line 245) buff.skill.getEffects(playable, playable); ^^^^^^^^^^L2Skill cannot be resolved to a type----------9. ERROR in \YANModPack\YANBuffer\YANBuffer.java (at line 717) final L2Effect[] effects = player.getAllEffects(); ^^^^^^^^L2Effect cannot be resolved to a type----------10. ERROR in \YANModPack\YANBuffer\YANBuffer.java (at line 717) final L2Effect[] effects = player.getAllEffects(); ^^^^^^^^^^^^^The method getAllEffects() is undefined for the type L2PcInstance----------11. ERROR in \YANModPack\YANBuffer\YANBuffer.java (at line 718) for (final L2Effect effect : effects) ^^^^^^^^L2Effect cannot be resolved to a type----------12. ERROR in \YANModPack\YANBuffer\YANBuffer.java (at line 728) if (buff.skill.getId() == effect.getSkill().getId()) ^^^^^^^^^^L2Skill cannot be resolved to a type--------------------13. ERROR in D:\L2J\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 44) import com.l2jserver.gameserver.datatables.NpcTable; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^The import com.l2jserver.gameserver.datatables.NpcTable cannot be resolved----------14. ERROR in D:\L2J\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 45) import com.l2jserver.gameserver.datatables.SkillTable; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^The import com.l2jserver.gameserver.datatables.SkillTable cannot be resolved----------15. ERROR in D:\L2J\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 49) import com.l2jserver.gameserver.model.skills.L2Skill; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^The import com.l2jserver.gameserver.model.skills.L2Skill cannot be resolved----------16. ERROR in D:\L2J\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 71) protected final L2Skill skill; ^^^^^^^L2Skill cannot be resolved to a type----------17. ERROR in D:\L2J\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 77) protected Buff(String ident, L2Skill skill, BuffType type, Element elem) ^^^^^^^L2Skill cannot be resolved to a type----------18. ERROR in D:\L2J\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 80) this.skill = skill; ^^^^^^^^^^L2Skill cannot be resolved to a type----------19. ERROR in D:\L2J\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 450) L2Skill skill = SkillTable.getInstance().getInfo(skillId, skillLevel); ^^^^^^^L2Skill cannot be resolved to a type----------20. ERROR in D:\L2J\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 450) L2Skill skill = SkillTable.getInstance().getInfo(skillId, skillLevel); ^^^^^^^^^^SkillTable cannot be resolved----------21. ERROR in D:\L2J\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 495) L2NpcTemplate npc = NpcTable.getInstance().getTemplate(npcId); ^^^^^^^^NpcTable cannot be resolved----------22. ERROR in D:\L2J\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 502) _bufferNpcs.put(npc.getNpcId(), new BufferNpc(npc, curElem)); ^^^^^^^^The method getNpcId() is undefined for the type L2NpcTemplate--------------------23. ERROR in D:\L2J\game\data\scripts\YANModPack\util\ItemRequirement.java (at line 38) this.placeholder.addChild("id", String.valueOf(item.getItemId())).addChild("icon", item.getIcon()).addChild("name", item.getName()).addChild("amount", String.valueOf(amount)); ^^^^^^^^^The method getItemId() is undefined for the type L2Item--------------------24. ERROR in D:\L2J\game\data\scripts\YANModPack\YANBuffer\YANBufferNpcBypassHandler.java (at line 55) if (!activeChar.validateBypass(command)) ^^^^^^^^^^^^^^The method validateBypass(String) is undefined for the type L2PcInstance----------24 problems (24 errors)L2Skill cannot be resolved to a typeThe import com.l2jserver.gameserver.model.effects.L2Effect cannot be resolvedThe import com.l2jserver.gameserver.datatables.NpcTable cannot be resolvedThe import com.l2jserver.gameserver.datatables.SkillTable cannot be resolvedThe import com.l2jserver.gameserver.model.skills.L2Skill cannot be resolvedThe method getNpcId() is undefined for the type com.l2jserver.gameserver.model.actor.L2NpcThe method clearBypass() is undefined for the type com.l2jserver.gameserver.model.actor.instance.L2PcInstanceThe method addBypass2(java.lang.String) is undefined for the type com.l2jserver.gameserver.model.actor.instance.L2PcInstanceThe method addBypass(java.lang.String) is undefined for the type com.l2jserver.gameserver.model.actor.instance.L2PcInstanceThe method getItemId() is undefined for the type com.l2jserver.gameserver.model.items.L2ItemThe method getItemId() is undefined for the type com.l2jserver.gameserver.model.items.L2ItemL2Skill cannot be resolved to a typeL2Skill cannot be resolved to a typeL2Effect cannot be resolved to a typeThe method getAllEffects() is undefined for the type com.l2jserver.gameserver.model.actor.instance.L2PcInstanceL2Effect cannot be resolved to a typeL2Skill cannot be resolved to a typeL2Skill cannot be resolved to a typeL2Skill cannot be resolved to a typeSkillTable cannot be resolvedNpcTable cannot be resolvedThe method getNpcId() is undefined for the type com.l2jserver.gameserver.model.actor.templates.L2NpcTemplateThe method getItemId() is undefined for the type com.l2jserver.gameserver.model.items.L2ItemThe method validateBypass(java.lang.String) is undefined for the type com.l2jserver.gameserver.model.actor.instance.L2PcInstance[14/10 00:39:44] Failed executing script: D:\L2J\game\data\scripts\YANModPack\YANBuffer\YANBuffer.java. See YANBuffer.java.error.log for details.
- Actually I use latest trunk version of L2j server and datapack.
- Used HighFive/stable pack of YANBuffer
- scripts.cfg is ok.
- custom NPC in stats/npcs/custom/custom.xml is ok.
- custom tables are set all to true in General properties.
- I have run the SQL on l2jgs DB.
It seems there are importing problems? What do I need to change?
Thanks vm again
P.S.
When I used YANBuffer on my old server (version 6445 and DP 9641) I had NO problems with it. Currently Im on a Windows L2J sandbox, dedicated server runs Centos.