raknetify icon indicating copy to clipboard operation
raknetify copied to clipboard

Velocity Plugin Incompatibility: LimboAPI (+ LimboAuth and/or LimboFilter)

Open CamperSamu opened this issue 3 years ago • 6 comments

Describe the bug

Everytime you try to login on a 1.19.2/1.19.2-compatible server via Raknet the client crashes due to a OOB exception on a login packet.

To Reproduce

Steps to reproduce the behavior:

  1. Host a Velocity + Paper/Quilt 1.19.2 server (my Quilt backend has raknetify)
  2. Try to join
  3. Get disconnected.

Expected behavior

The client should join without problems.

Screenshots

image image

Runtime info (please complete the following information):

  • OS: Windows 10 21H1 (19043.1826)
  • Minecraft version: 1.19.2
  • Mod version: 0.1.0-alpha.5.12 (happens on older versions too)

Crash reports / logs

Netty Client Crash

Other mods

Client Modlist Velocity Proxy Plugins

Checklist

  • [x] I am using the official version of the mod.
  • [x] I tried the latest development version but the issue persists.
  • [x] I searched for similar open issues and could not find an existing bug report on this.

CamperSamu avatar Aug 14 '22 16:08 CamperSamu

On the proxy side I get no errors outside of my disconnection (even with velocity's debug packets java arg).

CamperSamu avatar Aug 14 '22 16:08 CamperSamu

Add jvm flag -Draknetify.debug=true to velocity and your client and try reproduce again.

ishland avatar Aug 15 '22 01:08 ishland

Velocity now reports invalid packet IDs for 1.19.1 and the client throws OOBs on packet decoding (because "channelHandler is null"

CamperSamu avatar Aug 15 '22 15:08 CamperSamu

Try setting compression threshold to -1 on all backend servers.

ishland avatar Aug 15 '22 16:08 ishland

Sadly it doesn't do the trick, still getting the same issues... I even tried removing Debugify and Krypton, but nothing

CamperSamu avatar Aug 15 '22 16:08 CamperSamu

Ok I finally discovered the issue. Apparently there's an incompatability between LimboAPI plugins on Velocity with Raknetify. I don't know what is causing it in the detail, but it might be because of LimboAuth handling login stuff on a virtual server before allowing the client to join an actual server (which I need because it has a cool feature that allows me and my staff to be notified by Telegram and Discord when they log in and kick the player in case it got hacked)

I'll open a issue over Elytrium/LimboAPI and rename this one then.

CamperSamu avatar Aug 15 '22 17:08 CamperSamu