Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.


Temas - Mordor

Páginas: [1] 2
1
Issues / Error de Attack
« en: Mayo 26, 2018, 07:27:05 pm »
Uno de los players matando un raid, quedo totalmente paralizado, en la consola me tiraban estos errores:

Código
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:694)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.callMinions(AttackableAI.java:1096)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.onEvtAttacked(AttackableAI.java:1078)
at net.sf.l2j.gameserver.model.actor.ai.CharacterAI.onEvtMuted(CharacterAI.java:575)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:325)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:268)
at net.sf.l2j.gameserver.model.actor.L2Character.startMuted(L2Character.java:5208)
at net.sf.l2j.gameserver.model.skills.effects.type.EffectMute.onStart(EffectMute.java:44)
at net.sf.l2j.gameserver.model.skills.effects.Effect.setInUse(Effect.java:192)
at net.sf.l2j.gameserver.model.actor.L2Character.addEffect(L2Character.java:1986)
at net.sf.l2j.gameserver.model.skills.effects.Effect.startEffectTask(Effect.java:261)
at net.sf.l2j.gameserver.model.skills.effects.Effect.scheduleEffect(Effect.java:374)
at net.sf.l2j.gameserver.model.skills.Skill.getEffects(Skill.java:984)
at net.sf.l2j.gameserver.model.skills.Skill.getEffects(Skill.java:946)
at net.sf.l2j.gameserver.model.items.ItemWeapon.getOnCrit(ItemWeapon.java:289)
at net.sf.l2j.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:3562)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.onHitTimer(L2PcInstance.java:1912)
at net.sf.l2j.gameserver.model.actor.L2Character$HitTask.run(L2Character.java:1750)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)
Failed executed HitTaskjava.lang.NullPointerException
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:694)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.callMinions(AttackableAI.java:1096)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.onEvtAttacked(AttackableAI.java:1078)
at net.sf.l2j.gameserver.model.actor.ai.CharacterAI.onEvtMuted(CharacterAI.java:575)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:325)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:279)
at net.sf.l2j.gameserver.model.actor.L2Character.stopMuted(L2Character.java:5065)
at net.sf.l2j.gameserver.model.skills.effects.type.EffectMute.onExit(EffectMute.java:52)
at net.sf.l2j.gameserver.model.skills.effects.Effect.scheduleEffect(Effect.java:420)
at net.sf.l2j.gameserver.model.skills.effects.Effect.exit(Effect.java:280)
at net.sf.l2j.gameserver.model.actor.L2Character.lambda$stopAllEffects$3(L2Character.java:2133)
at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:804)
at net.sf.l2j.gameserver.model.actor.L2Character.stopAllEffects(L2Character.java:2133)
at net.sf.l2j.gameserver.model.actor.L2Character.doDie(L2Character.java:1385)
at net.sf.l2j.gameserver.model.actor.L2Npc.doDie(L2Npc.java:786)
at net.sf.l2j.gameserver.model.actor.L2Attackable.doDie(L2Attackable.java:341)
at net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance.doDie(L2MonsterInstance.java:128)
at net.sf.l2j.gameserver.model.actor.instance.L2MinionInstance.doDie(L2MinionInstance.java:89)
at net.sf.l2j.gameserver.model.actor.status.CharStatus.reduceHp(CharStatus.java:194)
at net.sf.l2j.gameserver.model.actor.status.NpcStatus.reduceHp(NpcStatus.java:45)
at net.sf.l2j.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:4762)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:315)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:297)
at net.sf.l2j.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:3515)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.onHitTimer(L2PcInstance.java:1912)
at net.sf.l2j.gameserver.model.actor.L2Character$HitTask.run(L2Character.java:1750)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)
RaidBossSpawnData: Updated Immortal Savior Mardil respawn time to 1527491864468
Olympiad: Olympiad game started.
TaskOlympiadSave: Data updated successfully.
SevenSigns: Data updated successfully.
Failed executed HitTaskjava.lang.NullPointerException
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:694)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.callMinions(AttackableAI.java:1096)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.onEvtAttacked(AttackableAI.java:1078)
at net.sf.l2j.gameserver.model.actor.ai.CharacterAI.onEvtMuted(CharacterAI.java:575)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:325)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:268)
at net.sf.l2j.gameserver.model.actor.L2Character.startMuted(L2Character.java:5208)
at net.sf.l2j.gameserver.model.skills.effects.type.EffectMute.onStart(EffectMute.java:44)
at net.sf.l2j.gameserver.model.skills.effects.Effect.setInUse(Effect.java:192)
at net.sf.l2j.gameserver.model.actor.L2Character.addEffect(L2Character.java:1986)
at net.sf.l2j.gameserver.model.skills.effects.Effect.startEffectTask(Effect.java:261)
at net.sf.l2j.gameserver.model.skills.effects.Effect.scheduleEffect(Effect.java:374)
at net.sf.l2j.gameserver.model.skills.Skill.getEffects(Skill.java:984)
at net.sf.l2j.gameserver.model.skills.Skill.getEffects(Skill.java:946)
at net.sf.l2j.gameserver.model.items.ItemWeapon.getOnCrit(ItemWeapon.java:289)
at net.sf.l2j.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:3562)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.onHitTimer(L2PcInstance.java:1912)
at net.sf.l2j.gameserver.model.actor.L2Character$HitTask.run(L2Character.java:1750)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)
Failed executed HitTaskjava.lang.NullPointerException
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:694)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.callMinions(AttackableAI.java:1096)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.onEvtAttacked(AttackableAI.java:1078)
at net.sf.l2j.gameserver.model.actor.ai.CharacterAI.onEvtMuted(CharacterAI.java:575)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:325)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:279)
at net.sf.l2j.gameserver.model.actor.L2Character.stopMuted(L2Character.java:5065)
at net.sf.l2j.gameserver.model.skills.effects.type.EffectMute.onExit(EffectMute.java:52)
at net.sf.l2j.gameserver.model.skills.effects.Effect.scheduleEffect(Effect.java:420)
at net.sf.l2j.gameserver.model.skills.effects.Effect.exit(Effect.java:280)
at net.sf.l2j.gameserver.model.actor.L2Character.lambda$stopAllEffects$3(L2Character.java:2133)
at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:804)
at net.sf.l2j.gameserver.model.actor.L2Character.stopAllEffects(L2Character.java:2133)
at net.sf.l2j.gameserver.model.actor.L2Character.doDie(L2Character.java:1385)
at net.sf.l2j.gameserver.model.actor.L2Npc.doDie(L2Npc.java:786)
at net.sf.l2j.gameserver.model.actor.L2Attackable.doDie(L2Attackable.java:341)
at net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance.doDie(L2MonsterInstance.java:128)
at net.sf.l2j.gameserver.model.actor.instance.L2MinionInstance.doDie(L2MinionInstance.java:89)
at net.sf.l2j.gameserver.model.actor.status.CharStatus.reduceHp(CharStatus.java:194)
at net.sf.l2j.gameserver.model.actor.status.NpcStatus.reduceHp(NpcStatus.java:45)
at net.sf.l2j.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:4762)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:315)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:297)
at net.sf.l2j.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:3515)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.onHitTimer(L2PcInstance.java:1912)
at net.sf.l2j.gameserver.model.actor.L2Character$HitTask.run(L2Character.java:1750)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)
missing html page data/html/merchant/7839-bought.htm
RaidBossSpawnData: Updated Death Lord Hallate respawn time to 1527417307253

