Jump to content

L2-Luna c6

Members
  • Posts

    21
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by L2-Luna c6

  1. Hey folks, someone scam my pack, any idea how I can report him ?
  2. Im looking for someone to make me logos for npcs already have the photos I want add me on skype: live:ionianaudio
  3. WTB forum for my website add me on skype: live:ionianaudio
  4. Hey folks, any good company with ddos protected dedicated server to host my Server? except hyperfilter because all the servers sold!!!!
  5. I'm looking for GM team! Add me on skype: live:ionianaudio
  6. Hey, I have a problem with the Flag Zone, when I entered to flag zone is ok, it saws the characters in flag mode But.... when I take 1 kill ( PvP ) after a while it change's to normal * white name * ( unflaged )... Any solution to fix that problem?
  7. Here is the code, what im doing wrong ? !!!!!!! Inside game nothing happens... it saws only the htm, it want open castle registration!!!! /* 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 net.sf.l2j.gameserver.instancemanager.CastleManager; import net.sf.l2j.gameserver.model.actor.template.NpcTemplate; 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; /** * @author -=DoctorNo=- */ public class L2CastleManageInstance extends Folk { public L2CastleManageInstance(int objectId, NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(Player player, String command) { if(player == null ) return; if (!canTarget(player)) return; else if (command.startsWith("siege_")) { int castleId = 0; if (command.startsWith("siege_gludio")) castleId = 1; else if (command.startsWith("siege_dion")) castleId = 2; else if (command.startsWith("siege_giran")) castleId = 3; else if (command.startsWith("siege_oren")) castleId = 4; else if (command.startsWith("siege_aden")) castleId = 5; else if (command.startsWith("siege_innadril")) castleId = 6; else if (command.startsWith("siege_goddard")) castleId = 7; else if (command.startsWith("siege_rune")) castleId = 8; else if (command.startsWith("siege_schuttgart")) castleId = 9; Castle castle = CastleManager.getInstance().getCastleById(castleId); if(castle != null && castleId != 0) player.sendPacket(new SiegeInfo(castle)); } } /** * @param player * @return */ private static boolean canTarget(Player player) { // TODO Auto-generated method stub return false; } @Override public void showChatWindow(Player player) { player.sendPacket(ActionFailed.STATIC_PACKET); NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); html.setFile( "data/html/mods/CastleManager.htm"); html.replace("%objectId%", String.valueOf(getObjectId())); player.sendPacket(html); } }
  8. I did a mistake in Eclipse and I thing I delete a line so that's why when I double click my SS or BSS cant see the effect in item that it saws if its enable or not... It says is enable only in the Announcement when you click it.... Any help to fix that problem?
  9. also when I spawn that it doesn't appear !!!!!
  10. LF Developer, to adapt me this TvT Event already added all the paste bin, but it gives me some errors because im new!!! Add me in skype: live:ionianaudio or L2-Luna C6
  11. Im trying to add TVT Event but I don't know what im doing wrong … I have the whole code ready, if someone can do the job for me.. add me on skype: L2-Luna C6
×
×
  • Create New...