Ir para conteúdo
  • Cadastre-se

-= JRGames =-

Sup. Membro
  • Total de itens

    508
  • Registro em

  • Última visita

  • Prêmios recebidos

    7

Tudo que -= JRGames =- postou

  1. na acis tem estes block que esta procurando segue exemplo: <item id="9999" type="EtcItem" name="Mystery Box"> <set name="icon" val="icon.etc_mechanic_box_i00" /> <set name="material" val="PAPER" /> <set name="is_tradable" val="false" /> --> Bloqueia o Trade <set name="is_dropable" val="false" /> --> Bloqueia o Drop <set name="is_sellable" val="false" /> --> Bloqueia a Venda <set name="is_depositable" val="false" /> --> Bloqueia o deposito <set name="is_stackable" val="true" /> <set name="is_oly_restricted" val="true" /> --> Bloqueia o uso nas olly <set name="handler" val="LuckBox" /> </item>
  2. Olá amigos fiz essas tattoos para o meu servidor a algum tempo hoje eu resolvi remover elas e posta para galera. NewTattos Lv1 ao 5
  3. muito show cara parabéns obrigado pelo compartilhamento.
  4. posta cara muita gente usa essa revião e como estão fazendo as coisas em off pelo jeito não irão postar então as suas Att. Podera ajudar alguem.
  5. -= JRGames =-

    raidinfo

    alguma alma bondosa poderia da uma ajuda neste mod Raidinfo peguei da jmega ele não esta atualizando o status quando o boss morre so apos da RR no servidor . package net.sf.l2j.gameserver.handler.voicedcommandhandlers; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Iterator; import java.util.logging.Logger; import net.sf.l2j.commons.util.StatsSet; import net.sf.l2j.Config; import net.sf.l2j.gameserver.data.manager.GrandBossManager; import net.sf.l2j.gameserver.data.manager.RaidBossInfoManager; import net.sf.l2j.gameserver.data.xml.NpcData; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; import net.sf.l2j.gameserver.model.actor.Player; import net.sf.l2j.gameserver.model.actor.template.NpcTemplate; import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage; public class VoicedRaidInfo implements IVoicedCommandHandler { private static Logger _log = Logger.getLogger(VoicedRaidInfo.class.getName()); private static final String[] VOICED_COMMANDS = { "raidinfo" }; @Override public void useVoicedCommand(String command, Player activeChar, String target) { if (command.startsWith("raidinfo")) { showInfoPage(activeChar); } return; } private static void showInfoPage(Player activeChar) { StringBuilder tb = new StringBuilder(); tb.append("<html><title>Boss Info</title><body>"); tb.append("<img src=\"L2UI.SquareGray\" width=300 height=1>"); tb.append("<table width=\"300\" bgcolor=\"000000\">"); tb.append("<tr>"); tb.append("<td><center>SVR Data: <font color=\"ff4d4d\">" + (new SimpleDateFormat("dd/MM/yyyy")).format(new Date(System.currentTimeMillis())) + "</font></center></td>"); tb.append("<td><center></center></td>"); tb.append("<td><center>SVR Time: <font color=\"ff4d4d\">" + (new SimpleDateFormat("HH:mm:ss")).format(new Date(System.currentTimeMillis())) + "</font></center></td>"); tb.append("</tr>"); tb.append("</table>"); tb.append("<center><img src=\"L2UI.SquareGray\" width=300 height=1></center>"); tb.append("<center><table width=\"260\">"); for (Iterator<Integer> i$ = Config.RAID_INFO_IDS_LIST.iterator(); i$.hasNext();) { int boss = i$.next().intValue(); String name = ""; NpcTemplate template = null; if ((template = NpcData.getInstance().getTemplate(boss)) != null) { name = template.getName(); if (name.length() > 18) name = name.substring(0, 18) + "..."; } else { _log.warning("Raid Info: Raid Boss with ID " + boss + " is not defined into NpcXml"); continue; } long delay = 0L; String type = null; if (NpcData.getInstance().getTemplate(boss).isType("RaidBoss")) { delay = RaidBossInfoManager.getInstance().getRaidBossRespawnTime(boss); type = "RaidBoss"; } else { continue; } if (delay <= System.currentTimeMillis()) { tb.append("<tr>"); tb.append("<td width=\"146\" align=\"left\"><font color=\"FFFFFF\">" + name + "</font></td>"); tb.append("<td width=\"55\" align=\"right\"><font color=\"00FF00\">Alive</font></td>"); // tb.append("<td width=\"55\" align=\"right\"><a action=\"bypass -h voiced_checkZone " + boss + " " + type + "\">Check</a></td>"); tb.append("</tr>"); continue; } tb.append("<tr>"); tb.append("<td width=\"146\" align=\"left\"><font color=\"00FFFF\">" + name + "</font></td>"); int hours = (int) ((delay - System.currentTimeMillis()) / 1000L / 60L / 60L); int mins = (int) ((delay - (hours * 60 * 60 * 1000) - System.currentTimeMillis()) / 1000L / 60L); int seconts = (int) ((delay - (hours * 60 * 60 * 1000 + mins * 60 * 1000) - System.currentTimeMillis()) / 1000L); // tb.append("<td width=\"110\" align=\"right\"><font color=\"FB5858\"> " + (new SimpleDateFormat("MMM dd, HH:mm")).format(new Date(delay)) + "</font></td>"); tb.append("<td width=\"110\" align=\"right\"><font color=\"FB5858\"> " + hours + ":" + mins + ":" + seconts + "</font></td>"); tb.append("</tr>"); } tb.append("</table>"); tb.append("<br>"); tb.append("<center>"); tb.append("<img src=\"L2UI.SquareGray\" width=270 height=1>"); tb.append("<br>"); tb.append("<center><table width=\"260\">"); for (Iterator<Integer> i$ = Config.GRANDBOSS_INFO_IDS_LIST.iterator(); i$.hasNext();) { int boss = i$.next().intValue(); String name = ""; NpcTemplate template = null; if ((template = NpcData.getInstance().getTemplate(boss)) != null) { name = template.getName(); } else { _log.warning("Grad Boss Info: Raid Boss with ID " + boss + " is not defined into NpcXml"); continue; } StatsSet actual_boss_stat = null; GrandBossManager.getInstance().getStatsSet(boss); long delay = 0L; String type = null; if (NpcData.getInstance().getTemplate(boss).isType("GrandBoss")) { actual_boss_stat = GrandBossManager.getInstance().getStatsSet(boss); if (actual_boss_stat != null) { delay = actual_boss_stat.getLong("respawn_time"); type = "GrandBoss"; } } else { continue; } if (delay <= System.currentTimeMillis()) { tb.append("<tr>"); tb.append("<td width=\"146\" align=\"left\"><font color=\"FFFFFF\">" + name + "</font></td>"); tb.append("<td width=\"55\" align=\"right\"><font color=\"00FF00\">Alive</font></td>"); tb.append("</tr>"); continue; } tb.append("<tr>"); tb.append("<td width=\"146\" align=\"left\"><font color=\"00FFFF\">" + name + "</font></td>"); tb.append("<td width=\"110\" align=\"right\"><font color=\"FB5858\">Dead</font> " + new SimpleDateFormat(Config.RAID_BOSS_DATE_FORMAT).format(new Date(delay)) + "</td>"); tb.append("<td width=\"110\" align=\"right\"><font color=\"FB5858\"> " + (new SimpleDateFormat("MMM dd, HH:mm")).format(new Date(delay)) + "</font></td>"); tb.append("</tr>"); } tb.append("</table>"); tb.append("<img src=\"L2UI.SquareGray\" width=270 height=1>"); tb.append("<br>"); tb.append("<center><a action=\"bypass voiced_menu\">Back</a></center>"); tb.append("</body></html>"); NpcHtmlMessage msg = new NpcHtmlMessage(1); msg.setHtml(tb.toString()); activeChar.sendPacket(msg); } @Override public String[] getVoicedCommandList() { return VOICED_COMMANDS; } }
  6. da algum erro no game server, se puder postar pint. do game server na parte do erro e print do criticall erro também assim facilita para agente tentar lhe ajudar.
  7. tem algumas boas no fórum procure ai a JMegaPack deve te atender
  8. Não vi ate hoje phantom em frozen.
  9. Sobre a moeda coin para Aio https://pastebin.com/wdqNp0ks Creditos Sarada
  10. abra o database_installer com o notepad ++ ou bloco de notas, em mysqlBinPath coloque o caminho da pasta bin do seu maria Db, configure os usuários de login e game server lá dentro de acordo com seu banco de dados, após isso e só salvar e executar.
  11. essa configuração ai e para não dropa se caso o player der pk
  12. L2PcInstance.java = Player.java
  13. só fazer o download dela e importar no eclipse segue como fazer
  14. rapaz creio que isso e padrão da revisão
  15. olha direito as configurações que tem phantom Tvt sim e sim eles se registram automático quando o evento inicia
  16. na mega tem phantom Tvt, Farm, Pvp, PvpEvent, Town, no tournament ainda não tem a unica que vi ate hoje foi a pvpzone mais nova do Oseías
  17. OLHA NA AREA DE JAVA MODS QUE VAI ENCONTRA ALEN DELE VARIOS OUTROS BONS.
×
×
  • 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.