walrusone / SkyWarsReloaded

SkyWarsReloaded
GNU General Public License v3.0
22 stars 52 forks source link

[BUG] I stay invisible after lossing the game #68

Open ChefMC opened 6 years ago

ChefMC commented 6 years ago

After I lose the game (maybe when win too, but it was not every time) and spectating, after respawn in lobby I stay invisible. Even after joining new game...

image

image

image

lukasvdgaag commented 6 years ago

Hello! A SkyWarsReloaded supporter here!

Is there something like an error or something in the console?

ChefMC commented 6 years ago

No. Also I have very-very strange bugs. For example which logged in console:

[14:33:29] [Server thread/WARN]: net.minecraft.server.v1_12_R1.ExceptionWorldConflict: Failed to check session lock for world located at .\Vertigo, aborting. Stop the server and delete the session.lock in this world to prevent further issues.
[14:33:29] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.WorldNBTStorage.checkSession(WorldNBTStorage.java:85)
[14:33:29] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.World.checkSession(World.java:2812)
[14:33:29] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.WorldServer.a(WorldServer.java:1077)
[14:33:29] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.WorldServer.save(WorldServer.java:1047)
[14:33:29] [Server thread/WARN]:    at org.bukkit.craftbukkit.v1_12_R1.CraftWorld.save(CraftWorld.java:755)
[14:33:29] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:704)
[14:33:29] [Server thread/WARN]:    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
[14:33:29] [Server thread/WARN]:    at java.lang.Thread.run(Unknown Source)
[14:33:29] [Server thread/ERROR]: Couldn't save chunk; already in use by another instance of Minecraft?
net.minecraft.server.v1_12_R1.ExceptionWorldConflict: Failed to check session lock for world located at .\Vertigo, aborting. Stop the server and delete the session.lock in this world to prevent further issues.
    at net.minecraft.server.v1_12_R1.WorldNBTStorage.checkSession(WorldNBTStorage.java:85) ~[spigot-1.12.2.jar:git-Spigot-4bd94dc-bacaf92]
    at net.minecraft.server.v1_12_R1.World.checkSession(World.java:2812) ~[spigot-1.12.2.jar:git-Spigot-4bd94dc-bacaf92]
    at net.minecraft.server.v1_12_R1.ChunkRegionLoader.saveChunk(ChunkRegionLoader.java:127) ~[spigot-1.12.2.jar:git-Spigot-4bd94dc-bacaf92]
    at net.minecraft.server.v1_12_R1.ChunkProviderServer.saveChunk(ChunkProviderServer.java:209) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bacaf92]
    at net.minecraft.server.v1_12_R1.ChunkProviderServer.unloadChunk(ChunkProviderServer.java:316) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bacaf92]
    at net.minecraft.server.v1_12_R1.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:268) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bacaf92]
    at net.minecraft.server.v1_12_R1.WorldServer.doTick(WorldServer.java:294) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bacaf92]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:801) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bacaf92]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bacaf92]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bacaf92]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bacaf92]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]

Disasters on server:

  1. Game is ended, but I still on destroyed arena and can't teleport to lobby by /sw leave or /spawn: 2018-07-15_14 14 47

After rejoin we jumped on pressure plate to start new game... and game was started on this old destroyed arena:

2018-07-15_14 16 29

  1. NametagEdit prefixes are disappears after joining SkyWars game. You can try make it compatible using that (latest section) 2018-07-15_14 27 50

2018-07-15_14 38 40

And some suggestions:

I went home 30 minutes ago and may forgot some issues

lukasvdgaag commented 6 years ago

Some of these bugs are already noticed. But since the contributor of this SkyWars plugin is offline, there is not much we can do about it. I can try fixing it my own by editing the source code.

About the error... It turns out your world isn't correct. Try removing the session.lock inside the world.

ChefMC commented 6 years ago

I removed it long ago. Fix please presented bugs as you can

walrusone commented 5 years ago

I'll look into this. I know the invisibility bug is caused by teleports sometimes, but I've been unable to repeat this in my testing.