java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:694)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.callMinions(AttackableAI.java:1096)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.onEvtAttacked(AttackableAI.java:1078)
at net.sf.l2j.gameserver.model.actor.ai.CharacterAI.onEvtRooted(CharacterAI.java:547)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:319)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:268)
at net.sf.l2j.gameserver.model.actor.L2Character.startRooted(L2Character.java:5229)
at net.sf.l2j.gameserver.model.skills.effects.type.EffectRoot.onStart(EffectRoot.java:45)
at net.sf.l2j.gameserver.model.skills.effects.Effect.setInUse(Effect.java:192)
at net.sf.l2j.gameserver.model.actor.L2Character.addEffect(L2Character.java:1986)
at net.sf.l2j.gameserver.model.skills.effects.Effect.startEffectTask(Effect.java:261)
at net.sf.l2j.gameserver.model.skills.effects.Effect.scheduleEffect(Effect.java:374)
at net.sf.l2j.gameserver.model.skills.Skill.getEffects(Skill.java:984)
at net.sf.l2j.gameserver.model.skills.Skill.getEffects(Skill.java:946)
at net.sf.l2j.gameserver.handler.skill.SkillDebuff.useSkill(SkillDebuff.java:88)
at net.sf.l2j.gameserver.model.actor.L2Character.callSkill(L2Character.java:4518)
at net.sf.l2j.gameserver.model.actor.L2Character.onMagicHitTimer(L2Character.java:4220)
at net.sf.l2j.gameserver.model.actor.L2Character$MagicUseTask.run(L2Character.java:1787)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)


