Jump to content

Wesley Oliveira

Membro
  • Content Count

    88
  • Joined

  • Last visited

Community Reputation

3 Normal

1 Follower

About Wesley Oliveira

  • Rank
    Muito Noob

Recent Profile Visitors

812 profile views
  1. kkkkkkkkkkk fala não mas obrigado pela ajuda
  2. o mano valeu , eu que o ID eu tenho , mas achei que alguem ai tinha na revi a mutisell ai eu so colocava no GM shop vou ter que adicionar um a um mesmo
  3. galera bom dia alguem ae tem a multsell dos itens no grade e grade d por favor
  4. amigo voce tem essa mod pra nos ? L2jFrozen 1118
  5. esse e top tem para l2jfrozen 1118?
  6. olha os erros https://imgur.com/a/NbQbWhr
  7. o amigo site top, so que tive um problema quando eu coloquei online, na parte inicial do site aparece uns erro, e na de criar conta e troca senha me da uma ajuda ai
  8. 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);
  9. 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);
  10. consegui mas voce conhece um pouco de java ?
×
×
  • Create New...