Page 5 of 6 FirstFirst 123456 LastLast
Results 41 to 50 of 54
  1. #41
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    He isn't specifying the hotel or user, from what I can see.

  2. #42
    Join Date
    Jul 2008
    Location
    Leeds, UK
    Posts
    47
    Tokens
    0

    Default

    no that's because i've updated the file with a new script but i can't update my post.


    http://del.jjr-servers.net/habbohead...bo=*HABBONAME*
    Try it with a beard on aswell

  3. #43
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Delatory View Post
    no that's because i've updated the file with a new script but i can't update my post.


    http://del.jjr-servers.net/habbohead.php?hotel=*HOTEL (eg. co.uk)*&habbo=*HABBONAME*
    Try it with a beard on aswell
    http://del.jjr-servers.net/habbohead...uk&habbo=Xedon

    Doesn't work.

    Edit:
    Habbo UK is on maintenance.

  4. #44
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Not sure if your updated script does this, but I'm going to try and code a script which deletes the extra pixels around beards etc so that you can get JUST the head.

    Doesn't work.
    Habbo's down.

  5. #45
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default '

    Quote Originally Posted by Invent View Post
    Not sure if your updated script does this, but I'm going to try and code a script which deletes the extra pixels around beards etc so that you can get JUST the head.



    Habbo's down.
    Just noticed.

  6. #46
    Join Date
    Aug 2008
    Location
    Australia!
    Posts
    33
    Tokens
    0

    Default

    Code:
    <?
    $height=43;
    
    $page=file_get_contents("http://www.habbo.".$_GET['hotel']."/home/".$_GET['habbo']);
    $imagingurl=split("<div class=\"profile-figure\">", $page);
    $imagingurl=split("</div>", $imagingurl[1]);
    $imagingurl=split("src=\"/habbo-imaging/avatar/", $imagingurl[0]);
    $imagingurl=split("\" />", $imagingurl[1]);
    $search=stripos($imagingurl[0], ".fa-");
    if ($search !== false) {
        $fa=split(".fa-", $imagingurl[0]);
        $fa=split("-", $fa[1]);
        $fa=$fa[0];
        if($fa=="1208" || $fa=="1201"){
            $height=$height+1;
        } else if($fa=="1210"){
            $height=$height+4;
        } else if($fa=="1204"){
            $height=$height+5;
        } else if($fa=="1205"){
            $height=$height+11;
        }
    }
    
    header("Content-type: image/png"); 
    $src_im=imagecreatefrompng("http://www.habbo.".$_GET['hotel']."/habbo-imaging/avatarimage?user=".$_GET['habbo']."&direction=3&head_direction=3&size=l&gesture=sml");
    $des_im=imagecreate(35, $height); 
    imagecopyresized($des_im, $src_im, 0, 0, 15, 14, "35", $height, "35", $height); 
    imagepng($des_im); 
    imagedestroy($src_im);
    imagedestroy($des_im); 
    ?>
    Added Smile and Fixed the Hotel

  7. #47
    Join Date
    Nov 2006
    Location
    Liverpool/Manchester
    Posts
    2,457
    Tokens
    0

    Latest Awards:


  8. #48
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    So, you just want the head, no sholders etc.

    Do something to check the image on the users Habbo home, if their head matches something then a cut image that you've created and saved will load or something.

  9. #49
    Join Date
    Jul 2005
    Location
    Cymru! :o Bahh
    Posts
    571
    Tokens
    0

    Default

    I remember starting work on a habbo imager not long after I completed the group badge script.
    I phailed at it though haha all the numbers and stuff well confused me so i gave up.
    Did attempt a head script aswell but also failed, if i can dig up my old files i'll post em.

    I might give it another shot, it'll gimme something to do before the summer comes to a close and all my freedom is stole by some skank job i'll be doing.
    Last edited by kreechin; 27-08-2008 at 11:39 PM.

    So A Kiss Is Out Of The Question Then..?

    ♥ My Boy <sinlge> Tbh ♥
    This love isn't good unless it's me and you
    Complicated is the whole point. x

    Theres nothing scarier than getting something you want because then you have something to lose..





  10. #50
    Join Date
    Mar 2008
    Posts
    940
    Tokens
    75

    Default

    I only know how to get the small heads.


Page 5 of 6 FirstFirst 123456 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •