Puzzles Lib [Forge & Fabric]

Puzzles Lib [Forge & Fabric]

99M Downloads

[Bug]: Server version <= 8.1.25 cannot be connected by client version >= 8.1.28

Closed this issue ยท 1 comments

commented

Mod Loader (Required)

Fabric

Minecraft Version(s) (Required)

1.20.1

Mod Version(s) (Required)

v8.1.32, Tested version: v8.1.25, v8.1.28

Other Mods Involved (Required)

Yes

Notes (Required)

Step to reproduce:

  1. Create two instance, the one with latest version of puzzleslib, and the other is v8.1.25
  2. Start a game & open to LAN on the v8.1.25 instance
  3. Connect the instance with another instance.

Expected behavior:
Joined the game

Exception:

[Netty Client IO #0/ERROR]: Encountered exception while handling in channel with name "puzzleslib:1/2"
java.lang.IndexOutOfBoundsException: readerIndex(9) + length(8) exceeds writerIndex(12): UnpooledSlicedByteBuf(ridx: 9, widx: 12, cap: 12/12, unwrapped: PooledUnsafeDirectByteBuf(ridx: 0, widx: 12, cap: 12))

Traceback see attached log

latest.log (Required)

https://mclo.gs/cHFWl85

commented

There is no guarantee for backward compatibility between versions. Ideally always use the latest version.