TARDIS

TARDIS

228k Downloads

Player's TARDIS stuck in siege mode and can't be found

DrPepplies opened this issue ยท 1 comments

commented

Describe the bug

A player's siege cube was accidentally destroyed, but we can't unsiege or restore the TARDIS for some reason.

When doing /tardissudo name siege off, or /tardissudo name desiege, it says "The specified player does not have a TARDIS!" and prints out an error log. The error log is below, but it doesn't seem like a TARDIS thing specifically, looks more like something is broken with bukkit.

However when trying other methods like /tremote name rebuild it says "You cannot use that command while the TARDIS is in siege mode!" which implies it is able to find them? And there's no error.

All I can guess is it's because they've logged out, I checked on namemc and multiple people have had their username at different times.

To Reproduce

Not sure how it happened or how to reproduce. It's only happening for this player.

Screenshots

No response

Log files

[Server] ERROR --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH  - git-Paper-308 (MC: 1.18.2) ---
[Server] ERROR The server has not responded for 10 seconds! Creating thread dump
[Server] ERROR ------------------------------
[Server] ERROR Server thread dump (Look for plugins here before reporting to Paper!):
[Server] ERROR Ticking entity: minecraft:player, entity class: net.minecraft.server.level.EntityPlayer
[Server] ERROR Entity status: removed: false, valid: true, alive: true, is passenger: false
[Server] ERROR Entity UUID: fa93a819-4b23-4c06-89ba-cc60721808ed
[Server] ERROR Position: world: 'world' at location (44.53085847851065, 60.5, 41.56793124861284)
[Server] ERROR Velocity: (0.0, -0.0784000015258789, 0.0) (in blocks per tick)
[Server] ERROR Entity AABB: AABB[44.23085846658972, 60.5, 41.26793123669191] -> [44.83085849043158, 62.299999952316284, 41.867931260533766]
[Server] ERROR Total packets processed on the main thread for all players: 2772113
[Server] ERROR ------------------------------
[Server] ERROR Current Thread: Server thread
[Server] ERROR PID: 25 | Suspended: false | Native: true | State: RUNNABLE
[Server] ERROR Stack:
[Server] ERROR java.base@17/java.io.FileInputStream.read0(Native Method)
[Server] ERROR java.base@17/java.io.FileInputStream.read(FileInputStream.java:223)
[Server] ERROR java.base@17/java.util.zip.CheckedInputStream.read(CheckedInputStream.java:59)
[Server] ERROR java.base@17/java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:266)
[Server] ERROR java.base@17/java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:258)
[Server] ERROR java.base@17/java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:164)
[Server] ERROR java.base@17/java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:79)
[Server] ERROR java.base@17/java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:91)
[Server] ERROR net.minecraft.nbt.NbtIo.createDecompressorStream(NbtIo.java:49)
[Server] ERROR net.minecraft.nbt.NbtIo.readCompressed(NbtIo.java:53)
[Server] ERROR net.minecraft.world.level.storage.PlayerDataStorage.getPlayerData(PlayerDataStorage.java:108)
[Server] ERROR org.bukkit.craftbukkit.v1_18_R2.CraftOfflinePlayer.getData(CraftOfflinePlayer.java:187)
[Server] ERROR org.bukkit.craftbukkit.v1_18_R2.CraftOfflinePlayer.getBukkitData(CraftOfflinePlayer.java:191)
[Server] ERROR org.bukkit.craftbukkit.v1_18_R2.CraftOfflinePlayer.getName(CraftOfflinePlayer.java:59)
[Server] ERROR TARDIS-2427.jar//me.eccentric_nz.TARDIS.utility.TARDISStaticUtils.getOfflinePlayer(TARDISStaticUtils.java:294)
[Server] ERROR TARDIS-2427.jar//me.eccentric_nz.TARDIS.commands.sudo.TARDISSudoCommand.onCommand(TARDISSudoCommand.java:79)
[Server] ERROR org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[Server] ERROR org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
[Server] ERROR org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(CraftServer.java:906)
[Server] ERROR net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(ServerGamePacketListenerImpl.java:2306)
[Server] ERROR net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2117)
[Server] ERROR net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2098)
[Server] ERROR net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:46)
[Server] ERROR net.minecraft.network.protocol.game.ServerboundChatPacket.a(ServerboundChatPacket.java:6)
[Server] ERROR net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51)
[Server] ERROR net.minecraft.network.protocol.PlayerConnectionUtils$$Lambda$7939/0x00000008029b68e0.run(Unknown Source)
[Server] ERROR net.minecraft.server.TickTask.run(TickTask.java:18)
[Server] ERROR net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153)
[Server] ERROR net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
[Server] ERROR net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1399)
[Server] ERROR net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188)
[Server] ERROR net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126)
[Server] ERROR net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1376)
[Server] ERROR net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1369)
[Server] ERROR net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:114)
[Server] ERROR net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1503)
[Server] ERROR net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1225)
[Server] ERROR net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315)
[Server] ERROR net.minecraft.server.MinecraftServer$$Lambda$4093/0x000000080145c000.run(Unknown Source)
[Server] ERROR java.base@17/java.lang.Thread.run(Thread.java:831)
[Server] ERROR ------------------------------
[Server] ERROR --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[Server] ERROR ------------------------------

'/tardis version' output

TARDIS] Server version: git-Paper-308 (MC: 1.18.2)
[TARDIS] TARDIS version: 4.10.0-b2427
[TARDIS] TARDISChunkGenerator version: 4.10.0
[TARDIS] dynmap version: 3.4-beta-2-761
[TARDIS] WorldBorder version: 1.9.10 (beta)
[TARDIS] Multiverse-Core version: 4.3.2-SNAPSHOT-b870
[TARDIS] WorldGuard version: 7.0.8-SNAPSHOT+2191-271b32a
[TARDIS] CoreProtect version: 21.2

commented

Kinda looks like the player data is corrupt or something.

You can edit the TARDIS.db file (or MySQL database) directly - find the player's tardis record and set siege_on to 0