- Хроники
- Helios
- Сборка
- L2J_Mobius
Подскажите как зафиксить как понимаю надо найти через поиск CIRCLET_GROUP это я сделал нашел файл EnchantItemGroups.xml там есть параметр
Line 162: <enchantRateGroup name="CIRCLET_GROUP">
Line 251: <enchantRate group="CIRCLET_GROUP">
А что дальше то не так из за чего ошибка? Подскажите можно ли как то убрать эту ошибку без вмешательства в ядро то есть в датапаке
вот что в том файле:
<!-- Hair Accesory enchant group. -->
<enchantRateGroup name="CIRCLET_GROUP">
<current enchant="0" chance="60" />
<current enchant="1" chance="50" />
<current enchant="2" chance="40" />
<current enchant="3" chance="35" />
<current enchant="4" chance="30" />
<current enchant="5" chance="28" />
<current enchant="6" chance="26" />
<current enchant="7" chance="24" />
<current enchant="8" chance="22" />
<current enchant="9" chance="20" />
</enchantRateGroup>
<enchantRate group="CIRCLET_GROUP">
<item slot="hair" /> <!-- Hair Accessories -->
<item slot="hair2" /> <!-- Hair Accessories -->
<item slot="hairall" /> <!-- Hair Accessories -->
</enchantRate>
Line 162: <enchantRateGroup name="CIRCLET_GROUP">
Line 251: <enchantRate group="CIRCLET_GROUP">
А что дальше то не так из за чего ошибка? Подскажите можно ли как то убрать эту ошибку без вмешательства в ядро то есть в датапаке
вот что в том файле:
<!-- Hair Accesory enchant group. -->
<enchantRateGroup name="CIRCLET_GROUP">
<current enchant="0" chance="60" />
<current enchant="1" chance="50" />
<current enchant="2" chance="40" />
<current enchant="3" chance="35" />
<current enchant="4" chance="30" />
<current enchant="5" chance="28" />
<current enchant="6" chance="26" />
<current enchant="7" chance="24" />
<current enchant="8" chance="22" />
<current enchant="9" chance="20" />
</enchantRateGroup>
<enchantRate group="CIRCLET_GROUP">
<item slot="hair" /> <!-- Hair Accessories -->
<item slot="hair2" /> <!-- Hair Accessories -->
<item slot="hairall" /> <!-- Hair Accessories -->
</enchantRate>
[03/10 05:12:33] EnchantItemGroup: Couldn't match proper chance for item group: CIRCLET_GROUP
java.lang.IllegalStateException
at org.l2jmobius.gameserver.model.items.enchant.EnchantItemGroup.getChance(EnchantItemGroup.java:72)
at org.l2jmobius.gameserver.model.items.enchant.EnchantScroll.getChance(EnchantScroll.java:209)
at org.l2jmobius.gameserver.model.items.enchant.EnchantScroll.calculateSuccess(EnchantScroll.java:225)
at org.l2jmobius.gameserver.network.clientpackets.RequestEnchantItem.run(RequestEnchantItem.java:173)
at org.l2jmobius.gameserver.network.clientpackets.RequestEnchantItem.run(RequestEnchantItem.java:48)
at org.l2jmobius.gameserver.network.GameClient.channelRead0(GameClient.java:123)
at org.l2jmobius.gameserver.network.GameClient.channelRead0(GameClient.java:67)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
at io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:832)
java.lang.IllegalStateException
at org.l2jmobius.gameserver.model.items.enchant.EnchantItemGroup.getChance(EnchantItemGroup.java:72)
at org.l2jmobius.gameserver.model.items.enchant.EnchantScroll.getChance(EnchantScroll.java:209)
at org.l2jmobius.gameserver.model.items.enchant.EnchantScroll.calculateSuccess(EnchantScroll.java:225)
at org.l2jmobius.gameserver.network.clientpackets.RequestEnchantItem.run(RequestEnchantItem.java:173)
at org.l2jmobius.gameserver.network.clientpackets.RequestEnchantItem.run(RequestEnchantItem.java:48)
at org.l2jmobius.gameserver.network.GameClient.channelRead0(GameClient.java:123)
at org.l2jmobius.gameserver.network.GameClient.channelRead0(GameClient.java:67)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
at io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:832)