Old Habbo Imager script

Results 1 to 4 of 4
  1. #1
    Account Upgraded | Title Enabled! eMagic is offline
    MemberRank
    Jun 2008 Join Date
    233Posts

    ! Old Habbo Imager script

    Hey guys,

    I'm currently working with ZabboWeb and was wondering if anyone knew how to get the habbo imager to work with the old figures (in the format of ch=s02/53,51,44)?

    I would prefer if it could be something like the one on puddihotel where it is all done by the username:
    http://puddihotel.net/template/image...ad_direction=2

    Thanks in advance,
    eMagic


  2. #2
    Developer PremiumEye is offline
    MemberRank
    Nov 2011 Join Date
    NetherlandsLocation
    550Posts

    Re: Old Habbo Imager script

    Everytime I'm saying to some people you have to make from your idea a story :D
    Look. First we have to know if you have experience with php?

  3. #3
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,479Posts

    Re: Old Habbo Imager script

    Credits to Near.

    PHP Code:
    public function convertFigure($figure) {
        
    $start 0;
        
    $parts = array();
        
    $increase_start = array(05101520);
       
        for(
    $x 0$x 10$x++) {
                
    $length = (in_array($start$increase_start)) ? 2;
                
    $parts[$x] = substr($figure$start$length);
                
    $start $start $length;
        }
       
        return 
    'hr-'.$parts[0].'-'.$parts[1].'.hd-'.$parts[2].'-'.$parts[3].'.ch-'.$parts[4].'-'.$parts[5].'.lg-'.$parts[6].'-'.$parts[7].'.sh-'.$parts[8].'-'.$parts[9];


  4. #4
    Account Upgraded | Title Enabled! eMagic is offline
    MemberRank
    Jun 2008 Join Date
    233Posts

    Re: Old Habbo Imager script

    @ Premiumeye
    Yes, I do although not as much as I wish :P

    @ Quackster
    Thanks mate,
    Not sure about how to implement this though. Will try though :)

    UPDATE:

    @ Quackster

    I have implemented this, and now when i do <?php echo($figure); ?> i get this coming out:
    hr-ch=-s0.hd-2/5-3,.ch-51,-44.lg--.sh--

    UPDATE #2:

    @ Quackster

    Thanks, My bad I used figure not app :) Fixed now
    Last edited by eMagic; 27-01-13 at 09:11 PM. Reason: UPDATE#2



Advertisement