Jump to content

Dulens.

Banned
  • Posts

    3,353
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Dulens.

  1. 1 traded, 1 paysafe left! i need fast, pm me
  2. Trusted and very fast. Trade done in some seconds.
  3. το πρώτο στο έδωσε ο UnSponsored. το 2ο θα το κάνω share σε λίγο.
  4. 8.5 ;
  5. Pm me
  6. I know him , he is designer and the posted ones are previews of his work.
  7. Dude open diff files with notepad and see where to put the files.
  8. kali created them. pm him
  9. γενικά να κολάνε όλα τα actives ή όσα θέλεις εσύ?
  10. το shara όχι δεν θα το κλείσω.
  11. Enterworld.java is 100%.
  12. εδώ αυτό που ζητάς το πουλάει ο Elfocrash με 35 ευρώ και λες να στο δώσω εγώ δωρεάν?
  13. kokkinidisjim's request, ready. /* * 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 com.l2jfrozen.gameserver.handler.voicedcommandhandlers; import java.util.StringTokenizer; import javolution.text.TextBuilder; import com.l2jfrozen.gameserver.handler.IVoicedCommandHandler; import com.l2jfrozen.gameserver.managers.CastleManager; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.entity.ClanHall; import com.l2jfrozen.gameserver.model.entity.siege.Castle; import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; /** * * @author Crystalia */ public class Siege implements IVoicedCommandHandler { private static String[] _voicedCommands = { "siege" }; @SuppressWarnings("null") @Override public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { StringTokenizer st = new StringTokenizer(command, " "); command = st.nextToken(); // Get actual command // Get castle Castle castle = null; ClanHall clanhall = null; // Get castle @SuppressWarnings("unused") String val = ""; if(st.hasMoreTokens()) { val = st.nextToken(); } if((castle == null || castle.getCastleId() < 0) && clanhall == null) { // No castle specified showCastleSelectPage(activeChar); } else { @SuppressWarnings("unused") L2PcInstance player = null; if(command.equalsIgnoreCase("admin_list_siege_clans")) { castle.getSiege().listRegisterClan(activeChar); return true; } player = null; target = null; } val = null; clanhall = null; castle = null; st = null; return true; } private void showCastleSelectPage(L2PcInstance activeChar) { int i = 0; NpcHtmlMessage adminReply = new NpcHtmlMessage(5); adminReply.setFile("data/html/admin/castles.htm"); TextBuilder cList = new TextBuilder(); for(Castle castle : CastleManager.getInstance().getCastles()) { if(castle != null) { String name = castle.getName(); cList.append("<td fixwidth=90><a action=\"bypass -h admin_siege " + name + "\">" + name + "</a></td>"); i++; name = null; } if(i > 2) { cList.append("</tr><tr>"); i = 0; } } adminReply.replace("%castles%", cList.toString()); cList.clear(); i = 0; } @Override public String[] getVoicedCommandList() { return _voicedCommands; } } Δεν δουλεύει σίγουρα, αλλά δοκίμασε.
  14. δες στο website
  15. l2java.com
  16. εγώ τον βρήκα , απλά περίμενε να φτιάξω το command.
  17. απλά κάνεις ένα VoicedCommand και παίρνεις τον κώδικα από αυτό που θέλεις και κάνεις rework. περίμενε να το checkarw.
  18. καλά πες μου ακριβώς το request σου, για να κάτσω να το δουλέψω με ένα παιδί.
  19. περίμενε δεν κατάλαβα. τι θέλεις ακριβώς?
  20. μπορώ να σου φτιάξω κώδικα ή sql query. τι προτιμάς?
×
×
  • 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