Solved Fake player skin bug

Discussion in 'Plugin Development' started by PluginMaker, Jun 9, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    PluginMaker

    Hello, I have a method of creating fake players, and it use to work in previous versions but now with the new UUID system it broke.
    The fake players are being created properly, but it seems that something is messed up with their skins.
    The method goes like this:
    I create a villager and then I use PacketPlayOutNamedEntitySpawn to make him look like an actual player. I'm using the GameProfile of the real player in the packet and change the location and entity id so it would be correct.
    I have read in the minecraft protocol that NPCs should have something called UUID v2, but i have no idea what it means.

    p.s. sorry for my bad english
     
  2. Offline

    pcgamers123

    You know what a UUID is right?
     
  3. Offline

    PluginMaker

    yeah, UUID is unique identifier for players. previously the unique identifier was the player name, but now as players can change names mojang needed a new unique identifer- the UUID.
    I'm attatching the right uuid to the entity while sending the packet, if that's where you're going with this

    NEVER MIND, DIDN'T REALIZE I WAS COPYING THE UUID OF THE PLAYER AND THE SERVER WAS ON OFFLINE MODE.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 8, 2016
Thread Status:
Not open for further replies.

Share This Page