java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:694)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.callMinions(AttackableAI.java:1096)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.onEvtAttacked(AttackableAI.java:1078)
at net.sf.l2j.gameserver.model.actor.ai.CharacterAI.onEvtRooted(CharacterAI.java:547)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:319)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:279)
at net.sf.l2j.gameserver.model.actor.L2Character.stopRooting(L2Character.java:5092)
at net.sf.l2j.gameserver.model.skills.effects.type.EffectRoot.onExit(EffectRoot.java:51)
at net.sf.l2j.gameserver.model.skills.effects.Effect.scheduleEffect(Effect.java:420)
at net.sf.l2j.gameserver.model.skills.effects.Effect.exit(Effect.java:280)
at net.sf.l2j.gameserver.model.actor.L2Character.lambda$stopAllEffects$3(L2Character.java:2133)
at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:804)
at net.sf.l2j.gameserver.model.actor.L2Character.stopAllEffects(L2Character.java:2133)
at net.sf.l2j.gameserver.model.actor.L2Character.doDie(L2Character.java:1385)
at net.sf.l2j.gameserver.model.actor.L2Npc.doDie(L2Npc.java:786)
at net.sf.l2j.gameserver.model.actor.L2Attackable.doDie(L2Attackable.java:341)
at net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance.doDie(L2MonsterInstance.java:128)
at net.sf.l2j.gameserver.model.actor.instance.L2MinionInstance.doDie(L2MinionInstance.java:89)
at net.sf.l2j.gameserver.model.actor.status.CharStatus.reduceHp(CharStatus.java:194)
at net.sf.l2j.gameserver.model.actor.status.NpcStatus.reduceHp(NpcStatus.java:45)
at net.sf.l2j.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:4762)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:315)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:297)
at net.sf.l2j.gameserver.handler.skill.SkillMdam.useSkill(SkillMdam.java:130)
at net.sf.l2j.gameserver.model.actor.L2Character.callSkill(L2Character.java:4518)
at net.sf.l2j.gameserver.model.actor.L2Character.onMagicHitTimer(L2Character.java:4220)
at net.sf.l2j.gameserver.model.actor.L2Character$MagicUseTask.run(L2Character.java:1787)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)

Failed executed HitTaskjava.lang.NullPointerException
java.lang.NullPointerException
Failed executed HitTaskjava.lang.NullPointerException
java.lang.NullPointerException
RaidBossSpawnData: Updated Cherub Galaxia respawn time to 1527433680738
RaidBossSpawnData: Updated Fire of Wrath Shuriel respawn time to 1527468823570

