MarkusBordihn / BOs-Easy-NPC

Create easily NPC for your world or for your mod.
Other
20 stars 8 forks source link

[Crash Report] Prevent access to the server. #347

Closed McReiz closed 1 month ago

McReiz commented 1 month ago

Minecraft and Mod version 🐞 Minecraft: 1.20.1, Quilt 0.9.2, Mod Version: 5.6.0

Description of the crash 💥 After spawning an NPC, configuring the NPC, and restarting the server, it no longer allows access to the server.

Steps to reproduce the crash ⚙️

  1. Configure the NPC to give an 'Advancement' using the execute command.
  2. Restart the server and wait for it to start.
  3. Enter the server and cannot access it; the following error appears: io.netty.handler.codec.DecoderException: Unknown serializer type 83 in screen

Expected behavior before the crash ✔️ This happened several times, when I delete the mod "Easy NPC", I can enter again

Logs 📝

Server log (before restarting): https://gist.github.com/McReiz/cb0bbf7f4892becf214cbc8395bc3443 after: https://gist.github.com/McReiz/e6a109388bd97f4569cc4a155dd5be2f client-side lasted log: https://gist.github.com/McReiz/d6fd623869611c67824b66e8923fe311

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.

MarkusBordihn commented 1 month ago

Thanks for the report. Unfortunately, the log doesn't point to a specific part of the code, so it's unclear exactly what is happening here.

However, the log does show that all necessary data serializers are being registered, such as:

[04:06:10] [main/INFO]: Register data serializers ...
[04:06:10] [main/INFO]: - Registering Synched Attack Data for EasyNPCBaseEntity.
[04:06:10] [main/INFO]: - Registering Synched Attribute Data for EasyNPCBaseEntity.
[04:06:10] [main/INFO]: - Registering Synched Display Attribute Data for EasyNPCBaseEntity.
[04:06:10] [main/INFO]: - Registering Synched Navigation Data for EasyNPCBaseEntity.
[04:06:10] [main/INFO]: - Registering Synched Owner Data for EasyNPCBaseEntity.
[04:06:10] [main/INFO]: - Registering Synched Profession Data for EasyNPCBaseEntity.
[04:06:10] [main/INFO]: - Registering Synched Render Data for EasyNPCBaseEntity.
[04:06:10] [main/INFO]: - Registering Synched Skin Data for EasyNPCBaseEntity.
[04:06:10] [main/INFO]: - Registering Synched Sound Data for EasyNPCBaseEntity.
[04:06:10] [main/INFO]: - Registering Synched Trading Data for EasyNPCBaseEntity.
[04:06:10] [main/INFO]: - Registering Synched Variant Data for EasyNPCBaseEntity.
[04:06:10] [main/INFO]: Register model data serializers for ...
[04:06:10] [main/INFO]: - Registering Synched Model Data for EasyNPCBaseModelEntity.
[04:06:10] [main/INFO]: - Registering Synched Model Position Data for EasyNPCBaseModelEntity.
[04:06:10] [main/INFO]: - Registering Synched Model Rotation Data for EasyNPCBaseModelEntity.
[04:06:10] [main/INFO]: - Registering Synched Model Visibility Data for EasyNPCBaseModelEntity.
[04:06:10] [main/INFO]: - Registering Synched Scale Data for EasyNPCBaseModelEntity.

This suggests the issue could be related to an incompatibility with other mods. I’ll try to reproduce the issue on Quilt. However, if the server is running in offline mode, there could be other factors causing the issue that I might not be able to replicate on my side.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 5 days with no activity.