Festive Sweeper Suppport (Interlude)
Posted: Fri Jun 10, 2011 11:39 am
L2J Revision 1434:
L2JDP Revision 3760:
I have added the Festive Sweeper Skill at my l2jserver interlude from here:
viewtopic.php?f=76&t=15415#p109080
Compiled and the skill is working, but i am getting this error in the gameserver console when i go to sweep the monsters using Festive Sweeper:
i just didnt do one thing that janiii at his/her post said, at the file sweep.java to move
that code at some lines little below, but because i am using interlude i dont have this lines. Ofcourse i could add these lines that are missing so i can place it but they are from freya and i dont think they will be used somewhere. The thing that i am asking you to help me is how to fix it so i dont have an error and make the skill working properly, if you can ofcourse.
Sorry for my bad english.
(Forgot to say that i didnt asked support at janni's topic because i need more 20 posts. I can make 20 posts but i will be banned for spamming...)
L2JDP Revision 3760:
I have added the Festive Sweeper Skill at my l2jserver interlude from here:
viewtopic.php?f=76&t=15415#p109080
Compiled and the skill is working, but i am getting this error in the gameserver console when i go to sweep the monsters using Festive Sweeper:
Code: Select all
Client: [Character: Administrator - Account: tehgeorge - IP: 127.0.0.1] - Failed writing: [S] 27 InventoryUpdatejava.lang.NullPointerException at net.sf.l2j.gameserver.network.serverpackets.InventoryUpdate.writeImpl(InventoryUpdate.java:98) at net.sf.l2j.gameserver.network.serverpackets.L2GameServerPacket.write(L2GameServerPacket.java:42) at org.mmocore.network.SelectorThread.putPacketIntoWriteBuffer(SelectorThread.java:576) at org.mmocore.network.SelectorThread.prepareWriteBuffer(SelectorThread.java:548) at org.mmocore.network.SelectorThread.writePacket(SelectorThread.java:467) at org.mmocore.network.SelectorThread.run(SelectorThread.java:179) Client: [Character: Administrator - Account: tehgeorge - IP: 127.0.0.1] - Failed writing: [S] 27 InventoryUpdatejava.lang.NullPointerException at net.sf.l2j.gameserver.network.serverpackets.InventoryUpdate.writeImpl(InventoryUpdate.java:98) at net.sf.l2j.gameserver.network.serverpackets.L2GameServerPacket.write(L2GameServerPacket.java:42) at org.mmocore.network.SelectorThread.putPacketIntoWriteBuffer(SelectorThread.java:576) at org.mmocore.network.SelectorThread.prepareWriteBuffer(SelectorThread.java:548) at org.mmocore.network.SelectorThread.writePacket(SelectorThread.java:467) at org.mmocore.network.SelectorThread.run(SelectorThread.java:179)L2PcInstance: callSkill() failed.java.lang.NullPointerException at net.sf.l2j.gameserver.network.serverpackets.InventoryUpdate.addItem(InventoryUpdate.java:59) at net.sf.l2j.gameserver.handler.skillhandlers.Sweep.useSkill(Sweep.java:85) at net.sf.l2j.gameserver.model.actor.L2Character.callSkill(L2Character.java:5548) at net.sf.l2j.gameserver.model.actor.L2Character.onMagicHitTimer(L2Character.java:5248) at net.sf.l2j.gameserver.model.actor.L2Character$MagicUseTask.run(L2Character.java:2106) at net.sf.l2j.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:84) 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$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Code: Select all
+ if (send)+ {+ if (iu != null)+ player.sendPacket(iu);+ else+ player.sendPacket(new ItemList(player, false));+ }
Sorry for my bad english.
(Forgot to say that i didnt asked support at janni's topic because i need more 20 posts. I can make 20 posts but i will be banned for spamming...)