java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.instance.L2MinionInstance.doDie(L2MinionInstance.java:94)
at net.sf.l2j.gameserver.model.actor.status.CharStatus.reduceHp(CharStatus.java:194)
at net.sf.l2j.gameserver.model.actor.status.NpcStatus.reduceHp(NpcStatus.java:45)
at net.sf.l2j.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:4762)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:315)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:297)
at net.sf.l2j.gameserver.handler.skill.SkillMdam.useSkill(SkillMdam.java:130)
at net.sf.l2j.gameserver.model.actor.L2Character.callSkill(L2Character.java:4518)
at net.sf.l2j.gameserver.model.actor.L2Character.onMagicHitTimer(L2Character.java:4220)
at net.sf.l2j.gameserver.model.actor.L2Character$MagicUseTask.run(L2Character.java:1787)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)

RaidBossSpawnData: Updated Longhorn Golkonda respawn time to 1527453056606

2
General / Sugerencia - Skill Anti-Buff
« en: Mayo 22, 2018, 03:26:06 pm »
Buenas, quería proponer si se podría implementar un skill Anti-Buff ya que es muy útil tanto para servers main class como subclass acumulativas, he intentado implementarlo desde otros server packs pero me resulta complicado ya que en el pack algunas rutas o archivos no existen. Desde ya muchas gracias!!! ;D

3
Issues / Error de Consola
« en: Mayo 14, 2018, 08:52:20 pm »
Buenas, recien testeando en el beta me salio un error que genero lag en algunos chares, aca se los dejo:

Código
Character Maniatic0 of account lucio123 caused the following error at packet-han
dling packet: RequestMagicSkillUse
java.lang.NullPointerException
        at net.sf.l2j.gameserver.model.actor.L2Character.isSkillDisabled(L2Chara
cter.java:4412)
        at net.sf.l2j.gameserver.model.actor.L2Character.isSkillDisabled(L2Chara
cter.java:4383)
        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.checkUseMagic
Conditions(L2PcInstance.java:4441)
        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.useMagic(L2Pc
Instance.java:4343)
        at net.sf.l2j.gameserver.network.clientpackets.RequestMagicSkillUse.runI
mpl(RequestMagicSkillUse.java:84)
        at net.sf.l2j.gameserver.network.AbstractClientBasePacket.run(AbstractCl
ientBasePacket.java:54)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown S
ource)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
        at java.base/java.lang.Thread.run(Unknown Source)

java.lang.NullPointerException
        at net.sf.l2j.gameserver.model.actor.L2Character.isSkillDisabled(L2Chara
cter.java:4412)
        at net.sf.l2j.gameserver.model.actor.L2Character.isSkillDisabled(L2Chara
cter.java:4383)
        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.checkUseMagic
Conditions(L2PcInstance.java:4441)
        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.useMagic(L2Pc
Instance.java:4343)
        at net.sf.l2j.gameserver.network.clientpackets.RequestMagicSkillUse.runI
mpl(RequestMagicSkillUse.java:84)
        at net.sf.l2j.gameserver.network.AbstractClientBasePacket.run(AbstractCl
ientBasePacket.java:54)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown S
ource)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Character Prueba47 of account avalos22 caused the following error at packet-hand
ling packet: RequestMagicSkillUse
java.lang.NullPointerException

4
General / Consulta - Plataforma Java
« en: Mayo 13, 2018, 06:34:06 pm »
Hola buenas tardes, tengo una duda acerca de Java. He tenido varios servidores Interlude (Frozen mas específicamente) y por lo visto varios admins hemos notado que al  utilizar una de las ultimas versiones de Java 8 en los gameserver producía lagg en masivos (PvP, Siegue, TvT, Etc.) quería tener alguna idea de que es lo que lo provoca, he notado que se paso el pack a Java 8 y recientemente a java 10, en unas pocas semanas quería levantar un server utilizando el pack y quería saber si cabe la posibilidad de que esto del lag podria llegar a ocurrir...  se que tanto este pack como Frozen son totalmente diferentes pero me da un tanto de desconfianza volver a utilizar las ultimas versiones de java. Desconozco bastante del tema y queria saber si alguno me puede llegar a orientar.

