[SPIGOT-890] Invisible / Vanish bug Created: 17/May/15  Updated: 11/Dec/17

Status: Open
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Chris Assignee: Unassigned
Resolution: Unresolved Votes: 9
Labels: 1.8, bug, spigot
Environment:

http://www.spigotmc.org/threads/invisible-bug.63281/



 Description   

People are using a bloody annoying invisible bug on my server. For more info: http://www.spigotmc.org/threads/invisible-bug.63281/

How it works?
1) Start and join the server.
2) Start a second client and log-in aswell on the server.
3) The first connected client will be logged out reason "You logged in from another location". (http://gyazo.com/d9540be7a8eb7f3a5665fb44a0989826)
4) Then your second one which you just logged in is invisible. Only when other people relog they can see the invisible guy again.

Example:
[10:24:39] [Server thread/INFO]: Fredse lost connection: You logged in from another location
[10:24:39] [Server thread/WARN]: Filtered out large getEntities call -37,-22 -35,-22
[10:24:39] [Server thread/INFO]: Fredse[/80.***.***.**:43993] logged in with entity id 1755 at ([world]-464.5, 16.0, -443.5)
[10:24:39] [Server thread/WARN]: handleDisconnection() called twice

----------------------------------

17.05 15:35:08 [Server] WARN handleDisconnection() called twice
17.05 15:35:08 [Disconnect] User Philip_Leet has disconnected, reason: §cYou have been kicked for idling more than 30 minutes.

I get that handleDisconnection for almost everything, not only when they logged out in another location.



 Comments   
Comment by James Sinn [ 15/Jun/16 ]

I've had this happen quite a lot. The fix that I used was to not allow a player to join if they have a client already online, and if that happened, kick both clients.

Comment by Johandrex [ 28/Apr/16 ]

@Jannik8500 no, I had this issue in 1.8.* but it's working fine in 1.9.* for me.

Comment by Jannik8500 [ 28/Apr/16 ]

@comonier Spigot 1.8.x is no longer supported.

@everyone: Is this issue in 1.9 also?

Comment by comonier [ 28/Apr/16 ]

hello.... i also use spigot 1.8.8
and this issue begins after a make last version authme update...
dont know if its true... but have same problem here.

Comment by Josh Van Wingerden [ 01/Jun/15 ]

the hacky fix that I implemented was to not allow a disconnect then a new join from the same player within 5 seconds. The teleport invisibility bug and this bug are completely different I think. This only occurs when they disconnect and reconnect in the same instant, hence the "logged in from another location" showing in the logs

Comment by Chris [ 01/Jun/15 ]

Did not fixed it btw.

Comment by Chris [ 01/Jun/15 ]

Holy cow, I do teleport them to spawn indeed.. Can you please add me on skype and help me further? (Chris_GSPvP is my skype).

Comment by Dylan Katz [ 01/Jun/15 ]

@Chris for me this appeared on teleport, not login. Are you teleporting players after login? If so, try to stagger the teleport packets, and do the hide/show.

Comment by Chris [ 01/Jun/15 ]

Already tried.....

Comment by RoboMWM [ 01/Jun/15 ]

Not sure about the entire issue, but noting that it's a client issue, perhaps you should wait longer than 5 ticks...

Comment by Chris [ 01/Jun/15 ]

Yes, on join after 5 ticks I first hide them and then unhide them, didn't worked.

Comment by RoboMWM [ 01/Jun/15 ]

Did you try hiding and unhiding players on join?

Comment by Chris [ 01/Jun/15 ]

No RoboMWM, this is not true. I tried that workaround and it didn't fixed it.

Comment by RoboMWM [ 01/Jun/15 ]

Guys, refer to Dylan Katz' comment, for both information about the problem and a temporary workaround.

Comment by Shane Freeder [ 01/Jun/15 ]

Even still, I've had issues with this on vanilla servers as well as Forge based mod packs, I think this needs patching up inside the Minecraft Server/Client itself and not in Bukkit/Spigot.
There are a huge number of tickets against Mojang regarding entities and other issues with items suffering from invisibility.

Comment by Josh Van Wingerden [ 01/Jun/15 ]

no, this is definitely server related, it only happens when you have the double login as shown in my other comment

Comment by Shane Freeder [ 01/Jun/15 ]

You're looking in the wrong area, this is not a Spigot/bukkit bug but a bug in Minecraft client itself.

Comment by Chris [ 01/Jun/15 ]

Still no fix for this?

Comment by Josh Van Wingerden [ 26/May/15 ]

Bungee logs from one of the occurrences that this happens on my server maybe will help

23:21:37 [INFO] [Auty7373] <-> ServerConnector [spleef] has connected
23:21:37 [INFO] [Auty7373] disconnected with: ?cYou are already connected to this server!
23:21:37 [INFO] [Auty7373] disconnected with: ?cYou are already connected to this server!
23:21:37 [INFO] [Auty7373] <-> ServerConnector [spleef] has connected
23:21:37 [INFO] [Auty7373] disconnected with: ?fYou logged in from another location
23:21:37 [INFO] [Auty7373] <> DownstreamBridge <> [spleef] has disconnected

Comment by Dylan Katz [ 20/May/15 ]

I've been getting the same issue on spigot 1.8.4, without the "Logged in from another location" message. This is an issue in the Minecraft client, and is covered in the Mojang bug trackers with this bug, and seems to be caused by this bug. My workaround for this is hiding then showing players after rapid teleport, which is when this bug occurred for me.

Comment by Shane Freeder [ 19/May/15 ]

Has this been tried on a vanilla server?
I also seem to recognize this type of bug inside a few modded servers too, sometimes a player will join and be invisible

Comment by SpigotMC [ 17/May/15 ]

Your build is not the latest and therefore may be the reason you are having this issue. Spigot is 1 version(s) behind. CraftBukkit is 1 version(s) behind. This message was automatically generated and is not guaranteed to be a solution to your issue.

Generated at Tue Dec 16 20:07:34 UTC 2025 using Jira 10.3.15#10030015-sha1:909cc43d292ca09e774c1a243d9819be3f2628cd.