1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

XBOX PROFILE

Discussion in 'Development' started by Hipster, Oct 24, 2017.

  1. Hipster

    Hipster Zombie

    Messages:
    214
    I tried passing and adding xuid in updatePlayerListData()

    PHP:
    public function updatePlayerListData(UUID $uuidint $entityIdstring $nameSkin $skinstring $xuid='', array $players null){
            
    $pk = new PlayerListPacket();
            
    $pk->type PlayerListPacket::TYPE_ADD;
            
    $pk->entries[] = PlayerListEntry::createAdditionEntry($uuid$entityId$name$skin$xuid);
            
    $this->broadcastPacket($players ?? $this->playerList$pk);
        }
    passed player's xuid by $this->getXuid() its still not showing profile of the user in pause menu.. what m i doing wrong?
     
  2. linuzo

    linuzo Spider

    Messages:
    9
    GitHub:
    linuzo
    Did you figure this out?? I am also wondering how to get the xbox profile to work
     
  3. Hipster

    Hipster Zombie

    Messages:
    214
    no i didn't, no one knows here.
     
  4. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    That's not necessarily true - they might not have time to look at it, not have time to reply, have more important things to work on, or not be interested.
     
  5. Hipster

    Hipster Zombie

    Messages:
    214
    lol you dont know either
     
  6. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    I'm sure he does, but he probably doesn't want to help you @Hipster, and neither do I. I would rather help someone who doesn't insult everybody in return...
     
    HimbeersaftLP and jasonwynn10 like this.
  7. Hipster

    Hipster Zombie

    Messages:
    214
    this aint for me lol, so many people wanna know -.-
     
  8. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Well you're the one who asked in this thread.
     
  9. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
  10. Hipster

    Hipster Zombie

    Messages:
    214
    yep searched and used that, didnt work on pmmp,
     
  11. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Others say it does. Are you sure that you tried it correctly?
     
  12. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    If you already tried that, then why didn't the code you showed us have anything to do with that answer? And why make a new thread instead of replying there with your code?
     
  13. linuzo

    linuzo Spider

    Messages:
    9
    GitHub:
    linuzo
    Here:
    PHP:
    public function onJoin(PlayerJoinEvent $event) {
          
    $player $event->getPlayer();
          
    $pk = new PlayerListPacket();
          
    $pk->type PlayerListPacket::TYPE_ADD;
          
    $pk->entries[] = PlayerListEntry::createAdditionEntry($player->getUniqueId(), $player->getId(), $player->getName(),$player->getSkin(), $player->getXuid());
              foreach(
    $this->getServer()->getOnlinePlayers() as $players){
                
    $players->dataPacket($pk);
    CLOSED!
     
    NickTehUnicorn likes this.
  14. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    Didn't work on pmmp or you just can't do it because I just did it using pmmp latest version
     
  15. linuzo

    linuzo Spider

    Messages:
    9
    GitHub:
    linuzo
  16. linuzo

    linuzo Spider

    Messages:
    9
    GitHub:
    linuzo
  17. Hipster

    Hipster Zombie

    Messages:
    214
  18. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
  19. Hipster

    Hipster Zombie

    Messages:
    214
    better to just edit src
     
  20. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    what do yu mean
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.