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

Human skin cause disconnect

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

  1. Emirhan Akpınar

    Emirhan Akpınar Slime

    Messages:
    90
    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 Fish

    Messages:
    2,402
    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 Slime

    Messages:
    90
    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 Fish

    Messages:
    2,402
    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 Slime

    Messages:
    90
    PHP:
    $entity->setSkin(new Skin($this->player->getSkin()->getSkinId(), Utils::getTextureFromFile(Main::getInstance()->getDataFolder() . "Skinler/xEmirhanWSD.png"), """"""));
    $entity->sendSkin();
     
  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.