Doggy Talents

Doggy Talents

27M Downloads

Operator cannot join server

hexagonelle opened this issue · 7 comments

commented

Environment And Mod Information:

  • Minecraft Version: 1.19.2
  • Forge Version: 43.1.65
  • Doggy Talents Version: 1.19.2-2.6.5
  • Java Version: java 17.0.2 2022-01-18 LTS
  • Operating System (OS): Windows 10 Version 21H2 (OS Build 19044.2251)

Logs

Not available

Issue Description:

If a user is opped on a server with Doggy Talents and attempts to connect, the user is immediately disconnected. If a user is on the server, and then made op, the server disconnects that user with the error "Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(17789) + length(1) exceeds writerIndex(17789): UnpooledHeapByteBuf(ridx:17789, widx: 17789, cap: 17789/17789)

Steps to reproduce:

  1. Create a server running Forge 43.1.65, with Doggy Talents 1.19.2.2.6.5 as the the only mod.
  2. Connect to the server.
  3. Run the command /op [username] in the server, replacing [username] with your username.
  4. You will be kicked from the server.

Additional Information:

  • Screenshots:
    image
commented

After, a bit of small bit of digging I discovered that I was registering COMMAND_ARGUMENT_TYPES incorrect. From 1.18 to 1.19 they now use a proper registry: https://forums.minecraftforge.net/topic/112177-argumenttypes-in-minecraft-119/

After correcting that issue, I can not reproduce this issue anymore. It seems linked, I will release this fix and close if no one else complains.

commented

Should be fixed in "1.19.2-2.6.10"

commented

Have the excact same issue in the same minecraft version, just with essential world hosting instead of a forge server.

commented

Thanks for reporting, unfortunately it's going to be a few weeks before I can take a look. Thanks for your patience in advance.

commented

Same here.
Forge 1.19.2-43.2.0
DoggyTalents 1.19.2-2.6.5

commented

Same here
Forge 1.19.2-43.2.0
DoggyTalents_2.6.5_1.19.2

commented

Same issue here, spent the night trying to find the culprit in my pack.
Forge 1.19.2 43.2.1
DoggyTalents-1.19.2-2.6.5.jar

Please consider putting a warning on the curseforge page so people are aware of this on the 1.19.2 version.