Jump to content

nery

Members
  • Posts

    137
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by nery

  1. interlude?
  2. interlude???????
  3. no start i my H5
  4. help count vote ServerNameForVotes = KingServerBr VoteHtmlPatch = http://l2topzone.com or ServerNameForVotes = KingServerBr VoteHtmlPatch = http://l2topzone.com/vote.php?id=8708 ? ? ? ? ? ? help plis
  5. @ Never Its place to have some char item for him to perform the action?
  6. I can not later add this mode no error in the eclypse but by the time the gameserver ta rising every time it says Class not found L2AppearanceInstance , but rather the added ja gameserver/model/actor/instance/L2AppearanceInstance.java will be where you have to turn yet?
  7. [javac] Note: C:\workspace\KingServerBR\Server\java\king\server\gameserver\instancemanager\AutoVoteRewardHandler.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. ? ? ? ? ? ?
  8. could not not share with us this code?
  9. H5 no file, Potions.java ? help me
  10. tranks install 100% my pack kingserverbr.
  11. Hello this is a voice that typing. Leader you are teleported to where your clan leader is. Testing and running at 100% H5 ### Eclipse Workspace Patch 1.0 #P KingServer Index: dist/game/config/KingServer.properties =================================================================== --- dist/game/config/KingServer.properties (revision 20) +++ dist/game/config/KingServer.properties (working copy) @@ -207,4 +207,8 @@ # Comando .pmoff para bloquear mensagens e .pmon para permitir o recebimento de pms # Padrao (Default): False -CommandPmOff = False \ No newline at end of file +CommandPmOff = False + +# Comando .lider para teleportar para o seu lider online +# Padrao (Default): False +CommandLider = False \ No newline at end of file Index: java/king/server/KingServer.java =================================================================== --- java/king/server/KingServer.java (revision 20) +++ java/king/server/KingServer.java (working copy) @@ -126,7 +126,9 @@ public static boolean COMMAND_TRADE_OFF; //.online public static boolean ALLOW_GET_ONLINE; - + // .lider + public static boolean COMMAND_LIDER; + // -------------------------------------------------- // OPCOES RELACIOANDAS A LOJAS // // -------------------------------------------------- @@ -233,7 +235,9 @@ COMMAND_TRADE_OFF = Boolean.parseBoolean (KingSettings.getProperty("CommandTradeOff", "false")); //.online ALLOW_GET_ONLINE = Boolean.parseBoolean(KingSettings.getProperty("AllowGetOnline", "False")); - + //.lider + COMMAND_LIDER = Boolean.parseBoolean(KingSettings.getProperty("CommandLider", "False")); + //############################### OPCOES RELACIONADAS A LOJAS ##############################// //Distancia entre player/npc para montar loja SHOP_MIN_RANGE_ENABLE = Boolean.parseBoolean(KingSettings.getProperty("ShopMinRangeEnable", "false")); #P DataPack Index: dist/game/data/scripts/handlers/voicedcommandhandlers/Lider.java =================================================================== --- dist/game/data/scripts/handlers/voicedcommandhandlers/Lider.java (revision 0) +++ dist/game/data/scripts/handlers/voicedcommandhandlers/Lider.java (working copy) @@ -0,0 +1,154 @@ package handlers.voicedcommandhandlers; import king.server.KingServer; import king.server.gameserver.handler.IVoicedCommandHandler; import king.server.gameserver.instancemanager.CastleManager; import king.server.gameserver.model.L2World; import king.server.gameserver.model.actor.instance.L2PcInstance; public class Lider implements IVoicedCommandHandler { private static final String[] VOICED_COMMANDS = { "lider"}; @Override public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (KingServer.COMMAND_LIDER) { if (command.equalsIgnoreCase("lider")) { if (activeChar.getClan() == null) { return false; } L2PcInstance leader; leader = (L2PcInstance) L2World.getInstance().findObject(activeChar.getClan().getLeaderId()); if (leader == null) { activeChar.sendMessage("Seu lider nao estar online."); return false; } else if (leader.isInJail()) { activeChar.sendMessage("Seu lider estar na Jaula."); return false; } else if (leader.isInOlympiadMode()) { activeChar.sendMessage("Seu lider estar em Olympiada."); return false; } else if (leader.isInDuel()) { activeChar.sendMessage("Seu lider estar em um Duelo."); return false; } else if (leader.isFestivalParticipant()) { activeChar.sendMessage("Seu lider estar em algum festival."); return false; } else if (leader.isInParty() && leader.getParty().isInDimensionalRift()) { activeChar.sendMessage("Seu lider estar em dimensional rift."); return false; } else if (leader.inObserverMode()) { activeChar.sendMessage("Seu lider estar em modo de Observacao."); } else if ((leader.getClan() != null) && (CastleManager.getInstance().getCastleByOwner(leader.getClan()) != null) && CastleManager.getInstance().getCastleByOwner(leader.getClan()).getSiege().getIsInProgress()) { activeChar.sendMessage("O seu lider esta em cerco, voce nao pode ir para o seu lider."); return false; } else if (activeChar.isInJail()) { activeChar.sendMessage("Voce nao pode ir estando na Jaula!"); return false; } else if (activeChar.isInOlympiadMode()) { activeChar.sendMessage("Voce nao pode ir estando em um Olympiada."); return false; } else if (activeChar.isInDuel()) { activeChar.sendMessage("Voce nao pode ir estando em Duelo!"); return false; } else if (activeChar.inObserverMode()) { activeChar.sendMessage("Voce nao pode ir estando em modo de Observacao."); } else if ((activeChar.getClan() != null) && (CastleManager.getInstance().getCastleByOwner(activeChar.getClan()) != null) && CastleManager.getInstance().getCastleByOwner(activeChar.getClan()).getSiege().getIsInProgress()) { activeChar.sendMessage("Voce nao pode ir estando em Sierge."); return false; } else if (activeChar.isFestivalParticipant()) { activeChar.sendMessage("Voce nao pode ir estando em festival."); return false; } else if (activeChar.isInParty() && activeChar.getParty().isInDimensionalRift()) { activeChar.sendMessage("Voce nao pode ir estando em dimensional rift."); return false; } else if (activeChar == leader()) { activeChar.sendMessage("Voce nao pode se teletransportar para si mesmo."); return false; } if (activeChar.getInventory().getItemByItemId(57) == null) { activeChar.sendMessage("Voce precisa de 1000 ou mais adenas para Teleporta ate seu lider."); return false; } int leaderx; int leadery; int leaderz; leaderx = leader.getX(); leadery = leader.getY(); leaderz = leader.getZ(); activeChar.teleToLocation(leaderx, leadery, leaderz); activeChar.sendMessage("Voce foi teletransportado para o seu lider!"); activeChar.getInventory().destroyItemByItemId("RessSystem", 57, 1000, activeChar, activeChar.getTarget()); activeChar.sendMessage("1000 Adenas foram usadas, Obrigado!"); } else { activeChar.sendMessage("Comando Desabilitado pelo Admin"); } return true; } return false; } public L2PcInstance leader() { return null; } @Override public String[] getVoicedCommandList() { return VOICED_COMMANDS; } } \DataPack\dist\game\data\scripts\handlers\MasterHandler.java import handlers.voicedcommandhandlers.InfoCommand; import handlers.voicedcommandhandlers.Lang; +import handlers.voicedcommandhandlers.Lider; import handlers.voicedcommandhandlers.pmoff; import handlers.voicedcommandhandlers.Online; import handlers.voicedcommandhandlers.Teleport; ============================== // SetVCmd.class, InfoCommand.class, BuyRec.class, Online.class, TradeOff.class, pmoff.class, Teleport.class, +Lider.class, (Config.L2JMOD_ALLOW_WEDDING ? Wedding.class : null), (Config.BANKING_SYSTEM_ENABLED ? Banking.class : null), (Config.TVT_ALLOW_VOICED_COMMAND ? TvTVoicedInfo.class : null), (Config.L2JMOD_CHAT_ADMIN ? ChatAdmin.class : null), (Config.L2JMOD_MULTILANG_ENABLE && Config.L2JMOD_MULTILANG_VOICED_ALLOW ? Lang.class : null), (Config.L2JMOD_DEBUG_VOICE_COMMAND ? Debug.class : null), (Config.L2JMOD_ALLOW_CHANGE_PASSWORD ? ChangePassword.class : null), (Config.L2JMOD_HELLBOUND_STATUS ? Hellbound.class : null), }, { Installed on Rev. Kingserver H5, 100% Functional Crédits: BossForever e My
  12. I would like to receive the item appears when an announcement about it at all?
  13. someone got the bug to accept the link here: VoteHtmlPatch = http://l2.hopzone.net ????
  14. no friend can not help me? nen if you know where the error is not possible to adapt is not for H5???
×
×
  • 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