Skip to content

IKnowWtf

Members
  • Joined

  • Last visited

  • Trader rating

    N/A
  1. Good one. Adapted to aCis in less than minute :)
  2. I doubt that you have that title (MXC C/D) without knowledge of real time changes in (any) IDE while using external editors. Conclusion - MXC became shithole or you're hater || flamer || in the worst case - retard. Eot.
  3. public Buffer(int questId, String name, String descr) { super(questId, name, descr); addStartNpc(npcId); addTalkId(npcId); addFirstTalkId(npcId); } @Override public String onFirstTalk(L2Npc npc, L2PcInstance player) { QuestState st = player.getQuestState(getName()); if (st == null) newQuestState(player); return "something.htm"; } @Override public String onTalk(L2Npc npc, L2PcInstance player) { return "something.htm"; } Nothing more than just that, povis.
  4. First read, then eventually write anything.
  5. You're all just obvious shitspammers. The buffer has some important typos which won't allow to use it AT ALL :troll: @povis111 Check your strings from sql queries. Tip: a A b B Ignore if it only happens to unix-based platforms ( :y u no?:)
  6. It's not a cure... .. it's something much better :troll:
  7. I guess you went too far this time.
  8. +10k Ihadtospam :forever alone like a boss:
  9. IKnowWtf replied to a post in a topic in Report Section
    16 pages and there's still no reaction from the mods. It's not searching for a server but an obvious spam.
  10. Bro I appreciate your work but you could do it alot simplier, like: package net.sf.l2j.gameserver.model.actor.instance; import java.util.StringTokenizer; import net.sf.l2j.gameserver.instancemanager.CastleManager; import net.sf.l2j.gameserver.model.entity.Castle; import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage; import net.sf.l2j.gameserver.network.serverpackets.SiegeInfo; import net.sf.l2j.gameserver.templates.chars.L2NpcTemplate; /** * @author Tommy * @version 1.00 */ public class L2MultiSiegeInstance extends L2NpcInstance { public L2MultiSiegeInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(L2PcInstance player, String command) { if (command.startsWith("SiegeInfo")) { StringTokenizer s = new StringTokenizer(command); s.nextToken(); Castle castle = CastleManager.getInstance().getCastleById(Integer.parseInt(s.nextToken())); if (castle == null) { mainHtm(player, true); player.sendPacket(ActionFailed.STATIC_PACKET); } else player.sendPacket(new SiegeInfo(castle)); } } @Override public void showChatWindow(L2PcInstance player) { mainHtm(player, false); } private void mainHtm(L2PcInstance player, boolean nocastle) { NpcHtmlMessage html = new NpcHtmlMessage(5); StringBuilder sb = new StringBuilder(""); sb.append("<html><title>Tommy's Multi-Siege Manager</title>"); sb.append("<body><center>"); if (nocastle) sb.append("The castle you were searching is disabled."); else { sb.append("Choose which castle you wish to check:<br>"); sb.append("<a action=\"bypass -h npc_" + getObjectId() + "_SiegeInfo 1\"><font color=\"LEVEL\">Gludio</font></a><br>"); sb.append("<a action=\"bypass -h npc_" + getObjectId() + "_SiegeInfo 2\"><font color=\"LEVEL\">Dion</font></a><br>"); sb.append("<a action=\"bypass -h npc_" + getObjectId() + "_SiegeInfo 3\"><font color=\"LEVEL\">Giran</font></a><br>"); sb.append("<a action=\"bypass -h npc_" + getObjectId() + "_SiegeInfo 4\"><font color=\"LEVEL\">Oren</font></a><br>"); sb.append("<a action=\"bypass -h npc_" + getObjectId() + "_SiegeInfo 5\"><font color=\"LEVEL\">Aden</font></a><br>"); sb.append("<a action=\"bypass -h npc_" + getObjectId() + "_SiegeInfo 6\"><font color=\"LEVEL\">Innadril</font></a><br>"); sb.append("<a action=\"bypass -h npc_" + getObjectId() + "_SiegeInfo 7\"><font color=\"LEVEL\">Goddard</font></a><br>"); sb.append("<a action=\"bypass -h npc_" + getObjectId() + "_SiegeInfo 8\"><font color=\"LEVEL\">Rune</font></a><br>"); sb.append("<a action=\"bypass -h npc_" + getObjectId() + "_SiegeInfo 9\"><font color=\"LEVEL\">Schuttgart</font></a><br>"); } sb.append("</center></body></html>"); html.setHtml(sb.toString()); player.sendPacket(html); } } For people who wants to give it a try - all you need is retype the npc to L2MultiSiege. It works well with aCis.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.