Human skin cause disconnect

Discussion in 'Development' started by Emirhan Akpınar, Jun 12, 2019.

  1. Emirhan Akpınar

    Emirhan Akpınar Witch

    Messages:
    62
    GitHub:
    EmirhanWSD
    Hello. I need help. I am creating human with skins. Skins changing with task. It sometimes cause players disconnect. No error but it is closing game. When it changing skins or when i am creating human with skins, my game usually closing. Please help me, how can i fix this.
     
  2. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,701
    GitHub:
    HimbeersaftLP
    Are you sure your skin data is valid, could you provide the code you used to do that?
     
  3. Emirhan Akpınar

    Emirhan Akpınar Witch

    Messages:
    62
    GitHub:
    EmirhanWSD
    Yes. Skin changing but my game is closing. And i can see new changed skin on when i am again join the game. What is the problem i dont know.
     
  4. HimbeersaftLP

    HimbeersaftLP Chicken

    Messages:
    1,701
    GitHub:
    HimbeersaftLP
     
  5. Eren5960

    Eren5960 Spider Jockey

    Messages:
    27
    GitHub:
    Eren5960
    Maybe skin geometry fault. If you send code we can help you.
     
  6. Emirhan Akpınar

    Emirhan Akpınar Witch

    Messages:
    62
    GitHub:
    EmirhanWSD
    PHP:
    $entity->setSkin(new Skin($this->player->getSkin()->getSkinId(), Utils::getTextureFromFile(Main::getInstance()->getDataFolder() . "Skinler/xEmirhanWSD.png"), """"""));
    $entity->sendSkin();
     

Share This Page

  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.