CrucibleMC / Crucible

Crucible, a fork of Thermos, is a CraftBukkit and Forge server implementation for 1.7.10, providing the ability to load both Forge mods and Bukkit plugins alongside each other.
https://discord.gg/jWSTJ4d
GNU General Public License v3.0
184 stars 64 forks source link

[BUG?] Inventory of player clears after first joining to the server (from Thermos) #158

Closed ErriourMe closed 4 months ago

ErriourMe commented 5 months ago

I updated my server from Thermos to Crucible. Map and player data was got from old Thermos server. In that time I had something in the inventory. After starting the core, when I'm joining to the server, my inventory clears. No

I tryed to compare old and new .dat files and found that Tharmos had symbolic item IDs in the inventory, but Crucible has numeric IDs now. In that reason the core clears invenotry (maybe).

How to fix it?

To Reproduce Steps to reproduce the behavior:

  1. Download and run Thermos core (https://github.com/CyberdyneCC/Thermos/releases/tag/58)
  2. Join to the server, place some items in the inventory, leave from server.
  3. Change the core to Crucible and run. The world must remain from the Thermos (https://github.com/CrucibleMC/Crucible/releases/tag/staging-0c25d25)
  4. Join to the server again

Environment (please complete the following information):

Richard-Rogalski commented 5 months ago

I migrated just fine from thermos, are you sure both servers are looking at the same .dat files? I had to move some files from using online UUIDs to offline UUIDs

ErriourMe commented 5 months ago

I migrated just fine from thermos, are you sure both servers are looking at the same .dat files? I had to move some files from using online UUIDs to offline UUIDs

Yes, it's the same .dat files. Players UUIDs didn't change (I'm useing custom launcher). Position, storages from CustomNPCs, gamemode -- this info is unchangable when I joined to the server. Only inventory was broken.

EverNife commented 4 months ago

@ErriourMe have you found a reason or a logic on this issue?