Skip to content
La2Base
Home
DownloadsWikiForumFAQ
Search
ruen
Sign up Login
HomeFilesWikiLogin
  • Home
  • Downloads
  • Wiki
  • FAQ
  • Contact Us
  • About
  • Rules
  • Privacy
  • Terms of Service

© 2026 la2base.com · All rights reserved

ruen
Forum/Флуд/Мультисел
Search

Мультисел

6 replies177 viewsCurrently viewing: 1
K
Kapik12

User

Участник

Posts: 25

На форуме с: 12/29/2008

Рейтинг: 0

· 09/16/2009, 01:12 PM

Как это испривить

Цитата
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)

0
xxblxx
xxblxx

User

Бывалый

Posts: 306

На форуме с: 12/17/2009

Репутация: +55

Рейтинг: 0

· 09/16/2009, 02:19 PM

ошибка в мультиселле.скорее всего где-то неправильно прописал...

0
Станислав
Станислав

User

Бывалый

Posts: 367

На форуме с: 03/30/2009

Репутация: +18

Рейтинг: 0

· 09/16/2009, 02:23 PM

xxblxx: ошибка в мультиселле.скорее всего где-то неправильно прописал...

+

0
-Bupyc-
-Bupyc-

User

Бывалый

Posts: 110

На форуме с: 07/09/2009

Репутация: +21

Рейтинг: 0

· 09/16/2009, 02:57 PM

Перепроверь теги на правельность

0
AbsT
AbsT

User

Ветеран

Posts: 1514

На форуме с: 12/10/2007

Репутация: +768

Рейтинг: 0

· 09/16/2009, 04:21 PM

На линии 50

Код
writeH(ItemTable.getInstance().getTemplate(i.getItemId()).getType2());

Нету такого итема...вот и NPE получаем.
Соответственно один из предметов, который присутствует в твоем мультиселле - кривой.
А может быть он вовсе не загружен в сервер, или отсутствует.

— Ålderdom - ingen glädje..

0
K
Kapik12

User

Участник

Posts: 25

На форуме с: 12/29/2008

Рейтинг: 0

· 09/16/2009, 10:01 PM

вот мульти сел

Цитата
<?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>

0
Войдите или зарегистрируйтесь чтобы ответить