Jump to content

Devlin

Banned
  • Posts

    1,643
  • Joined

  • Last visited

  • Days Won

    5
  • Feedback

    100%

Everything posted by Devlin

  1. Source/Pack: http://www.mediafire.com/?uxq4d342rvtbq0t Database: http://www.mediafire.com/?kw649969lpftp68 Patch: http://www.mediafire.com/download.php?fo80c8f47lmuhjm bb.
  2. These files are shared, lol.
  3. ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/model/actor/instance/L2SkillSellerInstance.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/L2SkillSellerInstance.java (revision 0) +++ java/net/sf/l2j/gameserver/model/actor/instance/L2SkillSellerInstance.java (working copy) @@ -0,0 +1,64 @@ +/* + * 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. + */ +package net.sf.l2j.gameserver.model.actor.instance; + +import net.sf.l2j.gameserver.datatables.SkillTable; +import net.sf.l2j.gameserver.model.L2Skill; +import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage; +import net.sf.l2j.gameserver.templates.chars.L2NpcTemplate; + +/** + * @author Devlin + * + */ +public class L2SkillSellerInstance extends L2NpcInstance +{ + public L2SkillSellerInstance(int objectId, L2NpcTemplate template) + { + super(objectId, template); + } + + @Override + public void onBypassFeedback(L2PcInstance player, String command) + { + if (command.equals("skill1")) + { + L2Skill skill1 = SkillTable.getInstance().getInfo(skillId, level); + player.addSkill(skill1, true); + player.destroyItem("Devlin.", 57, 1, null, false); + } + } + + @Override + public void showChatWindow(L2PcInstance player) + { + mainHtm(player); + } + + private void mainHtm(L2PcInstance player) + { + NpcHtmlMessage html = new NpcHtmlMessage(5); + StringBuilder sb = new StringBuilder(""); + + sb.append("<html><title>Skill Seller</title>"); + sb.append("<body><center>"); + sb.append("Choose which skill you want to buy:<br>"); + sb.append("<a action=\"bypass -h npc_" + getObjectId() + "_skill1\"><font color=\"LEVEL\">Dash</font></a><br>"); + sb.append("</center></body></html>"); + + html.setHtml(sb.toString()); + player.sendPacket(html); + } +} \ No newline at end of file
  4. FinalGod is gfx moderator too, but he knows only to make signatures.
  5. http://maxcheaters.com/forum/index.php?topic=247189.0 What abou this?
  6. Εσείς φταίτε που ασχολείστε ακόμα.
  7. With my 3gs you take better photographs.
  8. Κάθε φορά που επιστρέφεις, γίνεται το ίδιο σκηνικό.
  9. It's not sure but in 15 minutes, he said.
  10. Nop, I am talking with him. He is working on last things.
  11. bump, one more copy sold.
  12. Just done a trade. Really fast, no problems. Trusted for sure! Good luck mate.
  13. That's sure, but there are many ways in order to balance your server. For example, I am using real time balancer for my server.
  14. We talk about these ready projects (aCis, l2jfrozen). You don't really need to edit java files for balance.
  15. Great, I'm waiting for.
  16. It's for all summons whose type is L2Pet.
  17. Dunno if works just test. ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PetInstance.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/L2PetInstance.java (revision 65) +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PetInstance.java (working copy) @@ -938,7 +938,7 @@ @Override public int getRunSpeed() { - return getStat().getRunSpeed(); + return getStat().getRunSpeed() + Config.PET_RUN_SPEED; } Plus create an int config.
  18. Dafuq, he is able to do everything at his pack since it's not public.
  19. You have to be java developer in order to make a proper balance? Great!
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..