Ir para conteúdo
  • Cadastre-se

Breninho

Membro
  • Total de itens

    113
  • Registro em

  • Última visita

1 Seguidor

Sobre Breninho

Informação do Perfil

  • Gênero
    Masculino

Método de Contato

  • Facebook:
    https://www.facebook.com/l2warpower
  • Site:
    http://unitedplay.com.br/

Breninho's Achievements

Aprendiz de Novato

Aprendiz de Novato (1/14)

1

Reputação

  1. Nome completo: Leandro Rezende Informações do servidor: Estou querendo voltar a trabalhar com servidor de Lineage, ainda estou a decidir o estilo do servidor, no caso isso será conversado com os integrantes da equipe pra chegar em um acordo, mas também não quero servidor tudo editado cheio de custom papagaiado, se tiver com essa ideia nem precisar postar. Tenho outro servidores de jogos e iriei apresentar tudo ao integrante. Cargos pretendidos e número de vagas: A combinar. Interesses e benefícios: Necessito de pessoas com conhecimento in-game, no caso conheça quase tudo como Quest's, Boss e etc. Preciso de experiência mesmo dentro do jogo,não precisa saber desenvolver, mas se tiver esses conhecimentos já é mais interessante. Os cargos e funções serão decididas de acordo com o conhecimento da pessoa e combinado . Equipe atual: Leandro Rezende Atenciosamente, Leandro Rezende - CFO UnitedPlay
  2. Boa noite, Se estiver ainda a procura de um sócio com experiência deixe seu contato inbox que entrarei em contato para reunirmos.
  3. Breninho

    Mod .buff v2

    Alguém tem esse mod para Frozen? Ou tem como ajudar a adapta-lo? Tente adaptar, mas não consegui. Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestBypassToServer.java =================================================================== --- java/net/sf/l2j/gameserver/network/clientpackets/RequestBypassToServer.java (revision 1) +++ java/net/sf/l2j/gameserver/network/clientpackets/RequestBypassToServer.java (working copy) @@ -20,18 +20,29 @@ import net.sf.l2j.gameserver.handler.IAdminCommandHandler; +import net.sf.l2j.gameserver.handler.voicedcommandhandlers.BuffCommand; +import net.sf.l2j.gameserver.datatables.SkillTable; @@ -89,10 +100,218 @@ else if (_command.startsWith("player_help ")) { playerHelp(activeChar, _command.substring(12)); } + // start voiced .buff command + else if (_command.startsWith("buffCommandFight")) + { + BuffCommand.getFullBuff(activeChar, false); + } + else if (_command.startsWith("buffCommandMage")) + { + BuffCommand.getFullBuff(activeChar, true); + } + else if (_command.startsWith("buffCommand") && BuffCommand.check(activeChar)) + { + String idBuff = _command.substring(12); + int parseIdBuff = Integer.parseInt(idBuff); + SkillTable.getInstance().getInfo(parseIdBuff, SkillTable.getInstance().getMaxLevel(parseIdBuff)).getEffects(activeChar, activeChar); + BuffCommand.showHtml(activeChar); + } + else if (_command.startsWith("cancelBuffs") && BuffCommand.check(activeChar)) + { + activeChar.stopAllEffectsExceptThoseThatLastThroughDeath(); + BuffCommand.showHtml(activeChar); + } + // end voiced .buff command Index: java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/BuffCommand.java =================================================================== --- java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/BuffCommand.java (revision 0) +++ java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/BuffCommand.java (working copy) @@ -0,0 +1,59 @@ +package net.sf.l2j.gameserver.handler.voicedcommandhandlers; + +import net.sf.l2j.Config; +import net.sf.l2j.gameserver.datatables.SkillTable; +import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; +import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; +import net.sf.l2j.gameserver.model.zone.ZoneId; +import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage; + +/** + * + * @author Bluur + * + */ +public class BuffCommand implements IVoicedCommandHandler +{ + private final String[] _voicedCommands = + { + "buff" + }; + + @Override + public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) + { + if (check(activeChar)) //retorna + showHtml(activeChar); + + return true; + } + + public static void getFullBuff(L2PcInstance p, boolean isClassMage) + { + if (check(p)) + { + if (isClassMage) + { + for (int b : Config.BUFF_COMMAND_MAGE_IDBUFFS) + SkillTable.getInstance().getInfo(b, SkillTable.getInstance().getMaxLevel(b)).getEffects(p, p); + } + else + { + for (int b : Config.BUFF_COMMAND_FIGHT_IDBUFFS) + SkillTable.getInstance().getInfo(b, SkillTable.getInstance().getMaxLevel(b)).getEffects(p, p); + } + p.sendMessage("[Buff Command]: Voce foi buffado!"); + } + } + + public static boolean check(L2PcInstance p) + { + return p.isInsideZone(ZoneId.PEACE) && !p.isInCombat() && !p.isInOlympiadMode(); //restrições + } + + public static void showHtml(L2PcInstance player) + { + NpcHtmlMessage html = new NpcHtmlMessage(0); + html.setFile("data/html/mods/buffCommand.htm"); + html.replace("%currentBuffs%", player.getBuffCount()); + html.replace("%getMaxBuffs%", player.getMaxBuffCount()); + player.sendPacket(html); + } + + @Override + public String[] getVoicedCommandList() + { + return _voicedCommands; + } +} \ No newline at end of file Index: java/net/sf/l2j/gameserver/handler/VoicedCommandHandler.java =================================================================== --- java/net/sf/l2j/gameserver/handler/VoicedCommandHandler.java (revision 0) +++ java/net/sf/l2j/gameserver/handler/VoicedCommandHandler.java (working copy) @@ -0,0 +1,94 @@ import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Online; +import net.sf.l2j.gameserver.handler.voicedcommandhandlers.BuffCommand; protected VoicedCommandHandler() { registerHandler(new Online()); + registerHandler(new BuffCommand()); Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 1) +++ java/net/sf/l2j/Config.java (working copy) @@ -484,6 +484,11 @@ public static boolean STORE_SKILL_COOLTIME; public static int BUFFS_MAX_AMOUNT; + /** Voiced buff command */ + public static String LIST_BUFF_COMMAND; + public static int[] BUFF_COMMAND_FIGHT_IDBUFFS; + public static int[] BUFF_COMMAND_MAGE_IDBUFFS; + STORE_SKILL_COOLTIME = players.getProperty("StoreSkillCooltime", true); + + LIST_BUFF_COMMAND = players.getProperty("buffCommandFightBuffsID", "123,456"); + + String[] buffCommand = LIST_BUFF_COMMAND.split(","); + BUFF_COMMAND_FIGHT_IDBUFFS = new int[buffCommand.length]; + for (int i = 0; i < buffCommand.length; i++) + BUFF_COMMAND_FIGHT_IDBUFFS[i] = Integer.parseInt(buffCommand[i]); + + LIST_BUFF_COMMAND = players.getProperty("buffCommandMageBuffsID", "789,1011112"); + + buffCommand = LIST_BUFF_COMMAND.split(","); + BUFF_COMMAND_MAGE_IDBUFFS = new int[buffCommand.length]; + for (int i = 0; i < buffCommand.length; i++) + BUFF_COMMAND_MAGE_IDBUFFS[i] = Integer.parseInt(buffCommand[i]); Index: config/players.properties =================================================================== --- config/players.properties (revision 1) +++ config/players.properties (working copy) @@ -288,4 +288,14 @@ StoreSkillCooltime = True + +#============================================================= +# Voiced .buff Command by Bluur +#============================================================= + +# List of ID buffs - FIGHT - +buffCommandFightBuffsID = 1204,1040,1035,1045,1062,1048,1036,1303,1085,1059,1078,264,267,268,304,349,273,276,365,1363 + +# List of ID buffs - MAGE - +buffCommandMageBuffsID = 1204,1068,1040,1035,1036,1045,1086,1077,1240,1242,264,267,268,269,304,364,271,274,275,1363 <html><title>buff Command by Bluur</title><body><center> <br> Slots de Buffs: <font color=LEVEL>%currentBuffs%</font> / %getMaxBuffs% <br> <table width=280> <tr> <td align=center><a action="bypass -h buffCommand 1040">Shield</a></td> <td align=center><a action="bypass -h buffCommand 1062">Berserker</a></td> <td align=center><a action="bypass -h buffCommand 271">Warrior</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1068">Might</a></td> <td align=center><a action="bypass -h buffCommand 269">Hunter</a></td> <td align=center><a action="bypass -h buffCommand 272">Inspiration</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1035">Mental Shield</a></td> <td align=center><a action="bypass -h buffCommand 304">Vitality</a></td> <td align=center><a action="bypass -h buffCommand 1355">P Of Water</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1077">Focus</a></td> <td align=center><a action="bypass -h buffCommand 268">Wind</a></td> <td align=center><a action="bypass -h buffCommand 1356">P Of Fire</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1078">Concentration</a></td> <td align=center><a action="bypass -h buffCommand 265">Life</a></td> <td align=center><a action="bypass -h buffCommand 1357">P Of Wind</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1085">Acumen</a></td> <td align=center><a action="bypass -h buffCommand 363">Meditation</a></td> <td align=center><a action="bypass -h buffCommand 1363">C Of Victory</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1036">Magic Barrier</a></td> <td align=center><a action="bypass -h buffCommand 267">Warding</a></td> <td align=center><a action="bypass -h buffCommand 1413">C Of Magnus'</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1045">Blessed Body</a></td> <td align=center><a action="bypass -h buffCommand 270">Invocation</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1048">Blessed Soul</a></td> <td align=center><a action="bypass -h buffCommand 266">Water</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1086">Haste</a></td> <td align=center><a action="bypass -h buffCommand 264">Earth</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1204">Wind Walk</a></td> <td align=center><a action="bypass -h buffCommand 277">Light</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1240">Guidance</a></td> <td align=center><a action="bypass -h buffCommand 275">Fury</a></td> <td align=center><a action="bypass -h cancelBuffs"><font color=LEVEL>Cancel Buffs</font></a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1303">Wild Magic</a></td> <td align=center><a action="bypass -h buffCommand 274">Fire</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1059">Empower</a></td> <td align=center><a action="bypass -h buffCommand 273">Mystic</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1087">Agility</a></td> <td align=center><a action="bypass -h buffCommand 276">D Concentration</a></td> </tr> <tr> <td align=center><a action="bypass -h buffCommand 1268">Vampiric Rage</a></td> <td align=center><a action="bypass -h buffCommand 365">Siren's</a></td> </tr> <tr> <tr><td align=center><a action="bypass -h buffCommand 1242">Dead Whisper</a></td> </tr> </table> <br> <center> <table width=260> <tr> <td align=center><img src=icon.skill0214 width=32 height=32></td> <td align=center><img src=icon.skill0430 width=32 height=32></td> </tr> <tr> <td align=center><a action="bypass -h buffCommandMage"><font color=3399CC>Mage Buff</a></td> <td align=center><a action="bypass -h buffCommandFight">Fight Buff</font></a></td> </tr> </table> <br> <font color=3399CC>Team</font> L2jFanatic<br1> <font color=LEVEL>www.L2jBrasil.com</font> </center> </body></html>
  4. Segue o link para download aí [Hidden Content]
  5. Breninho

    Mod .buff

    Boa noite galera, Alguém tem o mod .buff para frozen? Igual esse de aCis : [Hidden Content]
  6. Breninho

    Erro .buff

    Eu também estou com o memso problema, alguém tem o mod pronto? Ou sabe como resolver esse erro?
  7. Estou com erro, crio login e senha e toda vez que relogo da o erro e tem que criar login e senha novamente
  8. Mas no caso está faltando muita coisa ou dar pra pegar o projeto atual com essas atualizações e tentar alguma coisa? No caso tentar programar em cima dela e levar pra frente para um servidor?
  9. Pode considerar a aCis melhor que a Frozen?
  10. Breninho

    Ban IP

    Boa noite, Gostaria de saber onde fica a classe no Java da source da Frozen que é responsável por "gerenciar" os ip's banidos pelo banned_ip.cfg. Grato desde já!
  11. Boa tarde galera, Estou com um problema com GameServer e não estou conseguindo resolver, alguém sabe o que pode ser?
  12. Boa noite galera, No console está dando o erro de chave expirada ou incorreta, eu creio que já conferi tudo. Alguém aí já teve esse problema e conseguiu resolver? Erro: E quando consegui carregar apenas uma vez tudo local não carregou tudo. Tem algum problema se não carregar tudo? Exemplo: ProtectSystem: Protection task...initialized ProtectSystem: Restriction manager...initialized"
  13. Breninho

    VIP Chat Trade

    Boa noite galera, Alguém tem o MOD para só o VIP falar no Chat trade? Grato desde já!
  14. O que me parece é que está faltando, estou querendo saber o que criar nessa classe? Talvez alguém já tenha pronto já ajuda.
  15. Estou tendo problema com esse LameGuard, já adicione o lameguard-1.9.5.jar na pasta lib, mas creio que isso seja um problema de alguma classe que está faltando pra criar. Alguém pode me ajudar?
×
×
  • 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.