I uploaded a premium account system for L2J, i compiled it fine but here i have an error, when i give premium acces to an account, when the player of this account kill a moob, that error appear:
java.lang.NullPointerException
at com.l2jserver.gameserver.model.actor.L2Attackable.calculateCategorize
dRewardItem(L2Attackable.java:1372)
at com.l2jserver.gameserver.model.actor.L2Attackable.doItemDrop(L2Attack
able.java:1681)
at com.l2jserver.gameserver.model.actor.L2Attackable.doItemDrop(L2Attack
able.java:1603)
at com.l2jserver.gameserver.model.actor.L2Attackable.calculateRewards(L2
Attackable.java:599)
at com.l2jserver.gameserver.model.actor.L2Character.doDie(L2Character.ja
va:2219)
at com.l2jserver.gameserver.model.actor.L2Npc.doDie(L2Npc.java:1407)
at com.l2jserver.gameserver.model.actor.L2Attackable.doDie(L2Attackable.
java:534)
at com.l2jserver.gameserver.model.actor.instance.L2MonsterInstance.doDie
(L2MonsterInstance.java:161)
at com.l2jserver.gameserver.model.actor.status.CharStatus.reduceHp(CharS
tatus.java:189)
at com.l2jserver.gameserver.model.actor.status.NpcStatus.reduceHp(NpcSta
tus.java:51)
at com.l2jserver.gameserver.model.actor.status.AttackableStatus.reduceHp
(AttackableStatus.java:49)
at com.l2jserver.gameserver.model.actor.L2Character.reduceCurrentHp(L2Ch
aracter.java:6870)
at com.l2jserver.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2A
ttackable.java:505)
at com.l2jserver.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2A
ttackable.java:447)
at com.l2jserver.gameserver.model.actor.L2Character.onHitTimer(L2Charact
er.java:5189)
at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.onHitTimer
(L2PcInstance.java:4600)
at com.l2jserver.gameserver.model.actor.L2Character$HitTask.run(L2Charac
ter.java:2623)
at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(Thread
PoolManager.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
FFs
Hi MxC, i have a problem.
I uploaded a premium account system for L2J, i compiled it fine but here i have an error, when i give premium acces to an account, when the player of this account kill a moob, that error appear:
I'm using this code:
http://www.mediafire.com/?8n79doc3iqrosfa
I hope you can help me with that :)
Thanx.
3 answers to this question
Recommended Posts