Jump to content

tutucaleandro

Membro
  • Content Count

    131
  • Joined

  • Last visited

  • Days Won

    1

tutucaleandro last won the day on June 24 2016

tutucaleandro had the most liked content!

Community Reputation

22 Normal

7 Followers

About tutucaleandro

  • Rank
    Muito Noob
  • Birthday 07/01/1990

Profile Information

  • Gênero:
    Masculino

Contact Methods

  • Site:
    http://La2leader.orgfree.com

Recent Profile Visitors

2,273 profile views
  1. Loading L2Font-e.utx Download: Link: L2Font-e.utx Video Tutorial: O que voce tem que usa pra pode edit Download: Utilitarios Precisa se exatamenti esse nao pode se qualquer um Photoshop CS5 Criado por mim "Leandro"
  2. isso pega no server q tem sguard? protection
  3. Criando Repositório no Bitbucket alquem posta um tutorial ai
  4. como crio um link e atualizo pro meu link quero cria um suvesion pode se pero https://github.com qualquer um
  5. Fiz o Checkout apareceu a pasta L2jFrozenInterlude .svn datapack gameserver revision 1118
  6. Alquem ajuda ai eu editei pero photoshop depois abri pero unreal e salvei utx depois Encrypt.Bat enc-l2font-e.utx renomei para l2font-e.utx colei na systextures error Error
  7. como arumaa o erro no highfive ao compra algo no alt + B no shop pode se qqualquer coissa ta error ja estalei HighFive normala HighFive H5 Freya Etc alquem ajuda ja Abaxei 5 versao ja ao ta Ok aparece o Error Error
  8. add vote reward o auto reward um npc pra vota o .getreward
  9. tutucaleandro

    SVN

    como configura o asseblea alquem tem tutorial https://l2jkill.assembla.com/spaces/L2jKill/git-2/source [email protected]:l2jkill/L2jKill.2.git https://git.assembla.com/l2jkill/L2jKill.2.git https://l2jkill.assembla.com/spaces/server/summary https://l2jkill.assembla.com/spaces/server/git/source https://l2jkill.assembla.com/spaces/L2jKill/git-3/source https://l2jkill.assembla.com/spaces/L2jKill/git-2/source https://l2jkill.assembla.com/spaces/L2jKill/subversion/source https://l2jkill.assembla.com/spaces/L2jKill/git/source https://subversion.assembla.com/svn/l2jkill^server/ svn+ssh://subversion.assembla.com/ https://subversion.assembla.com/svn/l2jkill^server.2/
  10. ja viz isso https://prnt.sc/n154rp essa 1117 ta como a ultima revisao
  11. como criar um repository gratuito o meu n parece a revisao 1118 nao encontro o TortoiseSVN nao consigo add um repository VoicedCommandHandler.java pra pode add o head-src/com/l2jfrozen/gameserver/handler/VoicedCommandHandler.java fala revision 1118 no meu so vai ate o 1117 https://i.imgur.com/0JLSSKk.png ### Eclipse Workspace Patch 1.0 #P GameServer Index: head-src/com/l2jfrozen/gameserver/handler/VoicedCommandHandler.java =================================================================== --- head-src/com/l2jfrozen/gameserver/handler/VoicedCommandHandler.java (revision 1118) +++ head-src/com/l2jfrozen/gameserver/handler/VoicedCommandHandler.java (working copy) @@ -31,10 +31,13 @@ import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.AwayCmd; import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.BankingCmd; import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.CTFCmd; +import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.CastleManagersVCmd; import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.DMCmd; import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.FarmPvpCmd; +import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.Menu; import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.OfflineShop; import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.Online; +import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.Raid; import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.StatsCmd; import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.TvTCmd; import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.VersionCmd; @@ -121,6 +124,10 @@ registerVoicedCommandHandler(new OfflineShop()); } + registerVoicedCommandHandler(new Raid()); + registerVoicedCommandHandler(new CastleManagersVCmd()); + registerVoicedCommandHandler(new Menu()); + LOGGER.info("VoicedCommandHandler: Loaded " + _datatable.size() + " handlers."); } Index: head-src/com/l2jfrozen/gameserver/model/actor/stat/PcStat.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/actor/stat/PcStat.java (revision 1118) +++ head-src/com/l2jfrozen/gameserver/model/actor/stat/PcStat.java (working copy) @@ -60,7 +60,10 @@ // Player is Gm and access level is below or equal to canGainExp and is in party, don't give Xp if (!getActiveChar().getAccessLevel().canGainExp() && getActiveChar().isInParty()) return false; - + + if (activeChar.cantGainXP()) + return false; + if (!super.addExp(value)) return false; @@ -105,7 +108,10 @@ L2PcInstance activeChar = getActiveChar(); if (!activeChar.getAccessLevel().canGainExp() && activeChar.isInParty()) return false; - + + if (activeChar.cantGainXP()) + return false; + // if this player has a pet that takes from the owner's Exp, give the pet Exp now if (activeChar.getPet() instanceof L2PetInstance) Index: head-src/com/l2jfrozen/gameserver/handler/itemhandlers/BlessedSpiritShot.java =================================================================== --- head-src/com/l2jfrozen/gameserver/handler/itemhandlers/BlessedSpiritShot.java (revision 1118) +++ head-src/com/l2jfrozen/gameserver/handler/itemhandlers/BlessedSpiritShot.java (working copy) @@ -141,8 +141,9 @@ // Send message to client activeChar.sendPacket(new SystemMessage(SystemMessageId.ENABLED_SPIRITSHOT)); - Broadcast.toSelfAndKnownPlayersInRadius(activeChar, new MagicSkillUser(activeChar, activeChar, SKILL_IDS[weaponGrade], 1, 0, 0), 360000/* 600 */); - + if (!activeChar.isSSDisabled()) + Broadcast.toSelfAndKnownPlayersInRadius(activeChar, new MagicSkillUser(activeChar, activeChar, SKILL_IDS[weaponGrade], 1, 0, 0), 360000/*600*/); + activeChar = null; weaponInst = null; weaponItem = null; Index: head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestJoinParty.java =================================================================== --- head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestJoinParty.java (revision 1118) +++ head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestJoinParty.java (working copy) @@ -79,7 +79,13 @@ requestor.sendMessage("You can't invite that player in party: you or your target are in Event"); return; } - + + if (target.isPartyInvProt()) + { + requestor.sendMessage("You can't invite that player because he is in party protection."); + return; + } + if (target.isInParty()) { final SystemMessage msg = new SystemMessage(SystemMessageId.S1_IS_ALREADY_IN_PARTY); Index: head-src/com/l2jfrozen/gameserver/handler/voicedcommandhandlers/Raid.java =================================================================== --- head-src/com/l2jfrozen/gameserver/handler/voicedcommandhandlers/Raid.java (revision 0) +++ head-src/com/l2jfrozen/gameserver/handler/voicedcommandhandlers/Raid.java (working copy) @@ -0,0 +1,92 @@ +package com.l2jfrozen.gameserver.handler.voicedcommandhandlers; + +import javolution.text.TextBuilder; + +import org.apache.log4j.Logger; + +import com.l2jfrozen.Config; +import com.l2jfrozen.gameserver.datatables.sql.NpcTable; +import com.l2jfrozen.gameserver.handler.IVoicedCommandHandler; +import com.l2jfrozen.gameserver.managers.GrandBossManager; +import com.l2jfrozen.gameserver.managers.RaidBossSpawnManager; +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; +import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; +import com.l2jfrozen.gameserver.powerpak.RaidInfo.RaidInfoHandler; +import com.l2jfrozen.gameserver.templates.L2NpcTemplate; +import com.l2jfrozen.gameserver.templates.StatsSet; + +public class Raid implements IVoicedCommandHandler +{ + private static Logger LOGGER = Logger.getLogger(RaidInfoHandler.class); + private static final String[] _voicedCommands = + { + "Raids" + }; + + @Override + public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) + { + TextBuilder tb = new TextBuilder(); + NpcHtmlMessage msg = new NpcHtmlMessage(5); + tb.append("<html><title>Grand Boss</title><body><br><center>"); + tb.append("<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><br>"); + + for (final int boss : Config.RAID_INFO_IDS_LIST) + { + String name = ""; + L2NpcTemplate template = null; + if ((template = NpcTable.getInstance().getTemplate(boss)) != null) + { + name = template.getName(); + } + else + { + LOGGER.warn("[RaidInfoHandler][sendInfo] Raid Boss with ID " + boss + " is not defined into NpcTable"); + continue; + } + + StatsSet actual_boss_stat = null; + GrandBossManager.getInstance().getStatsSet(boss); + long delay = 0; + + if (NpcTable.getInstance().getTemplate(boss).type.equals("L2RaidBoss")) + { + actual_boss_stat = RaidBossSpawnManager.getInstance().getStatsSet(boss); + if (actual_boss_stat != null) + delay = actual_boss_stat.getLong("respawnTime"); + } + else if (NpcTable.getInstance().getTemplate(boss).type.equals("L2GrandBoss")) + { + actual_boss_stat = GrandBossManager.getInstance().getStatsSet(boss); + if (actual_boss_stat != null) + delay = actual_boss_stat.getLong("respawn_time"); + } + else + continue; + + if (delay <= System.currentTimeMillis()) + { + tb.append("<font color=\"00C3FF\">" + name + "</color>: " + "<font color=\"9CC300\">Is Alive</color>" + "<br1>"); + } + else + { + final int hours = (int) ((delay - System.currentTimeMillis()) / 1000 / 60 / 60); + final int mins = (int) (((delay - (hours * 60 * 60 * 1000)) - System.currentTimeMillis()) / 1000 / 60); + final int seconts = (int) (((delay - ((hours * 60 * 60 * 1000) + (mins * 60 * 1000))) - System.currentTimeMillis()) / 1000); + tb.append("<font color=\"00C3FF\">" + name + "</color>" + "<font color=\"FFFFFF\">" + " " + "Respawn in :</color>" + " " + " <font color=\"32C332\">" + hours + " : " + mins + " : " + seconts + "</color><br1>"); + } + } + + tb.append("<br><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"); + tb.append("</center></body></html>
  12. tutucaleandro

    UpdateChecker

    Link: Download
×
×
  • Create New...