L2JMobius

Master Class Ch. 2 incomprehensible error

aviengier · 11 · 5838

Offline aviengier

  • Black Sheep
  • Count
  • *****
    • Posts: 418
Hi all. After installing the Smart Guard protection, a problem arose, the character's inappropriate behavior. The character simply stands still and starts leaving the clan or alliance. Opens the tattoo insert menu. After that, the character cannot do anything, only exiting the game helps. It gives an error in the game, in the technical support of the protection they said that they could not identify the problem and solve it. So if anyone knows how to solve, I will be very happy. No matter how many times I tried, I couldn't solve the problem.
Judging by the error, there are empty packages.

Code: [Select]
авг. 18, 2022 6:27:12 PM org.l2jmobius.commons.network.codecs.PacketEncoder encode
WARNING: Failed sending Packet(org.l2jmobius.gameserver.network.serverpackets.ManagePledgePower@5d4d6979)
java.lang.NullPointerException: Cannot invoke "org.l2jmobius.gameserver.model.clan.Clan.getRankPrivs(int)" because "this._clan" is null
at org.l2jmobius.gameserver.network.serverpackets.ManagePledgePower.write(ManagePledgePower.java:42)
at org.l2jmobius.commons.network.codecs.PacketEncoder.encode(PacketEncoder.java:51)
at org.l2jmobius.commons.network.codecs.PacketEncoder.encode(PacketEncoder.java:33)
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:764)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:790)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:758)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:808)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at org.l2jmobius.gameserver.network.GameClient.sendPacket(GameClient.java:264)
at org.l2jmobius.gameserver.model.actor.Player.sendPacket(Player.java:4382)
at org.l2jmobius.gameserver.network.clientpackets.RequestPledgePower.run(RequestPledgePower.java:56)
at org.l2jmobius.gameserver.network.clientpackets.RequestPledgePower.run(RequestPledgePower.java:25)
at org.l2jmobius.gameserver.network.GameClient.channelRead0(GameClient.java:120)
at org.l2jmobius.gameserver.network.GameClient.channelRead0(GameClient.java:69)
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:327)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299)
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:327)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299)
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:327)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299)
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:166)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:623)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:586)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
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:833)



Offline nasseka

  • Distinguished King
  • *****
    • Posts: 1732
    • L2Unknown
Wrong section. Not related to the project since it’s applying external code.


Offline aviengier

  • Black Sheep
  • Count
  • *****
    • Posts: 418
And in what section should it be created? If it's a code error, the problem is in the server core...


Offline Index

  • Black Sheep
  • Marquis
  • *****
    • Posts: 536
And in what section should it be created? If it's a code error, the problem is in the server core...
if smart guard says "full compitability with mobius" ask in smart guard support, which answer "mobius problem"


Offline aviengier

  • Black Sheep
  • Count
  • *****
    • Posts: 418
Smart writes that he cannot find the problem in his code. Wrote here, can anyone come across this problem and is it solved in the mobius code?


Offline nasseka

  • Distinguished King
  • *****
    • Posts: 1732
    • L2Unknown
Does it work as it is? - Yes.
Does it work with some external code? - No.
If issues appear after installing smart guard, it’s their problem, not ours.
P.S. It belongs to General section. It will be a bug if the issue comes from clean svn, not some fishy code.
Smart writes that he cannot find the problem in his code. Wrote here, can anyone come across this problem and is it solved in the mobius code?


Offline Jojo123

  • Elder
  • ****
    • Posts: 119
Some people never learn . Clap clap for that kekw protection... It's completely useless and waste of money



Offline nasseka

  • Distinguished King
  • *****
    • Posts: 1732
    • L2Unknown
None xD Even aac works 1 day, 2 days can log with adrenaline  ;D


Offline Jojo123

  • Elder
  • ****
    • Posts: 119
Pay someone to hunt bots, be strict. Simple as that. GL


Offline nasseka

  • Distinguished King
  • *****
    • Posts: 1732
    • L2Unknown
+1  ;D Great idea :D 30$/month for someone to do it :D
Pay someone to hunt bots, be strict. Simple as that. GL