Ir para conteúdo
  • Cadastre-se

Classificação de Membros

Popular Content

Showing content with the highest reputation on 10/21/18 em todas as áreas

  1. voce tem que entrar no eclipse pra poder arrumar isso @Czekay eu so adicionei essas correção que estão com +++ --- F:/Workspace/L2jFrozen_GameServer/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (revision 899) +++ F:/Workspace/L2jFrozen_GameServer/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (working copy) todos que tiver .announceToAll você substitui por .announceToPlayers + Announcements.getInstance().announceToPlayers("Player " + getName() + " hunted " + target.getName()); - Announcements.getInstance().announceToAll("Player " + getName() + " hunted Player " + target.getName()); + Announcements.getInstance().announceToPlayers("Player " + getName() + " hunted " + target.getName()); =================================================================== --- F:/Workspace/L2jFrozen_GameServer/head-src/com/l2jfrozen/gameserver/model/entity/Announcements.java (revision 899) +++ F:/Workspace/L2jFrozen_GameServer/head-src/com/l2jfrozen/gameserver/model/entity/Announcements.java (working copy) @@ -257,26 +257,29 @@ cs = null; } public void announceToAll(final SystemMessage sm) { for (final L2PcInstance player : L2World.getInstance().getAllPlayers()) { player.sendPacket(sm); } } + + public void announceToPlayers(String message) + { + for (L2PcInstance player : L2World.getInstance().getAllPlayers()) + { + player.sendMessage(message); + } + } + // Method fo handling announcements from admin public void handleAnnounce(String command, int lengthToTrim) { Index: F:/Workspace/L2jFrozen_GameServer/head-src/com/l2jfrozen/Config.java =================================================================== --- F:/Workspace/L2jFrozen_GameServer/head-src/com/l2jfrozen/Config.java (revision 899) +++ F:/Workspace/L2jFrozen_GameServer/head-src/com/l2jfrozen/Config.java (working copy) @@ -2531,7 +2547,6 @@ /** Announce PvP, PK, Kill*/ public static boolean ANNOUNCE_PVP_KILL; public static boolean ANNOUNCE_PK_KILL; - public static boolean ANNOUNCE_ALL_KILL; public static int DUEL_SPAWN_X; public static int DUEL_SPAWN_Y; @@ -2649,8 +2686,7 @@ ALLOW_POTS_IN_PVP = Boolean.parseBoolean(pvpSettings.getProperty("AllowPotsInPvP", "True")); /** Enable Pk Info mod. Displays number of times player has killed other */ ENABLE_PK_INFO = Boolean.valueOf(pvpSettings.getProperty("EnablePkInfo", "false")); - // Get the AnnounceAllKill, AnnouncePvpKill and AnnouncePkKill values - ANNOUNCE_ALL_KILL = Boolean.parseBoolean(pvpSettings.getProperty("AnnounceAllKill", "False")); + // Get the AnnouncePvpKill and AnnouncePkKill values ANNOUNCE_PVP_KILL = Boolean.parseBoolean(pvpSettings.getProperty("AnnouncePvPKill", "False")); ANNOUNCE_PK_KILL = Boolean.parseBoolean(pvpSettings.getProperty("AnnouncePkKill", "False")); @@ -5297,18 +5333,14 @@ { STARTING_AA = Integer.parseInt(pValue); } - else if(pName.equalsIgnoreCase("AnnouncePvPKill") && !ANNOUNCE_ALL_KILL) <<<< essa parte aqui eu apaguei o && !ANNOUNCE_ALL_KILL) + else if(pName.equalsIgnoreCase("AnnouncePvPKill")) <<<<<<< e ficou assim { ANNOUNCE_PVP_KILL = Boolean.valueOf(pValue); } - else if(pName.equalsIgnoreCase("AnnouncePkKill") && !ANNOUNCE_ALL_KILL) <<<< essa parte aqui eu apaguei o && !ANNOUNCE_ALL_KILL) + else if(pName.equalsIgnoreCase("AnnouncePkKill")) <<<<<<< e ficou assim { ANNOUNCE_PK_KILL = Boolean.valueOf(pValue); } - else if(pName.equalsIgnoreCase("AnnounceAllKill") && !ANNOUNCE_PVP_KILL && !ANNOUNCE_PK_KILL) - { - ANNOUNCE_ALL_KILL = Boolean.valueOf(pValue); - } else if(pName.equalsIgnoreCase("DisableWeightPenalty")) { DISABLE_WEIGHT_PENALTY = Boolean.valueOf(pValue);
    1 point
  2. no caso vc tem que saber mexer no java segue o caminho da linha 435 ate 438 se nao estiver aee esta em outra linha aperte control F e procura provavelmente esteja assim criptografado a que esta com a cor vermelha no caso vc apaga e coloca o nome que vc quer java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java activeChar.sendMessage(getText("VGhpcyBTZXJ2ZXIgdXNlcyBMMkosIGEgUHJvamVjdCBmb3VuZGVkIGJ5IEwyQ2hlZg==")); activeChar.sendMessage(getText("YW5kIGRldmVsb3BlZCBieSBMMkogVGVhbSBhdCB3d3cubDJqc2VydmVyLmNvbQ==")); activeChar.sendMessage(getText("Q29weXJpZ2h0IDIwMDQtMjAxNQ==")); activeChar.sendMessage(getText("VGhhbmsgeW91IGZvciAxMSB5ZWFycyE=")); activeChar.sendMessage(getText("Bem Vindo Ao Lineage2")); activeChar.sendMessage(getText("Servidor 50x")); activeChar.sendMessage(getText("etc....")); activeChar.sendMessage(getText("etc...."));
    1 point
  3. Arrumei esse Gatekeeper aqui de um servidor Gracia Final, bom uso. :excl: Prints :excl: Download Click aqui :excl: Créditos Souger123 BossForever Se gostou não esqueça de curtir :biggrin:
    0 points
  4. Opa Galera Ta ai pra quem tiver precisando a gk e bem simples. Bom Proveito. Adicionado novas area freya e gracia Gk_Global Creditos: Maxymus
    0 points
×
×
  • Criar Novo...

Important Information

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.