5
Issues / [Solved] Bugg - Consumo de Key's
« en: Mayo 11, 2018, 07:51:16 pm »
Buenas tardes, recién revisando el pack me llamo la atención que al abrir cualquier caja (Treasure Chest) con una llave del mismo nivel no la consume, es decir que las llaves se pueden utilizar indefinidamente. Acá les dejo un video que lo describe mejor:

https://www.youtube.com/watch?v=NWS6_ZWjvVI&feature=youtu.be


6
Issues / [Solved] Consulta - Enchant Skills
« en: Mayo 11, 2018, 02:02:18 pm »
Buenas, quería saber como puedo hacer para que enchanteando los skilles en una subclass y cambiandola a otra no vuelvan a +0. Gracias!

7
General / Aporte ClassMaster (De mientras)
« en: Mayo 07, 2018, 08:22:14 pm »
Aca les dejo el class master que meti en scripts de mientras hasta que fiss lo terminde de incorporar a la parte de mods:

Ruta: net.sf.l2j.gameserver.script.ai.npc

Código
/*
 * Copyright (C) 2014-2020 L2jAdjmins
 *
 * This file is part of L2jAdmins.
 *
 * L2jAdmins is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * L2jAdmins is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package net.sf.l2j.gameserver.scripts.ai.npc;

import java.util.ArrayList;
import java.util.List;

import net.sf.l2j.gameserver.data.ItemData;
import net.sf.l2j.gameserver.scripts.Script;
import net.sf.l2j.gameserver.model.actor.L2Npc;
import net.sf.l2j.gameserver.model.actor.base.ClassId;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
import net.sf.l2j.gameserver.model.holder.LocationHolder;
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
import net.sf.l2j.gameserver.network.serverpackets.PlaySound.PlaySoundType;
import net.sf.l2j.gameserver.network.serverpackets.SystemMessage;
import net.sf.l2j.gameserver.network.serverpackets.TutorialShowQuestionMark;

/**
 * @author fissban
 */
public class ClassMaster extends Script
{
private static final int NPC = 93002;

// format:
// PriceItemId
// PriceItemCount
// ReardItemId
// RewardItemCount

// Usar el 0 para no definir ningun valor
private static final List<ClassMasterList> ITEM_LIST = new ArrayList<>();
{
// Primer cambio de clase ----------------------
ClassMasterList job1 = new ClassMasterList();
job1.setPriceItemId(57);
job1.setPriceItemCount(100000);
job1.setRewardItemId(0);
job1.setRewardItemCount(0);
ITEM_LIST.add(job1);
// Segundo cambio de clase ----------------------
ClassMasterList job2 = new ClassMasterList();
job2.setPriceItemId(57);
job2.setPriceItemCount(300000);
job2.setRewardItemId(0);
job2.setRewardItemCount(0);
ITEM_LIST.add(job2);
// Tercer cambio de clase -----------------------
ClassMasterList job3 = new ClassMasterList();
job3.setPriceItemId(7999);
job3.setPriceItemCount(1);
job3.setRewardItemId(0);
job3.setRewardItemCount(0);
ITEM_LIST.add(job3);
}
// Spawns
private static final List<LocationHolder> SPAWNS = new ArrayList<>();
{
SPAWNS.add(new LocationHolder(11283, 15951, -4584));// ClassChange_DE
SPAWNS.add(new LocationHolder(115774, -178666, -958));// ClassChange_DW
SPAWNS.add(new LocationHolder(45036, 48384, -3060));// ClassChange_E
SPAWNS.add(new LocationHolder(-44747, -113865, -208));// ClassChange_ORC
SPAWNS.add(new LocationHolder(-84466, 243171, -3729));// ClassChange_TI
}
// Html
private static final String HTML_PATH = "data/html/events/classmaster/";

public ClassMaster()
{
super(-1, "ai/npc");

addFirstTalkId(NPC);
addTalkId(NPC);
addStartNpc(NPC);


}

@Override
public String onEnterWorld(L2PcInstance player)
{
// Las accion de anuncio del evento ya fue asignada en la super clase.
return super.onEnterWorld(player);
}

@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
return HTML_PATH + "index.htm";
}

