Judgement Posted September 5, 2009 Posted September 5, 2009 The NPC.sql is correct; if I change it to a different class, like L2NPC, it'll spawn, but it just becomes a regular NPC, not the buffer. And yeah, those lines are there. Sorry for troubling you all with this problem... =/
Emrys Posted September 13, 2009 Posted September 13, 2009 I havent read the code... i want toask, It heals your mana and HP every time you take the buffs?
Emrys Posted September 13, 2009 Posted September 13, 2009 yep Thanks for your answer, I download it... Iread 3 times all the Java files and I cant find where it heals HP because I want to remove it) Maybe I am Blind? where it is?
DrHouse__ Posted September 13, 2009 Author Posted September 13, 2009 Cant remember, try following givebuffs bypass
Emrys Posted September 13, 2009 Posted September 13, 2009 That's what i did and I can say that you have donwa great job! But Just look:: if (currentCommand.startsWith("givebuffs")) { String targettype = st.nextToken(); String scheme_key = st.nextToken(); int cost = Integer.parseInt(st.nextToken()); if (cost == 0 || cost <= player.getInventory().getAdena()) { L2Character target = player; if (targettype.equalsIgnoreCase("pet")) target = player.getPet(); else if (target != null) { for (L2Skill sk : CharSchemesTable.getInstance().getScheme(player.getObjectId(), scheme_key)) { sk.getEffects(this, target); } player.reduceAdena("NPC Buffer", cost, this, true); } else { player.sendMessage("Incorrect Pet"); // go to main menu NpcHtmlMessage html = new NpcHtmlMessage(1); html.setFile(PARENT_DIR+"menu.htm"); sendHtmlMessage(player, html); } } else { player.sendMessage("Not enough adena"); showGiveBuffsWindow(player, targettype); } }
Chrome Posted October 5, 2009 Posted October 5, 2009 sry, delete this post, i've just found the answer
MaxPowerGR Posted October 12, 2009 Posted October 12, 2009 can i ask something ? is there a way to make this buffer without the schemes ? just a window with htm buttons for buffs and non-closed window while clicking each buff.. ? i mean a core buffer without schemes ^^ thanks :)
~GeFriDo~ Posted October 21, 2009 Posted October 21, 2009 Dude the buffer rocks...! Thank you for this..
repxl Posted November 28, 2009 Posted November 28, 2009 no work for me :( and i dont know then what do with the .java files this i cannot apply patch it write me error. at the begin check it out
Intrepid Posted November 28, 2009 Posted November 28, 2009 no work for me :( and i dont know then what do with the .java files this i cannot apply patch it write me error. at the begin check it out insert it by hand rofl...
Recommended Posts