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

Solved Skin error

Discussion in 'Development' started by YasinK, Jun 12, 2018.

  1. YasinK

    YasinK Creeper

    Messages:
    4
    GitHub:
    yasink
    Code:
    [09:24:06] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerJoinEvent' to 'SkinGiydir v1': Specified skin is not valid, must be 8KiB or 16KiB on Tyk\MainGiydir
    [09:24:06] [Server thread/CRITICAL]: InvalidStateException: "Specified skin is not valid, must be 8KiB or 16KiB" (EXCEPTION) in "src/pocketmine/entity/Human" at line 141
    
    Thats my skin code
    iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAMUklEQVR4XuVbS4wcVxW93dPdMz0fj5nxjP/4l8QhTkxQAIEioSxALIBtJCKxQUJGgZAEYockQlYEdoCIWJZRpIgVQoIViAUbJBYWkiVEiGIcO9ixM/E3tmc8E8+3e/qLzq065dvP1f2q2z1JpNRmqqvee/Xuuefed999d1LiuT5z9+fqvjbZgWGpFRYlnR/Qv7hwX16clf+dfTPl65/0/QO7Hq6nslk5cfxo18b0DrT7wUcUAAhjLwiNywruAoB3J8+87v1GEgAgPNoBgHq5LG+dOtaVcb2D8MOV0lLDPDO5fv1dr5Razr+bAEB4KqNbzPIC4DOBnnTmQwEA81DWZTJSLxS6x4Brx/9SL83clMW5uszOVGRqoSJTxZJ8d9/TCg5MAJSLYwA0AppP3rgQgZDN5qRcClgxPralqyagDMhkpDw73TXfktr9+a/WpVJRu4KQpdK8FJeLUi6XZHJ6MuXzAdcuvd3oGwBAOTSLusjkzKSXZUl8QMSA0B99aCaQFADVfLkk/Bs4iBUAoNsM8KHvc4LXr51VQSXUswvA+i9/TdKFolTnZtV2LcsKhSWZmZ1JxJAVYwAGpkfH5OhoaBZcdpr5AJgObRN9sFza8XDvjmGfJV3OOE+M1Wl8AXN3HWjKIusKw9+MAaxgYA7AataHy1VTAPL5xN4cLIQCXGCTgkeWk822XwDA8KhQe3apYUd8/MU935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G3fZfk+NungDsGAIhiebMAjA71R1Wk1JitN9B6vnJFECUiOHLrD+z5vq0JYEGELZjw7S0+EgCgVWtzuLc1CLRpAuCagFuv5NYGWDP4yAFoZQK22JJCscCCu0SYC5dMnOkf3vtsw/k+tM7aAO4JfnHkkPbZ/9QzbZfGuoy4YxOIA4B1xTYSjKMizIYAsKwWZ/72fB8+gLUB3BbvfeVldZwokPBtjnwm8H8R+MycNUJ4TgAAAABJRU5ErkJggg==
    Please help
     
  2. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    It’s not code
     
  3. YasinK

    YasinK Creeper

    Messages:
    4
    GitHub:
    yasink
    How ? I dont understand. I get skin data
    PHP:
    $skindata $player->getSkin()->getSkinData();
     
  4. SleepSpace9

    SleepSpace9 Slime

    Messages:
    78
    GitHub:
    sleepspace9
    Your posted skindata is a base64 encoded PNG (64x64 pixel). You have to convert it to RGBA to use it as skindata.
     
    jasonwynn10 likes this.
  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.