@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if (event.equals("1stClass"))
{
showHtmlMenu(player, npc.getObjectId(), 1);
}
else if (event.equals("2ndClass"))
{
showHtmlMenu(player, npc.getObjectId(), 2);
}
else if (event.equals("3rdClass"))
{
showHtmlMenu(player, npc.getObjectId(), 3);
}
else if (event.startsWith("change_class"))
{
int val = Integer.parseInt(event.substring(13));

if (checkAndChangeClass(player, val))
{
player.playSound(PlaySoundType.QUEST_FANFARE_2);
player.playSound(PlaySoundType.CHAR_CHANGE);
NpcHtmlMessage html = new NpcHtmlMessage(npc.getObjectId());
html.setFile(HTML_PATH + "ok.htm");
html.replace("%name%", ClassId.getById(val).getName());
player.sendPacket(html);
}
}

return null;
}

public static final void showHtmlMenu(L2PcInstance player, int objectId, int level)
{
NpcHtmlMessage html = new NpcHtmlMessage(objectId);

final ClassId currentClassId = player.getClassId();
if (currentClassId.level() >= level)
{
html.setFile(HTML_PATH + "nomore.htm");
}
else
{
final int minLevel = getMinLevel(currentClassId.level());
if (player.getLevel() >= minLevel)
{
final StringBuilder menu = new StringBuilder(100);
for (ClassId cid : ClassId.values())
{
if (validateClassId(currentClassId, cid) && (cid.level() == level))
{
menu.append("<button value=\"");
menu.append(cid.getName() + "\" ");
menu.append("action=\"bypass -h Quest ClassMaster change_class ");
menu.append(String.valueOf(cid.getId()) + "\"");
menu.append(" width=204 height=20 back=\"sek.cbui77\" fore=\"sek.cbui75\"><br>");
}
}

if (menu.length() > 0)
{
html.setFile(HTML_PATH + "template.htm");
html.replace("%name%", currentClassId.name());
html.replace("%menu%", menu.toString());
}
else
{
html.setFile(HTML_PATH + "comebacklater.htm");
html.replace("%level%", String.valueOf(getMinLevel(level - 1)));
}
}
else
{
if (minLevel < Integer.MAX_VALUE)
{
html.setFile(HTML_PATH + "comebacklater.htm");
html.replace("%level%", String.valueOf(minLevel));
}
else
{
html.setFile(HTML_PATH + "nomore.htm");
}
}
}

html.replace("%objectId%", String.valueOf(objectId));
html.replace("%req_items%", getRequiredItems(level));
player.sendPacket(html);
}

private static final void showQuestionMark(L2PcInstance player)
{
final ClassId classId = player.getClassId();
if (getMinLevel(classId.level()) > player.getLevel())
{
return;
}

player.sendPacket(new TutorialShowQuestionMark(1001));
}

/**
* Returns minimum player level required for next class transfer
* @param level - current skillId level (0 - start, 1 - first, etc)
* @return
*/
private static final int getMinLevel(int level)
{
switch (level)
{
case 0:
return 20;
case 1:
return 40;
case 2:
return 76;
default:
return Integer.MAX_VALUE;
}
}

/**
* Returns true if class change is possible
* @param oldCID current player ClassId
* @param val new class index
* @return
*/
private static final boolean validateClassId(ClassId oldCID, int val)
{
try
{
return validateClassId(oldCID, ClassId.getById(val));
}
catch (Exception e)
{
// possible ArrayOutOfBoundsException
}
return false;
}

/**
* Returns true if class change is possible
* @param oldCID current player ClassId
* @param newCID new ClassId
* @return true if class change is possible
*/
private static final boolean validateClassId(ClassId oldCID, ClassId newCID)
{
if ((newCID == null) || (newCID.getRace() == null))
{
return false;
}

if (oldCID.equals(newCID.getParent()))
{
return true;
}

return false;
}

