Мультисел
6 ответов176 просмотровСейчас просматривают: 1
· 16.09.2009, 13:12
Как это испривить
Цитата
Client: [Character: RussiAnna - Account: kapik - IP: 194.143.150.175] - Failed w
riting: [S] D0 MultiSellList
java.lang.NullPointerException
at net.sf.l2j.gameserver.serverpackets.MultiSellList.writeImpl(MultiSell
List.java:50)
at net.sf.l2j.gameserver.serverpackets.L2GameServerPacket.write(L2GameSe
rverPacket.java:41)
at org.mmocore.network.SelectorThread.putPacketIntoWriteBuffer(SelectorT
hread.java:1086)
at org.mmocore.network.SelectorThread.prepareWriteBuffer2(SelectorThread
.java:1043)
at org.mmocore.network.SelectorThread.writePacket2(SelectorThread.java:9
49)
at org.mmocore.network.SelectorThread.run(SelectorThread.java:239)
riting: [S] D0 MultiSellList
java.lang.NullPointerException
at net.sf.l2j.gameserver.serverpackets.MultiSellList.writeImpl(MultiSell
List.java:50)
at net.sf.l2j.gameserver.serverpackets.L2GameServerPacket.write(L2GameSe
rverPacket.java:41)
at org.mmocore.network.SelectorThread.putPacketIntoWriteBuffer(SelectorT
hread.java:1086)
at org.mmocore.network.SelectorThread.prepareWriteBuffer2(SelectorThread
.java:1043)
at org.mmocore.network.SelectorThread.writePacket2(SelectorThread.java:9
49)
at org.mmocore.network.SelectorThread.run(SelectorThread.java:239)
0
· 16.09.2009, 16:21
На линии 50
Код
writeH(ItemTable.getInstance().getTemplate(i.getItemId()).getType2());
Нету такого итема...вот и NPE получаем.
Соответственно один из предметов, который присутствует в твоем мультиселле - кривой.
А может быть он вовсе не загружен в сервер, или отсутствует.
— Ålderdom - ingen glädje..
0
· 16.09.2009, 22:01
вот мульти сел
Цитата
<?xml version='1.0' encoding='utf-8'?>
<list maintainEnchantment="true">
<!-- Sword of Valhalla -->
<item id="1">
<ingredient id="57" count="10000000"/>
<production id="148" count="1"/>
</item>
<!-- Sword of Damascus -->
<item id="2">
<ingredient id="4037" count="10000000"/>
<production id="79" count="1"/>
</item>
<!-- Great Sword -->
<item id="3">
<ingredient id="57" count="5"/>
<production id="78" count="1"/>
</item>
<!-- Samurai Long Sword*Samurai Long Sword -->
<item id="4">
<ingredient id="57" count="10000000"/>
<production id="2626" count="1"/>
</item>
<!-- Kris -->
<item id="5">
<ingredient id="57" count="5"/>
<production id="229" count="1"/>
</item>
<!-- Bow of Peril -->
<item id="6">
<ingredient id="57" count="10000000"/>
<production id="287" count="1"/>
</item>
<!-- Bellion Cestus -->
<item id="7">
<ingredient id="57" count="10000000"/>
<production id="268" count="1"/>
</item>
<!-- Lance -->
<item id="8">
<ingredient id="57" count="10000000"/>
<production id="97" count="1"/>
</item>
<!-- Art of Battle Axe -->
<item id="9">
<ingredient id="57" count="10000000"/>
<production id="175" count="1"/>
</item>
<!-- Sprite's Staff -->
<item id="10">
<ingredient id="57" count="10000000"/>
<production id="92" count="1"/>
</item>
<!-- demon dagger -->
<item id="11">
<ingredient id="57" count="10000000"/>
<production id="234" count="1"/>
</item>
</list>
<list maintainEnchantment="true">
<!-- Sword of Valhalla -->
<item id="1">
<ingredient id="57" count="10000000"/>
<production id="148" count="1"/>
</item>
<!-- Sword of Damascus -->
<item id="2">
<ingredient id="4037" count="10000000"/>
<production id="79" count="1"/>
</item>
<!-- Great Sword -->
<item id="3">
<ingredient id="57" count="5"/>
<production id="78" count="1"/>
</item>
<!-- Samurai Long Sword*Samurai Long Sword -->
<item id="4">
<ingredient id="57" count="10000000"/>
<production id="2626" count="1"/>
</item>
<!-- Kris -->
<item id="5">
<ingredient id="57" count="5"/>
<production id="229" count="1"/>
</item>
<!-- Bow of Peril -->
<item id="6">
<ingredient id="57" count="10000000"/>
<production id="287" count="1"/>
</item>
<!-- Bellion Cestus -->
<item id="7">
<ingredient id="57" count="10000000"/>
<production id="268" count="1"/>
</item>
<!-- Lance -->
<item id="8">
<ingredient id="57" count="10000000"/>
<production id="97" count="1"/>
</item>
<!-- Art of Battle Axe -->
<item id="9">
<ingredient id="57" count="10000000"/>
<production id="175" count="1"/>
</item>
<!-- Sprite's Staff -->
<item id="10">
<ingredient id="57" count="10000000"/>
<production id="92" count="1"/>
</item>
<!-- demon dagger -->
<item id="11">
<ingredient id="57" count="10000000"/>
<production id="234" count="1"/>
</item>
</list>
0
Войдите или зарегистрируйтесь чтобы ответить




