osvaldotl2015

Members
  • Content Count

    13
  • Joined

  • Last visited

  • Feedback

    0%

Community Reputation

0 Neutral

About osvaldotl2015

  • Rank
    Vassal

Profile Information

  • Gender
    Male
  • Country
    Peru

Recent Profile Visitors

501 profile views
  1. I made a post on http://www.maxcheaters.com/forum/42-server-shares-files-l2j/ and now I find that they have deleted it I do not find my post please tell me if they have moved or deleted it -_- I think they are being selfish to erase a contribution without at least say why it has been moved or erased if it is out of envy I want you to know that YOU ARE LOST and if you are upset that people contribute better close the forum and dedicate to selling goodies
  2. This fix is to select an item for L2CasinoInstance comfortable in my case is the last rev l2jfrozen dp have 2 int 1= int am-beep-t = 0; 2= private int _am-beep-t; fix Rename ints 1= int ambeept = 0 2= private int ambeept1; and change name to alls values Now other Fix Add the import in L2CasinoInstance + import com.l2jfrozen.Config; import com.l2jfrozen.gameserver.ai.CtrlIntention; import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; then if (this._player.getInventory().getInventoryItemCount(11001, 0) >= this.ammount ) this._player.destroyItemByItemId("Consume", 11001, this.ammount, this._player, true); this._player.destroyItemByItemId("Consume", 11001, this.ammount, this._player, true); 11001 to (config.CASINO_ITEM) go to ============================================================================================================================ Config.java ============================================================================================================================ + //========================================================================================================= + public static int CASINO_ITEM; + //========================================================================================================= + //==================================================================================================================== + CASINO_ITEM = Integer.parseInt(L2JFrozenSettings.getProperty("CasinoItem", "360")); + //==================================================================================================================== go to dp ============================================================================================================================ gameserver\config\functions ============================================================================================================================ add this to end of the file l2jfrozen.properties #================================================================================================================== # CASINO # #================================================================================================================== # Casino Item need for Partticipate In Casino Manager # default = 57 CasinoItem = 57 /no new line Regards 8)
  3. Basic but it works right? thanks and if you want to improve the code you are in libertade to do
  4. DP: L2jfrozen Revision: 1118 ========================= Config.java ========================= public static boolean ANNOUNCE_CASTLE_LORDS; + //Announces-PK-Dagger + public static boolean ANNOUNCE_PK_LOGIN; + //Announces-RANK-Dagger + public static boolean ANNOUNCE_PKPBEST_LOGIN; + public static boolean ANNOUNCE_PVPBEST_LOGIN; + public static boolean ANNOUNCE_PKMASTER_LOGIN; + public static boolean ANNOUNCE_PVPMASTER_LOGIN; + public static boolean ANNOUNCE_PKKING_LOGIN; + public static boolean ANNOUNCE_PVPKING_LOGIN; + public static boolean ANNOUNCE_PKGOD_LOGIN; + public static boolean ANNOUNCE_PVPKGOD_LOGIN; + //Announces-RANK-Dagger ANNOUNCE_CASTLE_LORDS = Boolean.parseBoolean(otherSettings.getProperty("AnnounceCastleLords", "False")); + //Announces-RANK-Dagger + ANNOUNCE_PK_LOGIN = Boolean.parseBoolean(otherSettings.getProperty("AnnouncePkLogin", "False")); + ANNOUNCE_PKPBEST_LOGIN = Boolean.parseBoolean(otherSettings.getProperty("AnnouncePkBestLogin", "False")); + ANNOUNCE_PVPBEST_LOGIN = Boolean.parseBoolean(otherSettings.getProperty("AnnouncePvpBestLogin", "False")); + ANNOUNCE_PKMASTER_LOGIN = Boolean.parseBoolean(otherSettings.getProperty("AnnouncePkMasterLogin", "False")); + ANNOUNCE_PVPMASTER_LOGIN = Boolean.parseBoolean(otherSettings.getProperty("AnnouncePvpMasterLogin", "False")); + ANNOUNCE_PKKING_LOGIN = Boolean.parseBoolean(otherSettings.getProperty("AnnouncePkKingLogin", "False")); + ANNOUNCE_PVPKING_LOGIN = Boolean.parseBoolean(otherSettings.getProperty("AnnouncePvpKingLogin", "False")); + ANNOUNCE_PKGOD_LOGIN = Boolean.parseBoolean(otherSettings.getProperty("AnnouncePkGodLogin", "False")); + ANNOUNCE_PVPGOD_LOGIN = Boolean.parseBoolean(otherSettings.getProperty("AnnouncePvpGodLogin", "False")); + //Announces-RANK-Dagger ========================= EnterWorld.java ========================= if (Config.ANNOUNCE_CASTLE_LORDS) notifyCastleOwner(activeChar); + //Announces-PK-Dagger + if (Config.ANNOUNCE_PK_LOGIN && activeChar.getKarma()>0) + { + Announcements.getInstance().gameAnnounceToAll(":Anuncios: El PK "+activeChar.getName()+" Acaba De Loguear!"); + } + //Announces-RANK-PK-PVP-Dagger + if (Config.ANNOUNCE_PKPBEST_LOGIN && activeChar.getPkKills()>199) + if (Config.ANNOUNCE_PKPBEST_LOGIN && activeChar.getPkKills()<201) + { + Announcements.getInstance().gameAnnounceToAll(":Anuncios: The Best 200 PK-KILLS "+activeChar.getName()+" Acaba De Loguear!"); + activeChar.sendMessage(":Anuncios: Ahora eres The Best PK-KILLS a los 400 PKs Evolucionas !!! A The Master PKs"); + } + + if (Config.ANNOUNCE_PVPBEST_LOGIN && activeChar.getPvpKills()>199) + if (Config.ANNOUNCE_PVPBEST_LOGIN && activeChar.getPvpKills()<201) + { + Announcements.getInstance().gameAnnounceToAll(":Anuncios: The Best 200 PVP-KILLS "+activeChar.getName()+" Acaba De Loguear!"); + activeChar.sendMessage(":Anuncios: Ahora eres The Best PVP-KILLS a los 400 PVPs Evolucionas !!! A The Master PvPs"); + } + + if (Config.ANNOUNCE_PKMASTER_LOGIN && activeChar.getPkKills()>399) + if (Config.ANNOUNCE_PKMASTER_LOGIN && activeChar.getPkKills()<401) + { + Announcements.getInstance().gameAnnounceToAll(":Anuncios: The Master 400 PK-KILLS "+activeChar.getName()+" Acaba De Loguear!"); + activeChar.sendMessage(":Anuncios: Ahora eres The Master PK-KILLS a los 800 PKs Evolucionas !!! A The King Off PKs"); + } + if (Config.ANNOUNCE_PVPMASTER_LOGIN && activeChar.getPvpKills()>399) + if (Config.ANNOUNCE_PVPMASTER_LOGIN && activeChar.getPvpKills()<401) + { + Announcements.getInstance().gameAnnounceToAll(":Anuncios: The Best 400 PVP-KILLS "+activeChar.getName()+" Acaba De Loguear!"); + activeChar.sendMessage(":Anuncios: Ahora eres The Master PVP-Kills a los 800 PVPs Evolucionas !!! A The King Off PvPs"); + } + + if (Config.ANNOUNCE_PKKING_LOGIN && activeChar.getPkKills()>799) + if (Config.ANNOUNCE_PKKING_LOGIN && activeChar.getPkKills()<801) + { + Announcements.getInstance().gameAnnounceToAll(":Anuncios: The King 800 PK-KILLS "+activeChar.getName()+" Acaba De Loguear!"); + activeChar.sendMessage(":Anuncios: A los 1000 PVPs Evolucionas !!! A The God Off PvPs"); + } + if (Config.ANNOUNCE_PVPKING_LOGIN && activeChar.getPvpKills()>799) + if (Config.ANNOUNCE_PVPKING_LOGIN && activeChar.getPvpKills()<801) + { + Announcements.getInstance().gameAnnounceToAll(":Anuncios: The King 800 PVP-KILLS "+activeChar.getName()+" Acaba De Loguear!"); + activeChar.sendMessage(":Anuncios: A los 1000 PVPs Evolucionas !!! A The God Off PvPs"); + } + + if (Config.ANNOUNCE_PKGOD_LOGIN && activeChar.getPkKills()>999) + if (Config.ANNOUNCE_PKGOD_LOGIN && activeChar.getPkKills()<1001) + { + Announcements.getInstance().gameAnnounceToAll(":Anuncios: The God 1000 PK-KILLS "+activeChar.getName()+" Acaba De Loguear!"); + activeChar.sendMessage(":Anuncios: Haz Alcanzado la cima del ranking sigue asi"); + } + if (Config.ANNOUNCE_PVPGOD_LOGIN && activeChar.getPvpKills()>999) + if (Config.ANNOUNCE_PVPGOD_LOGIN && activeChar.getPvpKills()<1001) + { + Announcements.getInstance().gameAnnounceToAll(":Anuncios: The God 1000 PVP-KILLS "+activeChar.getName()+" Acaba De Loguear!"); + activeChar.sendMessage(":Anuncios: Haz Alcanzado la cima del ranking sigue asi"); + } + //Announces-RANK-PK-PVP-Dagger if (Olympiad.getInstance().playerInStadia(activeChar)) { ========================= gameserver\config\head\other.properties ========================= # Announce castle lords on enter game. default = false AnnounceCastleLords = True +# +# Announce Pk login on enter game. default = false +AnnouncePkLogin = True +#//Announces-RANK-Dagger +AnnouncePkBestLogin = True +AnnouncePvpBestLogin = True +AnnouncePkMasterLogin = True +AnnouncePvpMasterLogin = True +AnnouncePkKingLogin = True +AnnouncePvpKingLogin = True +AnnouncePkGodLogin = True +AnnouncePvpGodLogin = True +#//Announces-RANK-Dagger +#
  5. =================================================================== com.l2jfrozen.gameserver.network.clientpackets.RequestEnchantItem =================================================================== //Go to if (activeChar.getActiveTradeList() != null) { activeChar.cancelActiveTrade(); activeChar.sendMessage("Your trade canceled"); return; } // Add tis // Fix enchant by Dagger if (activeChar.isInBoat()) { activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION)); activeChar.setActiveEnchantItem(null); return; } if (activeChar.isInCombat()) { activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION)); activeChar.setActiveEnchantItem(null); return; } if (activeChar.isInParty()) { activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION)); activeChar.setActiveEnchantItem(null); return; } if (activeChar.isAway()) { activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION)); activeChar.setActiveEnchantItem(null); return; } if(activeChar.isInCraftMode()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while Crafting"); return; } if(activeChar.isTeleporting()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while You Teleporting"); return; } if(activeChar.isDead()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while You Are Dead"); return; } if(activeChar.isSleeping()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while You Are In Sleep"); return; } if(activeChar.isParalyzed()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while You Are In Para"); return; } if(activeChar.isCastingNow()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while Casting"); return; } if(activeChar.isMoving()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while moving"); return; } if(activeChar.isProcessingTransaction()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while trading"); return; } if(activeChar.isStunned()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while stunned"); return; } if(activeChar.isMounted()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while mounted"); return; } if(activeChar.isFakeDeath()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while fake death"); return; } if(activeChar.isInJail()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while in jail"); return; } if(activeChar.isCursedWeaponEquiped()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while cursed weapon"); return; } if(activeChar.isFlying()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while flying"); return; } if(activeChar.isFishing()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while fishing"); return; } if(activeChar.isSitting()) { activeChar.setActiveEnchantItem(null); activeChar.sendMessage("Can't enchant while sitting"); return; } // Fix enchant by Dagger // Fix enchant transactions if (activeChar.isProcessingTransaction())
  6. //This code provides lvl 80 character =================================================================== Config.java (revision 0) =================================================================== + public static boolean ENABLE_CMD_UPLEVEL; + public static int UPLEVEL_ITEM_ID; + public static int UPLEVEL_ITEM_COUNT; public static String ALLOWED_SKILLS; public static String ALLOWED_SKILLS; public static FastList<Integer> ALLOWED_SKILLS_LIST = new FastList<>(); + ENABLE_CMD_UPLEVEL = Boolean.parseBoolean(L2JFrozenSettings.getProperty("EnableUpSystem", "True")); + UPLEVEL_ITEM_ID = Integer.parseInt(L2JFrozenSettings.getProperty("UpLevelItemID", "3481")); + UPLEVEL_ITEM_COUNT = Integer.parseInt(L2JFrozenSettings ALT_SERVER_NAME_ENABLED = Boolean.parseBoolean(L2JFrozenSettings.getProperty("ServerNameEnabled", "false")); ANNOUNCE_TO_ALL_SPAWN_RB = Boolean.parseBoolean(L2JFrozenSettings.getProperty("AnnounceToAllSpawnRb", "false")); =================================================================== gameserver/handler/VoicedCommandHandler.java =================================================================== import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.Voting; import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.Wedding; + import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.UpLevel; + if (Config.ENABLE_CMD_UPLEVEL) + registerVoicedCommandHandler(new UpLevel()); + if (Config.BANKING_SYSTEM_ENABLED) + { + registerVoicedCommandHandler(new BankingCmd()); + } if (Config.CTF_COMMAND) { registerVoicedCommandHandler(new CTFCmd()); } =================================================================== gameserver/handler/voicedcommandhandlers/UpLevel.java (revision 0) =================================================================== package com.l2jfrozen.gameserver.handler.voicedcommandhandlers; import java.text.SimpleDateFormat; import com.l2jfrozen.Config; import com.l2jfrozen.gameserver.handler.IVoicedCommandHandler; import com.l2jfrozen.gameserver.model.PcInventory; import com.l2jfrozen.gameserver.model.L2World; import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance; import com.l2jfrozen.gameserver.network.serverpackets.ActionFailed; import com.l2jfrozen.gameserver.network.serverpackets.SocialAction; /* * Edited By Dagger */ public class UpLevel implements IVoicedCommandHandler { private static final String[] VOICED_COMMANDS = {"up"}; public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (command.equalsIgnoreCase("up")) { if(activeChar.getInventory().getItemByItemId(Config.UPLEVEL_ITEM_ID) != null && activeChar.getInventory().getItemByItemId(Config.HERO_ITEM_ID).getCount() >= Config.UPLEVEL_ITEM_COUNT) { activeChar.getInventory().destroyItemByItemId("GoldDragon", Config.UPLEVEL_ITEM_ID, Config.UPLEVEL_ITEM_COUNT, activeChar, activeChar.getTarget()); activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 16)); activeChar.getStat().addExp(activeChar.getStat().getExpForLevel(81)); activeChar.sendMessage("Felicidades : "+activeChar.getName()+" Ha Ganado LvL 80 usando el comando .up ! ."); activeChar.broadcastUserInfo(); } else { activeChar.sendMessage("No tienes el item necesario para usar este comando !!! "); return true; } } return false; } public String[] getVoicedCommandList() { return VOICED_COMMANDS; } } //No dejar nueva linea =================================================================== gameserver.config.functions.l2jfrozen.properties =================================================================== # Npc Protector Message ProtectorMessage = Hey Tu ! aqui no se puede matar !!! +# +#Comando .up ( Enable = True | Disable = False ) +#Subir de nivel 80 al personaje +EnableUpSystem = True +UpLevelItemID = 3481 +UpLevelItemCount = 1 //No dejar nueva linea