Ir para conteúdo
  • Cadastre-se

tutucaleandro

Membro
  • Total de itens

    131
  • Registro em

  • Última visita

  • Prêmios recebidos

    1

tutucaleandro last won the day on Junho 24 2016

tutucaleandro had the most liked content!

2 Seguidores

Sobre tutucaleandro

  • Data de Nascimento 07/01/1990

Informação do Perfil

  • Gênero
    Masculino

Método de Contato

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

Últimos Visitantes

3037 visualizações

display_name_history

tutucaleandro's Achievements

Aprendiz de Novato

Aprendiz de Novato (1/14)

23

Reputação

  1. tem como cologa a barra de skill e alto farm os 2 ao mesmo tempo
  2. tutucaleandro

    Criando um Loading

    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"
  3. isso pega no server q tem sguard? protection
  4. Criando Repositório no Bitbucket alquem posta um tutorial ai
  5. como crio um link e atualizo pro meu link quero cria um suvesion pode se pero [Hidden Content] qualquer um
  6. Fiz o Checkout apareceu a pasta L2jFrozenInterlude .svn datapack gameserver revision 1118
  7. 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
  8. 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
  9. add vote reward o auto reward um npc pra vota o .getreward
  10. tutucaleandro

    SVN

    como configura o asseblea alquem tem tutorial [Hidden Content] [email protected]:l2jkill/L2jKill.2.git [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] [Hidden Content] svn+ssh://subversion.assembla.com/ [Hidden Content]
  11. ja viz isso [Hidden Content] essa 1117 ta como a ultima revisao
  12. 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 [Hidden Content] ### 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>
×
×
  • 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.