CardboardPowered / cardboard

The Bukkit/Spigot/Paper API implementation for Fabric
https://cardboardpowered.org
GNU General Public License v3.0
952 stars 56 forks source link

Trouble signing into server after first sign-in #253

Open MarcusColorado opened 2 years ago

MarcusColorado commented 2 years ago

Server setup:

Fabric 1.16.5 Velocity (Proxy)

Without cardboard installed, everything works fine and I can sign-in and out over and over again.

Then I install cardboard and reset the server. The first time things are normal...

17.08 18:47:42 [Server] INFO [Bukkit|ServerLoginNetworkHandler] UUID of player TheDude is 5a1d8ff3-5f69-3b77-919c-d56f3e4b7f4c
17.08 18:47:42 [Connect] User TheDude, IP 111.111.111.111
17.08 18:47:42 [PebbleHost] TheDude ran command Message of the Day
17.08 18:47:58 [Server] INFO [io.github.apace100.origins.Origins] Player TheDude chose Origin: origins:human, for layer: origins:origin
17.08 18:47:59 [Server] INFO [io.github.apace100.origins.Origins] Player TheDude chose Origin: origins-classes:nitwit, for layer: origins-classes:class

Everything is good. All the other mods are functioning fine, then I signed out...

17.08 18:48:15 [Disconnect] User TheDude has disconnected, reason: Disconnected
17.08 18:48:15 [Server] INFO TheDude left the game

But when I attempt to sign back in I get the following...

17.08 18:48:24 [Server] INFO [Bukkit|ServerLoginNetworkHandler] UUID of player TheDude is 5a1d8ff3-5f69-3b77-919c-d56f3e4b7f4c
17.08 18:48:24 [Server]  Failed to handle packet for /222.222.222.222:22222
17.08 18:48:24 [Server] INFO net.minecraft.class_148: Loading entity NBT
17.08 18:48:24 [Server] INFO at net.minecraft.class_1297.method_5651(class_1297.java:1663) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.class_29.method_261(class_29.java:580) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.class_3324.method_14600(class_3324.java:344) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.class_3324.method_14570(class_3324.java:138) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.class_3248.method_14384(class_3248.java:113) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.class_3248.redirect$bea000$handlePlayerJoin(class_3248.java:3062) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.class_3248.method_18785(class_3248.java:65) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.class_2535.method_10754(class_2535.java:228) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.class_3242.method_14357(class_3242.java:173) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:882) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.class_3176.method_3813(class_3176.java:312) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at java.lang.Thread.run(Thread.java:831) [?:?]
17.08 18:48:24 [Server] INFO Caused by: java.lang.IllegalAccessError: Update to non-static final field net.minecraft.class_1277.field_5828 attempted from a different method (setStacks) than the initializer method <init> 
17.08 18:48:24 [Server] INFO at net.minecraft.class_1277.setStacks(class_1277.java) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at top.theillusivec4.curios.common.inventory.DynamicStackHandler.deserializeTag(DynamicStackHandler.java:88) ~[curios-fabric-0.0.13-1.16.5.jar:?]
17.08 18:48:24 [Server] INFO at top.theillusivec4.curios.common.inventory.CurioStacksHandler.deserializeTag(CurioStacksHandler.java:154) ~[curios-fabric-0.0.13-1.16.5.jar:?]
17.08 18:48:24 [Server] INFO at top.theillusivec4.curios.common.PlayerCuriosComponent.readFromNbt(PlayerCuriosComponent.java:268) ~[curios-fabric-0.0.13-1.16.5.jar:?]
17.08 18:48:24 [Server] INFO at dev.onyxstudios.cca.api.v3.component.ComponentV3.fromTag(ComponentV3.java:74) ~[a5445ae4-497f-4c47-835b-3aa57c731004.jar:?]
17.08 18:48:24 [Server] INFO at nerdhub.cardinal.components.api.util.container.AbstractComponentContainer.fromTag(AbstractComponentContainer.java:180) ~[a5445ae4-497f-4c47-835b-3aa57c731004.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.class_1297.handler$bii000$fromTag(class_1297.java:8740) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO at net.minecraft.class_1297.method_5651(class_1297.java:1654) ~[intermediary-server.jar:?]
17.08 18:48:24 [Server] INFO ... 14 more
17.08 18:48:24 [Disconnect] User com.mojang.authlib.GameProfile@136d0d1a[id=5a1d8ff3-5f69-3b77-919c-d56f3e4b7f4c,name=TheDude,properties={},legacy=false] (/222.222.222.222:22222) has disconnected, reason: Internal server error

If I remove cardboard and restart the server I can again sign into the server without any issues, so the problem is definitely cardboard, but unfortunately I can't pin point where the issue is.

Not sure if this has something to do with the website pointing to the 1.16.4 download when you click on the 1.16.5 download link... Perhaps there are some incompatibilities. I just know currently it is unusable.

L0rdLogan commented 2 years ago

Hi as far as I am aware at the moment, most of the effort is being put onto 1.17.1 at the minute, so while this will get looked into it is low priority