private static String getRequiredItems(int level)
{
level--;
StringBuilder sb = new StringBuilder();
if ((ITEM_LIST.get(level).getPriceItemId() != 0) && (ITEM_LIST.get(level).getPriceItemCount() != 0))
{
int count = ITEM_LIST.get(level).getPriceItemCount();
String itemName = ItemData.getInstance().getTemplate(ITEM_LIST.get(level).getPriceItemId()).getName();
sb.append("<tr><td><img src=\"Icon.Item_System04\" width=32 height=32></td>");
sb.append("<td><font color=\"LEVEL\">[" + count + "]</font></td>");
sb.append("<td>[" + itemName + "]</td>");
sb.append("<td><img src=\"Icon.Item_System05\" width=32 height=32></td></tr>");
}
else
{
sb.append("<tr><td>None</td></tr>");
}
return sb.toString();
}

private static final boolean checkAndChangeClass(L2PcInstance player, int val)
{
final ClassId currentClassId = player.getClassId();
if ((getMinLevel(currentClassId.level()) > player.getLevel()))
{
return false;
}

if (!validateClassId(currentClassId, val))
{
return false;
}

int newJobLevel = currentClassId.level();

// Weight/Inventory check
if (ITEM_LIST.get(newJobLevel).getRewardItemId() != 0)
{
if ((player.getWeightPenalty() >= 3) || ((player.getInventoryLimit() * 0.8) <= player.getInventory().getSize()))
{
player.sendPacket(SystemMessage.INVENTORY_LESS_THAN_80_PERCENT);
return false;
}
}

// get all required items for class transfer
int priceCount = ITEM_LIST.get(newJobLevel).getPriceItemCount();
int priceItemId = ITEM_LIST.get(newJobLevel).getPriceItemId();

if (!player.getInventory().destroyItemByItemId("ClassMaster", priceItemId, priceCount, player, true))
{
player.sendPacket(SystemMessage.NOT_ENOUGH_ITEMS);
return false;
}

// reward player with items
int rewardCount = ITEM_LIST.get(newJobLevel).getRewardItemCount();
int rewardItemId = ITEM_LIST.get(newJobLevel).getRewardItemId();
player.getInventory().addItem("ClassMaster", rewardItemId, rewardCount, player, true);

player.setClassId(val);

if (player.isSubClassActive())
{
player.getSubClasses().get(player.getClassIndex()).setClassId(player.getActiveClass());
}
else
{
player.setBaseClass(player.getActiveClass());
}

player.broadcastUserInfo();

if ((((player.getClassId().level() == 1) && (player.getLevel() >= 40)) || ((player.getClassId().level() == 2) && (player.getLevel() >= 76))))
{
showQuestionMark(player);
}

return true;
}

public class ClassMasterList
{
private int priceItemId;
private int priceItemCount;

private int rewardItemId;
private int rewardItemCount;

public ClassMasterList()
{
//
}

public int getPriceItemId()
{
return priceItemId;
}

public void setPriceItemId(int priceItemId)
{
this.priceItemId = priceItemId;
}

public int getPriceItemCount()
{
return priceItemCount;
}

public void setPriceItemCount(int priceItemCount)
{
this.priceItemCount = priceItemCount;
}

public int getRewardItemId()
{
return rewardItemId;
}

public void setRewardItemId(int rewardItemId)
{
this.rewardItemId = rewardItemId;
}

public int getRewardItemCount()
{
return rewardItemCount;
}

public void setRewardItemCount(int rewardItemCount)
{
this.rewardItemCount = rewardItemCount;
}
}
}


8
Issues / [Solved] Bugg - Bss Skilles
« en: Mayo 07, 2018, 07:19:33 pm »
Buenas tardes, queria reportar que los skilles Ritual of Life y Honor of Paagrio no consumen Bss.

