Buffer with java (not jython)

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
II337
Posts: 67
Joined: Mon Oct 27, 2014 9:44 pm

Buffer with java (not jython)

Post by II337 »

Does someone has a preconfigured or a basic buffer with java?
I got some problems with YANBuffer, the new H5 stable is not adapted to it,
can someone help me to fix it,cause those method names are still based on the newer H5 builds.

Code: Select all

----------1. ERROR in \YANModPack\YANBuffer\Yanbuffer.java (at line 51)        public final class YANBuffer                           ^^^^^^^^^The public type YANBuffer must be defined in its own file----------2. ERROR in \YANModPack\YANBuffer\Yanbuffer.java (at line 96)        return YANBufferData.GET_INSTANCE().getBufferNpc(npc.getNpcId());                                                             ^^^^^^^^The method getNpcId() is undefined for the type L2Npc----------3. ERROR in \YANModPack\YANBuffer\Yanbuffer.java (at line 125)        activeChar.clearBypass();                   ^^^^^^^^^^^The method clearBypass() is undefined for the type L2PcInstance----------4. ERROR in \YANModPack\YANBuffer\Yanbuffer.java (at line 149)        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 153)        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 197)        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 202)        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 208)        buff.skill.getEffects(playable, playable);        ^^^^^^^^^^L2Skill cannot be resolved to a type--------------------9. ERROR in C:\Users\Administrator\Desktop\L2\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 43)        import com.l2jserver.gameserver.datatables.NpcTable;               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^The import com.l2jserver.gameserver.datatables.NpcTable cannot be resolved----------10. ERROR in C:\Users\Administrator\Desktop\L2\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 44)        import com.l2jserver.gameserver.datatables.SkillTable;               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^The import com.l2jserver.gameserver.datatables.SkillTable cannot be resolved----------11. ERROR in C:\Users\Administrator\Desktop\L2\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 47)        import com.l2jserver.gameserver.model.skills.L2Skill;               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^The import com.l2jserver.gameserver.model.skills.L2Skill cannot be resolved----------12. ERROR in C:\Users\Administrator\Desktop\L2\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 57)        protected final L2Skill skill;                        ^^^^^^^L2Skill cannot be resolved to a type----------13. ERROR in C:\Users\Administrator\Desktop\L2\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 62)        protected Buff(String ident, L2Skill skill, Element elem)                                     ^^^^^^^L2Skill cannot be resolved to a type----------14. ERROR in C:\Users\Administrator\Desktop\L2\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 65)        this.skill = skill;        ^^^^^^^^^^L2Skill cannot be resolved to a type----------15. ERROR in C:\Users\Administrator\Desktop\L2\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 388)        L2Skill skill = SkillTable.getInstance().getInfo(skillId, skillLevel);        ^^^^^^^L2Skill cannot be resolved to a type----------16. ERROR in C:\Users\Administrator\Desktop\L2\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 388)        L2Skill skill = SkillTable.getInstance().getInfo(skillId, skillLevel);                        ^^^^^^^^^^SkillTable cannot be resolved----------17. ERROR in C:\Users\Administrator\Desktop\L2\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 432)        L2NpcTemplate npc = NpcTable.getInstance().getTemplate(npcId);                            ^^^^^^^^NpcTable cannot be resolved----------18. ERROR in C:\Users\Administrator\Desktop\L2\game\data\scripts\YANModPack\YANBuffer\YANBufferData.java (at line 439)        _bufferNpcs.put(npc.getNpcId(), new BufferNpc(npc, curElem));                            ^^^^^^^^The method getNpcId() is undefined for the type L2NpcTemplate--------------------19. ERROR in C:\Users\Administrator\Desktop\L2\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--------------------20. ERROR in C:\Users\Administrator\Desktop\L2\game\data\scripts\YANModPack\YANBuffer\NpcAI.java (at line 49)        String specificNpcHtml = npc.getNpcId() + ".html";                                     ^^^^^^^^The method getNpcId() is undefined for the type L2Npc----------20 problems (20 errors)The public type YANBuffer must be defined in its own fileL2Skill cannot be resolved to a typeThe 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 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 getNpcId() is undefined for the type com.l2jserver.gameserver.model.actor.L2Npc
the0ffspring
Posts: 12
Joined: Wed Nov 26, 2014 12:25 am

Re: Buffer with java (not jython)

Post by the0ffspring »

Hey guy i have the exactly same problem. How do i resolve it?
II337
Posts: 67
Joined: Mon Oct 27, 2014 9:44 pm

Re: Buffer with java (not jython)

Post by II337 »

I used a other buffer
the0ffspring
Posts: 12
Joined: Wed Nov 26, 2014 12:25 am

Re: Buffer with java (not jython)

Post by the0ffspring »

what buffer do u use pls let me know
Post Reply