PluginBugs / Issues-MotionCapture

Repository used to keep track of issues of my plugin MotionCapture
0 stars 0 forks source link

Motion Capture Bug with BungeeCord #11

Open DrHaiku opened 8 months ago

DrHaiku commented 8 months ago

Terms

Discord tag (optional)

drhaiku

What happened?

Hello ! I have a problem with MotionCapture which does not work with bungee cord, the motions work but as soon as we put on a skin it kicks us. Anyone have a solution? Thanks in advance !

Steps to reproduce the issue

  1. Rec a motion
  2. it's working nice
  3. apply the skin
  4. start the motion
  5. you're kick

Server version

1.20

MotionCapture Version

2.3.3

ProtocolLib Version

5.1.0-SNAPSHOT-654

LoneLibs Version

1.0.25

FULL server log

I give u just the error, there isn't another error

Error (optional)

18:15:26 [INFO] [BungeeChat] COMMAND > parc > DrHaiku: /mc play-all lelenfant1
18:15:44 [INFO] [BungeeChat] COMMAND > parc > DrHaiku: /mc play-all lelberger1
18:15:44 [SEVERE] [DrHaiku] <-> DownstreamBridge <-> [parc] - encountered exception
java.lang.IllegalArgumentException: Team mocap_npc_literal{DrHaiku} already exists in this scoreboard
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:220)
    at net.md_5.bungee.api.score.Scoreboard.addTeam(Scoreboard.java:73)
    at net.md_5.bungee.connection.DownstreamBridge.handle(DownstreamBridge.java:243)
    at net.md_5.bungee.protocol.packet.Team.handle(Team.java:124)
    at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:114)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333)
    at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:454)
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
    at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800)
    at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:509)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:407)
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at java.base/java.lang.Thread.run(Thread.java:833)
18:15:44 [INFO] [DrHaiku] disconnected with: IllegalArgumentException : Team mocap_npc_literal{DrHaiku} already exists in this scoreboard @ com.google.common.base.Preconditions:220
18:15:44 [INFO] [BungeeChat] LEAVE > parc > DrHaiku: [-] DrHaiku
18:15:44 [INFO] [DrHaiku] -> UpstreamBridge has disconnected
18:15:44 [INFO] [DrHaiku] <-> DownstreamBridge <-> [parc] has disconnected

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

image

LoneDev6 commented 8 months ago

Will be checked as soon as possible, thanks

StanByes commented 8 months ago

Hey @LoneDev6. I've had the same problem in my project, it's cause by new feature in BungeeCord. To fix that, I created an AtomicInteger that I increment at any team creation 👍

Have a nice day 💯

DrHaiku commented 8 months ago

Hi ! I want to know if there is anything new regarding the bug? Without wanting to be pushy, because of that my project is a little on hold since it includes shows and these cannot be performed. Good luck to you and see you soon!