- 0
Announcements
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By Marco Santos · Posted
Interessante esse projeto, parabéns @BAN - L2JDev -
By thiagoneresp · Posted
Boa noite alguém pode me manda os arquivos da coroa hero preta?? -
@Kelvin, mesmo efetuando o download do plugin acima, ou trazendo ele junto com a importação do kit, não trouxe os cabeçalhos e rodapés. O que poderia ser?
-
Voce consegui resolução sobre isso ?
-
ta dando esse erro ao tentar donatar, alguem sabe como resolver? Edit: o Pagseguro e Paypal estão da mesma forma O sistema de doação não esta funcionando.
-
Hola, lo tienen para acis 382, esa version me anda para probar
-
BAN NÃO TOU CONSGUINDO TER ACESSO... TOU SEM O PATCH PODERIA DISPONIBILIZAR ?
-
Hola, ¿tienes un comando de voz para este código? package net.sf.l2j.gameserver.taskmanager; import java.util.logging.Logger; import net.sf.l2j.Config; import net.sf.l2j.commons.util.ArraysUtil; import net.sf.l2j.gameserver.enums.ZoneId; import net.sf.l2j.gameserver.model.actor.Creature; import net.sf.l2j.gameserver.model.actor.Player; import net.sf.l2j.gameserver.model.holder.IntIntHolder; import net.sf.l2j.gameserver.skills.L2Skill; import net.sf.l2j.gameserver.skills.effects.EffectTemplate; public class AutoPotionTask implements Runnable { protected static final Logger _log = Logger.getLogger(AutoPotionTask.class.getName()); private int itemId; private Player player; private static final int[] HP_POTION_SKILL_IDS = new int[]{2031, 2032, 2037}; public AutoPotionTask(int itemId, Player player) { this.itemId = itemId; this.player = player; } @Override public void run() { if (player.isInOlympiadMode()) { player.sendMessage("You cannot that in olympiad mode."); player.stopAutoPotion(itemId); return; } if (player.isInJail() || player.isInsideZone(ZoneId.JAIL)) { player.sendMessage("You cannot that in Jail mode."); return; } if (Config.AUTO_POTIONS_LIMITS.containsKey(itemId)) { String type = ((String[])Config.AUTO_POTIONS_LIMITS.get(itemId))[0]; int val = Integer.parseInt(((String[])Config.AUTO_POTIONS_LIMITS.get(itemId))[1]); switch (type) { case "CP": { if (!(player.getStatus().getCp() / (double)player.getStatus().getMaxCp() * 100.0 > (double)val)) break; return; } case "HP": { if (!(player.getStatus().getHp() / (double)player.getStatus().getMaxHp() * 100.0 > (double)val)) break; return; } case "MP": { if (!(player.getStatus().getMp() / (double)player.getStatus().getMaxMp() * 100.0 > (double)val)) break; return; } } } if (!player.destroyItemByItemId("auto potion use", itemId, 1, null, true)) { player.stopAutoPotion(itemId); player.sendMessage("Incorrect item count."); return; } if (player.getInventory().getItemByItemId(itemId) == null) { player.stopAutoPotion(itemId); return; } IntIntHolder[] skills = player.getInventory().getItemByItemId(itemId).getEtcItem().getSkills(); if (skills == null) { _log.info("{} doesn't have any registered skill for handler." + player.getInventory().getItemByItemId(itemId).getName()); return; } for (IntIntHolder skillInfo : skills) { EffectTemplate template; L2Skill itemSkill; if (skillInfo == null || (itemSkill = skillInfo.getSkill()) == null) continue; if (!itemSkill.checkCondition((Creature)player, (Creature)player, false)) { return; } if (player.isSkillDisabled(itemSkill)) { return; } if (itemSkill.isPotion() || itemSkill.isSimultaneousCast()) { player.getAI().tryToCast((Creature)player, itemSkill, false, false, itemId); } else { player.getAI().tryToCast((Creature)player, itemSkill, false, false, itemId); } int skillId = skillInfo.getId(); if (!ArraysUtil.contains((int[])HP_POTION_SKILL_IDS, (int)skillId) || skillId < player.getShortBuffTaskSkillId() || (template = (EffectTemplate)itemSkill.getEffectTemplates().get(0)) == null) continue; player.shortBuffStatusUpdate(skillId, skillInfo.getValue(), template.getCounter() * template.getPeriod()); } } public int getItemId() { return itemId; } }
-
@Ivan Pires como está as entregas automáticas desse painel?
-
Question
BaahuBalli
bom dia, boa tarde, boa noite amigo aqui do fórum l2jbrasil, venho aki para pedir uma ajuda com um problema que to tendo com mina l2Font.utx
estou tentando criar uma para meu projeto Interlúdio 300x com nome de L2WarFront, aqui no fórum encontrei todos os programas para fazer um mais só da erros
alguém pode me presentear com uma L2font.utz com logo e aquela imagem que abre quando clica no l2.ini
já agradeço quem poder ajuda um amigo que esta iniciando agora no mundo de server de l2.
projetos L2
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.