Page 1 of 1

An error I encounted

Posted: Sun Jan 25, 2015 10:42 am
by sahar
I got this error:

Code: Select all

[25/01 02:05:10] L2World: Previous object: Adena(57)[268474852] already exist in OID map!
[25/01 02:05:10] java.lang.Thread.getStackTrace(Thread.java:1552)
com.l2jserver.gameserver.model.L2World.storeObject(L2World.java:112)
com.l2jserver.gameserver.datatables.ItemTable.createItem(ItemTable.java:244)
com.l2jserver.gameserver.model.itemcontainer.ItemContainer.addItem(ItemContainer.java:320)
com.l2jserver.gameserver.model.itemcontainer.PcInventory.addItem(PcInventory.java:542)
com.l2jserver.gameserver.model.itemcontainer.PcInventory.addAdena(PcInventory.java:446)
com.l2jserver.gameserver.model.actor.instance.L2PcInstance.addAdena(L2PcInstance.java:3018)
com.l2jserver.gameserver.faction.etc.CustomParams.calculateRewards(CustomParams.java:396)
com.l2jserver.gameserver.model.actor.instance.L2PcInstance.doDie(L2PcInstance.java:5247)
com.l2jserver.gameserver.model.actor.status.PcStatus.reduceHp(PcStatus.java:323)
com.l2jserver.gameserver.model.actor.instance.L2PcInstance.reduceCurrentHp(L2PcInstance.java:10986)
com.l2jserver.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:6444)
com.l2jserver.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:5020)
com.l2jserver.gameserver.model.actor.tasks.character.HitTask.run(HitTask.java:60)
com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:92)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
I focus on this line because this is the only custom line I added:

Code: Select all

com.l2jserver.gameserver.faction.etc.CustomParams.calculateRewards(CustomParams.java:396)
Which is a simple addAdena method:

Code: Select all

attacker.addAdena("FactionKill", adenaToReward, attacker, true);
Perheps I need something else in the refernce? what can go wrong?