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

How to add the player face to FORM

Discussion in 'Development' started by Alair069, Apr 22, 2018.

  1. Alair069

    Alair069 Spider

    Messages:
    12
    GitHub:
    Alair069
    Like This:
    [​IMG]
     
    SOFe likes this.
  2. Kyd

    Kyd Zombie Pigman

    Messages:
    678
    GitHub:
    boi1216
    save player face and add it to the form
     
  3. Driesboy

    Driesboy Spider Jockey

    Messages:
    34
    GitHub:
    driesboy
    Well, since this is NetherGames. We save player skins into our DB and use a render software API. So we can provide this for offline players too.
     
    OnTheVerge likes this.
  4. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    You can parse the player's data file (players/username.dat), get the skin bytes and convert it to a png skin. That's the best way I think — you won't be double saving skindata.
     
    Last edited: Apr 27, 2018
  5. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    So the images are still sent to the client as URLs linking your HTTP server etc.?
     
  6. Driesboy

    Driesboy Spider Jockey

    Messages:
    34
    GitHub:
    driesboy
    Yep
     
  7. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
  8. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
  9. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    how do you convert skin to a png file?
     
  10. michaello

    michaello Creeper

    Messages:
    1
    Hi)
    Did you find how to do it? I'am searchin for week, can't found(
     
  11. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    I did in fact not find how to do it
     
  12. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    Last edited: May 22, 2019
  13. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
    What have you tried?
     
  14. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    Look up the post i made about this lol
     
    andrew_dev 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.