L2JMobius

Free Users => Work in Progress => Topic started by: criss31 on May 02, 2020, 06:01:17 PM

Title: Npc scheme buffer while add more buffs
Post by: criss31 on May 02, 2020, 06:01:17 PM
Anyone know a npc buffer? I already have 1 scheme. But i add some buffs and i get this error
Code: [Select]
[02/05 18:00:10] Exception processing bypass from player Denn: npc_268479241_support
java.lang.NullPointerException
at org.l2jmobius.gameserver.model.actor.instance.SchemeBufferInstance.getFee(SchemeBufferInstance.java:429)
at org.l2jmobius.gameserver.model.actor.instance.SchemeBufferInstance.showGiveBuffsWindow(SchemeBufferInstance.java:261)
at org.l2jmobius.gameserver.model.actor.instance.SchemeBufferInstance.onBypassFeedback(SchemeBufferInstance.java:94)
at org.l2jmobius.gameserver.network.clientpackets.RequestBypassToServer.run(RequestBypassToServer.java:152)
at org.l2jmobius.gameserver.network.clientpackets.RequestBypassToServer.run(RequestBypassToServer.java:49)
at org.l2jmobius.gameserver.network.GameClient.channelRead0(GameClient.java:125)
at org.l2jmobius.gameserver.network.GameClient.channelRead0(GameClient.java:60)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302)
at io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1421)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:697)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:632)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:549)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:511)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918)
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)

I don;t know what's wrong. Anyone can help? Greetings
Title: Re: Npc scheme buffer while add more buffs
Post by: Mobius on May 02, 2020, 06:10:40 PM
Available buffs does not contain the skill that was tried to be added.
Title: Re: Npc scheme buffer while add more buffs
Post by: criss31 on May 02, 2020, 06:12:43 PM
Okay, i understand. Can i ask how i can add another skills? Infact, i really like this scheme. But i should make "fixes" because i want to add more buffs. Like 10-20.
Title: Re: Npc scheme buffer while add more buffs
Post by: tevsko on May 09, 2020, 12:47:56 PM
Okay, i understand. Can i ask how i can add another skills? Infact, i really like this scheme. But i should make "fixes" because i want to add more buffs. Like 10-20.

Where do you try to add more skills if the skills are added here SchemeBufferSkills.xml

(https://l2babylon.000webhostapp.com/lineageimg/01.jpg)(https://l2babylon.000webhostapp.com/lineageimg/02.jpg)(https://l2babylon.000webhostapp.com/lineageimg/03.jpg)
Title: Re: Npc scheme buffer while add more buffs
Post by: Xorus on June 17, 2020, 07:02:24 AM
I implemented a Scheme Buffer

https://subefotos.com/ver/?5c3ac33a167911973e44decebfa7e5aco.jpg

https://subefotos.com/ver/?b988c753e0a36186c92aef9309d16865o.jpg

Anyone know a npc buffer? I already have 1 scheme. But i add some buffs and i get this error
Code: [Select]
[02/05 18:00:10] Exception processing bypass from player Denn: npc_268479241_support
java.lang.NullPointerException
at org.l2jmobius.gameserver.model.actor.instance.SchemeBufferInstance.getFee(SchemeBufferInstance.java:429)
at org.l2jmobius.gameserver.model.actor.instance.SchemeBufferInstance.showGiveBuffsWindow(SchemeBufferInstance.java:261)
at org.l2jmobius.gameserver.model.actor.instance.SchemeBufferInstance.onBypassFeedback(SchemeBufferInstance.java:94)
at org.l2jmobius.gameserver.network.clientpackets.RequestBypassToServer.run(RequestBypassToServer.java:152)
at org.l2jmobius.gameserver.network.clientpackets.RequestBypassToServer.run(RequestBypassToServer.java:49)
at org.l2jmobius.gameserver.network.GameClient.channelRead0(GameClient.java:125)
at org.l2jmobius.gameserver.network.GameClient.channelRead0(GameClient.java:60)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302)
at io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1421)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:697)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:632)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:549)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:511)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918)
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)

I don;t know what's wrong. Anyone can help? Greetings
Title: Re: Npc scheme buffer while add more buffs
Post by: junin00 on June 28, 2020, 08:40:54 PM
Do you receive disconect time when you click to create a list without typing anything? It happened to me here.