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)
hey guyz...i try to use guytis v201 source code...but when i had compiled the NpcExt.dll,it will crash L2server.exe.didnot knew why...use v158 source code ,its ok...anybody know how to fix it?
v201 only add CNpcSpawnDefine system...i had comment it out,but still crash L2server.exe.
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