citadel
Knight
Столкнулся со следующей проблемой, при создании баффов выставил стоимость за бафф в виде PC Poinst, при перезагрузке сервер выдает ошибку, что такого предмета не существует
<template menuId="99973" target="BUFF_PLAYER">
<consume>
<item id="-100" amount="300"/>
</consume>
<produce>
<skill id="4342" level="2" />
</produce>
</template>
Ошибка сервера:
[16:45:00] WARN ItemHolder: Not defined item id : -100, or out of range!
java.lang.Exception: null
at l2.gameserver.data.xml.holder.ItemHolder.getTemplate(Unknown Source)
at services.Buffer.bW(Unknown Source)
at services.Buffer.onLoad(Unknown Source)
at l2.gameserver.scripts.Scripts.init(Unknown Source)
at l2.gameserver.GameServer.<init>(Unknown Source)
at l2.gameserver.GameServer.main(Unknown Source)
<template menuId="99973" target="BUFF_PLAYER">
<consume>
<item id="-100" amount="300"/>
</consume>
<produce>
<skill id="4342" level="2" />
</produce>
</template>
Ошибка сервера:
[16:45:00] WARN ItemHolder: Not defined item id : -100, or out of range!
java.lang.Exception: null
at l2.gameserver.data.xml.holder.ItemHolder.getTemplate(Unknown Source)
at services.Buffer.bW(Unknown Source)
at services.Buffer.onLoad(Unknown Source)
at l2.gameserver.scripts.Scripts.init(Unknown Source)
at l2.gameserver.GameServer.<init>(Unknown Source)
at l2.gameserver.GameServer.main(Unknown Source)