XTones messages in Server Chat log then server crash
Preladon opened this issue ยท 6 comments
Pack Version:
1edd521
Description:
Using Building Gadgets - have bound a medium crate as the inventory. Loaded some items into the crate, attempted to bind the building gadget to the crate. Continuous messages in server instance for a little under a minute to the effect of
[Server thread/WARN] [net.minecraft.nbt.NBTUtil]: Unable to read property: variant with value: sixteen for blockstate: {Properties:{variant:"sixteen"},Name:"xtones:zech"}
Variant text and Name text changes from xtones:zech to other xtones:* messages
Many hundreds of messages a second, and then server crashes.
Expected Behavior:
Unsure - would expect this to work in the normal way.
Steps To Reproduce:
Steps are mentioned above. Happy to provide more detail if this isn't clear.
Crash Log:
crash-2021-02-21_15.55.24-server.txt
Non-crash log where messages can be found - 2021-02-21-3.log
Screenshots:
No obvious screenshots that display the problem - the game continues to run while server is displaying messages, then server crashes a short time afterwards.
I've just replicated this without attempting to bind to an inventory - I've had the same messages in the server log when checking the material list using the building gadget and attempting to 'place' the structure (whilst I didn't have all the material in my inventory, in case this makes a difference).
Is this using the default shape place of the building gadgets, or is it while attempting to place a structure that is composed of XTones blocks? If it is the latter, could you share the structure so that we can attempt replicating the issue with the same structure?
Absolutely - I downloaded the pattern from the 9x9 reddit site - URL is https://www.reddit.com/r/9x9/comments/hmwwhi/omnibuild_large_stone_multifloor_building_for/
It's the 'left side' link - which goes off to Pastebin https://pastebin.com/VG9PFAaq
When I restarted the server, and logged back in, the blocks that I had tried to place had indeed placed, so something is working. However, having given myself a single Xtones block as a test and trying to 'build' again using the copy/paste gadget, it started the logging again. The server was able to catch up in this instance without crashing (though skipped 1137 ticks doing it).
I've done a bit more testing. I have programmed the building gadgets 'copy/paste' gadget with:
- a small pattern (3x3x3) that doesn't contain xtones, and it works exactly as expected.
- a 1x1x1 pattern that contains an xtones tile, this works perfectly.
- a 7x1x5 pattern that contains exclusively xtones tiles (of different colours - same block), this works perfectly.
I then reloaded the above pattern, and immediately triggered the original issue again when trying to paste.
I've also built a creative world in single player (without a dedicated server), and this, although slightly delayed, works as expected. I've confirmed the messages appear in 'latest.log' in the same way, with the same text, but there is no crash.
We suspect that it has something to do with the newer version of XTones after it was taken over by a different developer. The BG structure definition you're using is from many months ago, predating the newer version of XTones.
The definition includes the "variant" NBT property of the XTones blocks as an English word for the variant number like "one" whereas I would expect based on current XTones code that it should be an integer value like 1
. As such, the block it's requesting doesn't make sense to XTones anymore.