Modificando algunas cosas creo que el problema es el skilltype COMBATPOINTHEAL.

9
Issues / [Solved] Consulta - Lvl de Skills
« en: Mayo 05, 2018, 06:19:55 pm »
Hola, queria saber si existe algun codigo que me permita mantener el lvl de los skilles al swichear de sub.
Ejemplio:

Me hago Phantom Summoner y tengo el Servitor Heal lvl 45, pero cuando me paso a Spellsinguer lo tengo lvl 12... Todo esto en subclass acumulativas. Existe alguna manera de mantenerlo?

10
General / Consulta -Mensaje Auction Data
« en: Mayo 04, 2018, 06:07:10 pm »
Hola, buenas tardes, tengo una duda con respecto a un mensaje que me sale en la consola cuando dentro del game habilito un hall a cualquier clan al tirar restart y cargar los halls me figura lo siguiente:

Código
---------------------------------------------------------------=[ Clan Halls ]
AuctionData: Exception: Auction.initNPC(): Erreur de syntaxe prÞs de '%' Ó la li
gne 1com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Erreur de syntax
e prÞs de '%' Ó la ligne 1
AuctionData: Exception: Auction.initNPC(): Erreur de syntaxe prÞs de '%' Ó la li
gne 1com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Erreur de syntax
e prÞs de '%' Ó la ligne 1
ClanHallManager: Loaded 30 clan halls.

Nose si es porque lo habilite con el admin o porque no lo hice desde el auctioner.

11
Issues / [Solved] BUG - Drop de Adena
« en: Mayo 01, 2018, 10:33:19 pm »
Buenas noches, despues del ultimo update ningun mob dropea adena.

12
General / Consulta Color NPC Title
« en: Abril 08, 2018, 11:16:31 am »
Buenas, he visto que en estos ultimos días el pack se fue actualizando, yo por mi parte para no tener errores volvi a arrancar de 0 para armar el server en base a lo ultimo, vi que se modifico la tabla npc.sql y que ahora todos los npc's tienen el mismo color de title inclusive si en el cliente lo tienen diferente, hay alguna nueva config o alguna manera de modificar eso? Muchas gracias

13
Issues / Drop del Sistema VIP
« en: Marzo 20, 2018, 03:04:43 pm »
Buenas tardes, hoy revisando el sistema he notado que al aumentar el drop y la chance en las configs del engine este mismo no surge efecto. Alguno podría verificar si es un error?

Aclaracion: No he modificado absolutamente nada del core del mod.

14
Issues / Fix VoteReward Topzone
« en: Marzo 16, 2018, 10:26:28 am »
Buenas, he notado que el vote reward da error en la consola y no detecta los votos, he realizado algunas modificaciones y al parecer funciona bien.
Código
Index: src/main/engine/mods/VoteReward.java
===================================================================
--- src/main/engine/mods/VoteReward.java (revision 980)
+++ src/main/engine/mods/VoteReward.java (working copy)
@@ -250,7 +250,7 @@
  {
  URLConnection con = new URL(ConfigData.TOPZONE_URL).openConnection();
 
- con.addRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36");
+ con.addRequestProperty("User-Agent", "L2TopZone");
  con.setConnectTimeout(5000);
 
  try (BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream())))
@@ -259,10 +259,8 @@
  String inputLine;
  while ((inputLine = in.readLine()) != null)
  {
- if (inputLine.contains("fa fa-fw fa-lg fa-thumbs-up"))
- {
- return Integer.valueOf(inputLine.split(">")[3].replace("</span", ""));
- }
+ votes = Integer.valueOf(inputLine);
+ break;
  }
  }
  }

15
Issues / Consulta Sistema Vip
« en: Marzo 15, 2018, 08:47:59 pm »
Buenas queria consultar por el comando //setvip x , cuando targeteo a un char y escribo el comando junto a la cantidad de días me dice "this command need player target".

Aclaracion: No he modificado el ModC4

Páginas: [1] 2