гейм сервер

uter81

Знающий
Участник
Сообщения
293
Розыгрыши
0
Репутация
1
Реакции
11
Баллы
460
Хроники
  1. Master Class
Исходники
Присутствуют
Сборка
l2jMobius
Добрый день, подскажите как поправить .
При входе расы творец сияния бьет ошибки.

Код:
Error writing packet ExCrossEventInfo to client (Cannot invoke "org.l2jmobius.gameserver.model.item.instance.Item.getCount()" because the return value of "org.l2jmobius.gameserver.model.itemcontainer.PlayerInventory.getItemByItemId(int)" is null)
 java.lang.NullPointerException: Cannot invoke "org.l2jmobius.gameserver.model.item.instance.Item.getCount()" because the return value of "org.l2jmobius.gameserver.model.itemcontainer.PlayerInventory.getItemByItemId(int)" is null
    at org.l2jmobius.gameserver.network.serverpackets.crossevent.ExCrossEventInfo.writeImpl(ExCrossEventInfo.java:52)
    at org.l2jmobius.gameserver.network.serverpackets.ServerPacket.write(ServerPacket.java:154)
    at org.l2jmobius.gameserver.network.serverpackets.ServerPacket.write(ServerPacket.java:31)
    at org.l2jmobius.commons.network.WritablePacket.writeDataToBuffer(WritablePacket.java:72)
    at org.l2jmobius.commons.network.WritablePacket.writeData(WritablePacket.java:48)
    at org.l2jmobius.commons.network.Client.write(Client.java:144)
    at org.l2jmobius.commons.network.Client.writeNextPacket(Client.java:129)
    at org.l2jmobius.commons.network.internal.fairness.SingleBucketStrategy.doNextAction(SingleBucketStrategy.java:42)
    at org.l2jmobius.commons.network.internal.fairness.FairnessController.nextFairAction(FairnessController.java:65)
    at org.l2jmobius.commons.network.Client.finishWriting(Client.java:268)
    at org.l2jmobius.commons.network.WriteHandler.completed(WriteHandler.java:59)
    at org.l2jmobius.commons.network.WriteHandler.completed(WriteHandler.java:29)
    at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129)
    at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:284)
    at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl$WriteTask.completed(WindowsAsynchronousSocketChannelImpl.java:843)
    at java.base/sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:387)
    at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1583)
 

Добрый день, подскажите как поправить .
При входе расы творец сияния бьет ошибки.

Код:
Error writing packet ExCrossEventInfo to client (Cannot invoke "org.l2jmobius.gameserver.model.item.instance.Item.getCount()" because the return value of "org.l2jmobius.gameserver.model.itemcontainer.PlayerInventory.getItemByItemId(int)" is null)
 java.lang.NullPointerException: Cannot invoke "org.l2jmobius.gameserver.model.item.instance.Item.getCount()" because the return value of "org.l2jmobius.gameserver.model.itemcontainer.PlayerInventory.getItemByItemId(int)" is null
    at org.l2jmobius.gameserver.network.serverpackets.crossevent.ExCrossEventInfo.writeImpl(ExCrossEventInfo.java:52)
    at org.l2jmobius.gameserver.network.serverpackets.ServerPacket.write(ServerPacket.java:154)
    at org.l2jmobius.gameserver.network.serverpackets.ServerPacket.write(ServerPacket.java:31)
    at org.l2jmobius.commons.network.WritablePacket.writeDataToBuffer(WritablePacket.java:72)
    at org.l2jmobius.commons.network.WritablePacket.writeData(WritablePacket.java:48)
    at org.l2jmobius.commons.network.Client.write(Client.java:144)
    at org.l2jmobius.commons.network.Client.writeNextPacket(Client.java:129)
    at org.l2jmobius.commons.network.internal.fairness.SingleBucketStrategy.doNextAction(SingleBucketStrategy.java:42)
    at org.l2jmobius.commons.network.internal.fairness.FairnessController.nextFairAction(FairnessController.java:65)
    at org.l2jmobius.commons.network.Client.finishWriting(Client.java:268)
    at org.l2jmobius.commons.network.WriteHandler.completed(WriteHandler.java:59)
    at org.l2jmobius.commons.network.WriteHandler.completed(WriteHandler.java:29)
    at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129)
    at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:284)
    at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl$WriteTask.completed(WindowsAsynchronousSocketChannelImpl.java:843)
    at java.base/sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:387)
    at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1583)
ну называйте темы адекватно тогда и сможете поиском находить решения ошибок

 
сорри не видел такой темы.
 
Назад
Сверху Снизу