samolego / SimpleAuth

Simple authentication mod for Fabric or Forge servers.
https://modrinth.com/mod/SimpleAuth
MIT License
39 stars 14 forks source link

[BUG] [Fabric] Auth not working if Krypton is installed #53

Closed Bobronium closed 3 years ago

Bobronium commented 3 years ago

Mod Loader

Versions

Describe the bug If Krypton is installed, it's impossible to authenticate: you stuck in place (possible that nothing is renderred), chat/commands are not working, /register and /login commands do nothing

Steps to reproduce the behavior:

  1. Install SimpleAuth and Krypton
  2. Try to enter the server while not already logged in (or use /logout and reconnect)
  3. DOOR STUCK! I BEG YOU! Things described above happen.

Expected behavior Authentication happens normally

Additional context Issue in Krypton repo: https://github.com/astei/krypton/issues/19

I'm not sure, where it should/can be fixed, but it would be cool to have ability to use Krypton while having beautiful auth system on a server.

samolego commented 3 years ago

Humm, this is strange, it runs fine on my test server ... Could you try updating to 1.7.5? I have no idea what could be wrong. Any errors in console?

Bobronium commented 3 years ago

Just tested it, unfortunately, no luck. I'm on Minecraft 1.16.4, this might be the issue?

Nothing special in a console too:

[21:43:56] [main/INFO]: [SimpleAuth] SimpleAuth mod by samo_lego.
[21:43:56] [main/INFO]: [SimpleAuth] This mod wouldn't exist without the awesome Fabric Community. TYSM guys!
[21:43:56] [main/INFO]: Krypton is now accelerating your Minecraft server's networking stack ?
...
[21:44:08] [Server thread/INFO]: Done (9.057s)! For help, type "help"
[21:44:16] [Server thread/INFO]: Player [/127.0.0.1:64535] logged in with entity id 89 at (-117.51515644804695, 44.0, 873.3325417009494)
[21:44:16] [Server thread/INFO]: Player joined the game
[21:44:20] [Server thread/INFO]: Player lost connection: Disconnected
[21:44:20] [Server thread/INFO]: Player left the game

Surely, I tested that everything works as intended with only one of Krypton or SimpleAuth installed. Also removing all other mods didn't change anything for me.

Bobronium commented 3 years ago

Krypton 0.1.2 fixed the issue: https://github.com/astei/krypton/issues/19#issuecomment-777768126