Jump to content

EdenEternal

Banned
  • Posts

    2,090
  • Credits

  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by EdenEternal

  1. Took Windows server 2003... which firewall and which antivirus is you opinion
  2. thanks it works. :) you can lock the topic
  3. can anyone share voicedcommandhandlers patch for intelude? need for acis... tried to search but can't find
  4. Bought VPS server and planing to make a interlude server. i'm interesed which operation system is the best for l2 server? which revision?
  5. jave reinstalling have helped. thanks problem solved and topic can be locked.
  6. it's not easy just to take from other port.... I believe some1 have patch of it
  7. no skype, no teamviewer, no appserv
  8. i have separated the database. gameserver have the other and loginserver the another database, after that i have that problem...
  9. any ideas> pack aCis 270rev.
  10. I wrote telnet, not the Talent
  11. Is there somewhere telnet system patch? i want to add it on interlude pack
  12. is it possible to make donator for only 24 hours?
  13. Ok... Thanks for time you wasted on me and forgive me...
  14. I want to die :facepalm: you could say how to do it or just nothing..... Why so cruel? I'm beginner in java and trying to learn... I have never worked on packs like this so I had many questions... Sorry....
  15. Can't fix the glows ((( weapons have glows without enchant ( can someone give tutorial how to fix glows?
  16. source have no potions item handler :rage: can you help to make mana potion no consumable?
  17. for which revision did you wrote it?
  18. screen don't work
  19. how to make check if scroll is crystal chance=100?
  20. topic needs update of images
  21. Thanks for help to An4rchy Preview: Code: /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */ package net.sf.l2j.gameserver.model.actor.instance; import java.util.StringTokenizer; import net.sf.l2j.gameserver.ai.CtrlIntention; import net.sf.l2j.gameserver.datatables.SkillTable; import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; import net.sf.l2j.gameserver.network.serverpackets.MyTargetSelected; import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage; import net.sf.l2j.gameserver.network.serverpackets.SocialAction; import net.sf.l2j.gameserver.network.serverpackets.ValidateLocation; import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUse; import net.sf.l2j.gameserver.templates.chars.L2NpcTemplate; import net.sf.l2j.util.StringUtil; import net.sf.l2j.util.Rnd; /** * * @author Leki */ public final class L2BufferInstance extends L2NpcInstance { public L2BufferInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(L2PcInstance player, String command) { StringTokenizer st = new StringTokenizer(command, " "); String actualCommand = st.nextToken(); int buffid = 0; int bufflevel = 1; String nextWindow = null; if (st.countTokens() == 3) { buffid = Integer.valueOf(st.nextToken()); bufflevel = Integer.valueOf(st.nextToken()); nextWindow = st.nextToken(); } else if (st.countTokens() == 1) buffid = Integer.valueOf(st.nextToken()); if (actualCommand.equalsIgnoreCase("getbuff")) { if (buffid != 0) { MagicSkillUse mgc = new MagicSkillUse(this, player, buffid, bufflevel, 5, 0); SkillTable.getInstance().getInfo(buffid, bufflevel).getEffects(this, player); showMessageWindow(player); player.broadcastPacket(mgc); showChatWindow(player, nextWindow); } } else if (actualCommand.equalsIgnoreCase("restore")) { player.setCurrentHpMp(player.getMaxHp(), player.getMaxMp()); player.setCurrentCp(player.getMaxCp()); showMessageWindow(player); } else if (actualCommand.equalsIgnoreCase("cancel")) { player.stopAllEffects(); showMessageWindow(player); } else super.onBypassFeedback(player, command); } @Override public void onAction(L2PcInstance player) { if (this != player.getTarget()) { player.setTarget(this); player.sendPacket(new MyTargetSelected(getObjectId(), player.getLevel() - getLevel())); player.sendPacket(new ValidateLocation(this)); } else if (isInsideRadius(player, INTERACTION_DISTANCE, false, false)) { SocialAction sa = new SocialAction(this, Rnd.get(); broadcastPacket(sa); player.setCurrentFolkNPC(this); showMessageWindow(player); player.sendPacket(ActionFailed.STATIC_PACKET); } else { player.getAI().setIntention(CtrlIntention.AI_INTENTION_INTERACT, this); player.sendPacket(ActionFailed.STATIC_PACKET); } } private void showMessageWindow(L2PcInstance player) { String filename = "data/html/buffer/" + getNpcId() + ".htm"; filename = getHtmlPath(getNpcId(), 0); NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); html.setFile(filename); html.replace("%objectId%", String.valueOf(getObjectId())); html.replace("%npcname%", getName()); player.sendPacket(html); } @Override public String getHtmlPath(int npcId, int val) { String pom = ""; if (val == 0) pom = "" + npcId; else pom = npcId + "-" + val; return "data/html/buffer/" + pom + ".htm"; } } htmls: http://www.4shared.com/rar/a1SBGWyx/Buffer.html? Copy to data/html/buffer/ Buffer id 36003
  22. Thanks it workS :)))) Close the topic
  23. can't get it what you mean :? how character should make noblesse quest? or i should write quest? :|
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock