Epidra / CasinoCraft

3 stars 3 forks source link

1.12 - Meanimos game created a corrupted chunk on server #1

Closed Hydraheads closed 3 years ago

Hydraheads commented 4 years ago

This is sort of weird, but on my server there are a tiny handful of players who have bizarre interactions with arcades. These players have things spawn off screen for no discernable reason, especially in snake. I am not sure if this is linked to the following issue, but it seems like it could be related somehow.

The minimos machine caused a server crash loop every time somebody entered the chunk. It was fixed by carefully extracting the tileentity from the chunk with nbt edit. Here is the report:

crash-2020-11-11_18.25.06-server.txt

Apparently, this happened while one of those players was playing the game. As for what seemed to be causing it in data, the tileentity had these flags:

domino0x: -1 domino0y: -1 domino1x: -1 domino1y: -1

Hydraheads commented 4 years ago

Same crash happened but on columns crash-2020-11-13_23.39.40-server.txt

Epidra commented 3 years ago

It was expected it break on columns, too, and most likely also on tretris. That bug is a synching failure with the machine and the player and hard to track down. Not sure if it's even completely repairable on 1.12.x, but I can try to make him not crash.

Hydraheads commented 3 years ago

To clarify, it is a server crash, the entire server goes down everytime somebody loads in the chunk with the corrupted machine. Perhaps the mod needs to have a failsafe if the number is out of bounds to reset the positions?

Epidra commented 3 years ago

Then I should look through the Save/Load system, too. Maybe some stupid oversight. Anyway, a failsafe will come.