Habbo php scripts ripping

Page 1 of 8 12345678 LastLast
Results 1 to 15 of 112
  1. #1
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,767Posts

    Habbo php scripts ripping - UPDATED 1-10-2011

    Here a small php script that rips bagdes,icons,mp3,furni's

    If anybody have suggestions or whatever what to make?, Drop it x]

    Btw, It must possible todo.

    Quote from my post on RZ:
    Sorry, I'm wrong with my Ctrl + S is faster x]

    I think this is better then yours?

    How it works:
    1. Make a folder on your C drive named `badges`.
    2. Save this script as badges.php where you like
    3. Run CMD en type: {path to your php}/php.exe {path to badges.php} -f
    4. Let PHP do his work x] (Errors with `file not found` can you ignore)
    PHP Code:
    <?php
        
    if (!defined('STDIN'))
        {
            echo 
    'Please run it as a cmd ({path to your php}/php.exe {path to badges.php} -f)';
            exit;
        }

        
    define('BASE''http://images.habbo.com/c_images/album1584/');

        
    $countries = array('nl','us','fr','it','fi','no','se','dk','es');
        
    $flash_texts = array();
        
        echo 
    'Begin.....'."\r\n";
        
        foreach (
    $countries as $country)
        {     
            
    $flash_texts[] = file_get_contents('http://hotel-'.$country.'.habbo.com/gamedata/external_flash_texts/0');
            echo 
    'Download flash_texts from country: '.$country."\r\n";
        }
        
        echo 
    'Everything is downloaded, Begin searching.....'."\r\n";
        
        foreach (
    $flash_texts as $key => $text)
        {
            echo 
    'Searching: '.$countries[$key]."\r\n";
            
    sleep(1);
            
            
    $pos 0;
            while (
    $pos strpos($text'badge_name_'$pos 11))
            {            
                
    $pos1 strpos($text'='$pos);
                
    $badge substr($text$pos, ($pos1 -$pos));
                
    $badge str_replace(array('badge_name_''=''fb_'), ''$badge);
                
                if (
    is_int(strpos($badge'.')))
                {
                    continue;
                }
                
                if (
    file_exists('C:/badges/'.$badge.'.gif'))
                {
                    echo 
    'badge exists: '.$badge."\r\n";
                    continue;
                }
                
                echo 
    'Download badge: '.$badge."\r\n";
                if (!@
    copy(BASE.$badge.'.gif''C:/badges/'.$badge.'.gif'))
                {
                    echo 
    'Error downloading: '.$badge."\r\n";                
                }   
            }
        }
    ?>
    Images for prove x]

    New Furni ripper

    PHP Code:
    <?php
        
    if (!defined('STDIN'))
        {
            echo 
    'Please run it as a cmd ({path to your php}/php.exe {path to badges.php} -f)';
            exit;
        }    
        
        
    define('BASE''http://images.habbo.com/dcr/hof_furni/');
        
        
    $furnidata file_get_contents('http://hotel-us.habbo.com/gamedata/furnidata');
        
        
    $pos 0;
        while (
    $pos strpos($furnidata'["'$pos +1))
        {
            
    $pos1 strpos($furnidata'"]'$pos);
            
    $rule substr($furnidata$pos, ($pos1 -$pos));
            
            
    $rule explode(','$rule);
            
            
    $revision str_replace('"'''$rule[3]);
            
    $furni current(explode('*'str_replace('"'''$rule[2])));
            
            if (
    file_exists('C:/furni/'.$furni.'.swf'))
            {
                echo 
    'furni exists: '.$furni."\r\n";
                continue;
            }
                
            echo 
    'Download furni: '.$furni."\r\n";
            if (!@
    copy(BASE.'/'.$revision.'/'.$furni.'.swf''C:/furni/'.$furni.'.swf'))
            {
                echo 
    'Error downloading: '.$furni."\r\n";                
            }        
            
        }
        
        
    ?>
    Prove images:


    Icon ripper

    PHP Code:
    <?php
        
    if (!defined('STDIN'))
        {
            echo 
    'Please run it as a cmd ({path to your php}/php.exe {path to badges.php} -f)';
            exit;
        }

        
    define('BASE''http://images.habbo.com/c_images/catalogue/');
        
        
    $cnt 0;
        
    $max 4;
        
    $retry 1;
        
    $i 1;
        
        echo 
    'Begin...'."\r\n";
        while (
    $retry <= $max)
        {
            if (
    $cnt == 10)
            {
                
    $max++;
                
    $cnt 0;
            }
            
            if (
    file_exists('C:/icons/icon_'.$i.'.png'))
            {
                
    $i++;
                
    $cnt++;
            
                echo 
    "\r\n".'icon exists: '.$i;
                continue;
            }
            
            echo 
    "\r\n".'Download icon: '.$i;
            if (!@
    copy(BASE.'icon_'.$i.'.png''C:/icons/icon_'.$i.'.png'))
            {
                echo 
    ' ... Error';
                
    $retry++;
            }
            
            
    $i++;
            
    $cnt++;
        }
    ?>
    mp3 sample ripper(Looks like icon ripper x])

    PHP Code:
    <?php
        
    if (!defined('STDIN'))
        {
            echo 
    'Please run it as a cmd ({path to your php}/php.exe {path to badges.php} -f)';
            exit;
        }

        
    define('BASE''http://images.habbo.com/dcr/hof_furni/mp3/');
        
        
    $cnt 0;
        
    $max 4;
        
    $retry 1;
        
    $i 1;
        
        echo 
    'Begin...'."\r\n";
        while (
    $retry <= $max)
        {
            if (
    $cnt == 10)
            {
                
    $max++;
                
    $cnt 0;
            }
            
            if (
    file_exists('C:/mp3/sound_machine_sample_'.$i.'.mp3'))
            {
                
    $i++;
                
    $cnt++;
            
                echo 
    "\r\n".'mp3 exists: '.$i;
                continue;
            }
            
            echo 
    "\r\n".'Download sound machine sample: '.$i;
            if (!@
    copy(BASE.'sound_machine_sample_'.$i.'.mp3''C:/mp3/sound_machine_sample_'.$i.'.mp3'))
            {
                echo 
    ' ... Error';
                
    $retry++;
            }
            
            
    $i++;
            
    $cnt++;
        }
    ?>
    Gorden ripper
    Final version.
    I'm sorry, But most of the public rooms isn't in the external_flash_texts
    Or you guys must give me hints x]

    PHP Code:
    <?php
        
    if (!defined('STDIN'))
        {
            echo 
    'Please run it as a cmd ({path to your php}/php.exe {path to badges.php} -f)';
            exit;
        }
        
        
    define('BASE''http://images.habbo.com/gordon/RELEASE63-35255-34886-201108111108_ce2d130905ba279edbfb4208cd5035c0/');
        
        echo 
    "Begin.....\r\n";
        
        
    //Static files
        
    $files = array(
            
    "config_habbo.xml",
            
    "figuremap.xml",
            
    "pets_palettes.swf",
            
    "PlaceHolderFurniture.swf",
            
    "PlaceHolderPet.swf",
            
    "PlaceHolderWallItem.swf",
            
    "SelectionArrow.swf",
            
    "TileCursor.swf",
            
    "Volter.swf",
            
    "Habbo.swf"
        
    );
        
        
    $Clothes file_get_contents(BASE.'figuremap.xml');
        
        foreach(
    $files as $file)
        {
            if (
    file_exists('C:/gordon/'.$file))
            {
                echo 
    "\r\nDownload exists: ".$file;
                continue;
            }
            
            echo 
    "\r\nDownload file: ".$file;
            if (!@
    copy(BASE.$file'C:/gordon/'.$file))
            {
                echo 
    ' ... Error';
            }          
        }
        
        
    $pos 0;
        while (
    $pos strpos($Clothes'<lib'$pos +3))
        {
            
    $pos1 strpos($Clothes'>'$pos);
            
    $rule substr($Clothes$pos$pos1 -$pos);
            
            
    $explode explode(' '$rule);
            
    next($explode);
            
    $cloth str_replace(array('id=','"'), ''current($explode));
            
            if (
    file_exists('C:/gordon/'.$cloth.'.swf'))
            {
                echo 
    "\r\nDownload exists: ".$cloth;
                continue;
            }
            
            echo 
    "\r\nDownload cloth: ".$cloth;
            if (!@
    copy(BASE.$cloth.'.swf''C:/gordon/'.$cloth.'.swf'))
            {
                echo 
    ' ... Error';
            }
        }
        
        echo 
    "\r\nTrying to get most of the public rooms..\r\n";
        
        
    $flash_texts file_get_contents('http://hotel-us.habbo.com/gamedata/external_flash_texts');
        
        
    $pos 0;
        while(
    $pos strpos($flash_texts'nav_venue_'$pos +3))
        {
            
    $pos1 strpos($flash_texts'='$pos);
            
    $rule substr($flash_texts$pos +strlen('nav_venue_'), $pos1 -($pos +strlen('nav_venue')) -1);
            
            
    $fixed str_replace(array('_name''_desc''_0''_1''_2''_3''_4''_5''_6''_7''_8''_9'), ''current(explode('/'$rule)));
            
            if (
    in_array(current(explode('_'$fixed)), array('sw''bb')))
            {
                continue;
            }
            
            echo 
    "\r\nDownload public rooms: ".$fixed;
            
            
    //1 try
            
    $t1 $fixed;
            if (!@
    copy(BASE.'hh_room_'.$t1.'.swf''C:/gordon/hh_room_'.$t1.'.swf'))
            {
                echo 
    '.';
            }
            else
            {
                continue;
            }
            
            
    //2 try
            
    $t2 implode(''explode('_'$fixed));
            if (!@
    copy(BASE.'hh_room_'.$t2.'.swf''C:/gordon/hh_room_'.$t2.'.swf'))
            {
                echo 
    '.';
            }
            else
            {
                continue;
            }
            
            echo 
    'Error';
        }   
    ?>
    The end! (Webbuild Ripper)

    Whats in it:
    • Css link searcher for a better result.
    • Habbo.com only filter
    • Extention filter
    • Base ripper


    How to get the JSON:

    Proof:

    Download:
    Webbuild_ripper.rar

    Must read:
    There is a change that it isn't ripping everything.
    But the most of it, It will be ripped.
    Last edited by Joopie; 12-12-11 at 11:22 AM.


  2. #2
    Member FreedomSaint is offline
    MemberRank
    Jul 2010 Join Date
    PrisonLocation
    83Posts

    Re: Habbo php scripts ripping

    Looks cool, nice release!

  3. #3
    Web & Interaction Design Gangnam is offline
    MemberRank
    Dec 2010 Join Date
    Lincoln, UKLocation
    1,983Posts

    Re: Habbo php scripts ripping

    Very nice, it'll come in handy, thanks :).

    @PEjump2 - What would be the difference? :P

    ~Jak

  4. #4
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,767Posts

    Re: Habbo php scripts ripping

    Quote Originally Posted by PEjump2 View Post
    Thanks for releasing, I prefer to use C# for ripping though.
    It isn't faster with downloading, So it doesn't matter x]

  5. #5
    Account Upgraded | Title Enabled! simoneihg is offline
    MemberRank
    Dec 2010 Join Date
    PalermoLocation
    243Posts

    Re: Habbo php scripts ripping

    Can you do it for gordon?

  6. #6
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,767Posts

    Re: Habbo php scripts ripping

    Quote Originally Posted by simoneihg View Post
    Can you do it for gordon?
    Request accepted, One problem, I can't rip everything in the directory.

    I take a look if i can get more

    For now:
    PHP Code:

    <?php
        
    if (!defined('STDIN'))
        {
            echo 
    'Please run it as a cmd ({path to your php}/php.exe {path to badges.php} -f)';
            exit;
        }
        
        
    define('BASE''http://images.habbo.com/gordon/RELEASE63-35255-34886-201108111108_ce2d130905ba279edbfb4208cd5035c0/');
        
        echo 
    "Begin.....\r\n";
        
        
    //Static files
        
    $files = array(
            
    "config_habbo.xml",
            
    "figuremap.xml",
            
    "pets_palettes.swf",
            
    "PlaceHolderFurniture.swf",
            
    "PlaceHolderPet.swf",
            
    "PlaceHolderWallItem.swf",
            
    "SelectionArrow.swf",
            
    "TileCursor.swf",
            
    "Volter.swf",
            
    "Habbo.swf"
        
    );
        
        
    $Clothes file_get_contents(BASE.'figuremap.xml');
        
        foreach(
    $files as $file)
        {
            if (
    file_exists('C:/gordon/'.$file))
            {
                echo 
    "\r\nDownload exists: ".$file;
                continue;
            }
            
            echo 
    "\r\nDownload file: ".$file;
            if (!@
    copy(BASE.$file'C:/gordon/'.$file))
            {
                echo 
    ' ... Error';
            }          
        }
        
        
    $pos 0;
        while (
    $pos strpos($Clothes'<lib'$pos +3))
        {
            
    $pos1 strpos($Clothes'>'$pos);
            
    $rule substr($Clothes$pos$pos1 -$pos);
            
            
    $explode explode(' '$rule);
            
    next($explode);
            
    $cloth str_replace(array('id=','"'), ''current($explode));
            
            if (
    file_exists('C:/gordon/'.$cloth))
            {
                echo 
    "\r\nDownload exists: ".$cloth;
                continue;
            }
            
            echo 
    "\r\nDownload cloth: ".$cloth;
            if (!@
    copy(BASE.$cloth.'.swf''C:/gordon/'.$cloth.'.swf'))
            {
                echo 
    ' ... Error';
            }
        }
        
    ?>


    ---------- Post added at 03:33 PM ---------- Previous post was at 03:28 PM ----------

    Uhm, I found a way to rip public room x]

  7. #7
    Account Upgraded | Title Enabled! simoneihg is offline
    MemberRank
    Dec 2010 Join Date
    PalermoLocation
    243Posts

    Re: Habbo php scripts ripping

    You can't do all these scripts in on file .php?

  8. #8
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,767Posts

    Re: Habbo php scripts ripping

    Quote Originally Posted by simoneihg View Post
    You can't do all these scripts in on file .php?
    Make a php file

    And include them all? x]

    ---------- Post added at 04:38 PM ---------- Previous post was at 04:05 PM ----------

    Final version.
    I'm sorry, But most of the public rooms isn't in the external_flash_texts
    Or you guys must give me hints x]

    PHP Code:
    <?php
        
    if (!defined('STDIN'))
        {
            echo 
    'Please run it as a cmd ({path to your php}/php.exe {path to badges.php} -f)';
            exit;
        }
        
        
    define('BASE''http://images.habbo.com/gordon/RELEASE63-35255-34886-201108111108_ce2d130905ba279edbfb4208cd5035c0/');
        
        echo 
    "Begin.....\r\n";
        
        
    //Static files
        
    $files = array(
            
    "config_habbo.xml",
            
    "figuremap.xml",
            
    "pets_palettes.swf",
            
    "PlaceHolderFurniture.swf",
            
    "PlaceHolderPet.swf",
            
    "PlaceHolderWallItem.swf",
            
    "SelectionArrow.swf",
            
    "TileCursor.swf",
            
    "Volter.swf",
            
    "Habbo.swf"
        
    );
        
        
    $Clothes file_get_contents(BASE.'figuremap.xml');
        
        foreach(
    $files as $file)
        {
            if (
    file_exists('C:/gordon/'.$file))
            {
                echo 
    "\r\nDownload exists: ".$file;
                continue;
            }
            
            echo 
    "\r\nDownload file: ".$file;
            if (!@
    copy(BASE.$file'C:/gordon/'.$file))
            {
                echo 
    ' ... Error';
            }          
        }
        
        
    $pos 0;
        while (
    $pos strpos($Clothes'<lib'$pos +3))
        {
            
    $pos1 strpos($Clothes'>'$pos);
            
    $rule substr($Clothes$pos$pos1 -$pos);
            
            
    $explode explode(' '$rule);
            
    next($explode);
            
    $cloth str_replace(array('id=','"'), ''current($explode));
            
            if (
    file_exists('C:/gordon/'.$cloth.'.swf'))
            {
                echo 
    "\r\nDownload exists: ".$cloth;
                continue;
            }
            
            echo 
    "\r\nDownload cloth: ".$cloth;
            if (!@
    copy(BASE.$cloth.'.swf''C:/gordon/'.$cloth.'.swf'))
            {
                echo 
    ' ... Error';
            }
        }
        
        echo 
    "\r\nTrying to get most of the public rooms..\r\n";
        
        
    $flash_texts file_get_contents('http://hotel-us.habbo.com/gamedata/external_flash_texts');
        
        
    $pos 0;
        while(
    $pos strpos($flash_texts'nav_venue_'$pos +3))
        {
            
    $pos1 strpos($flash_texts'='$pos);
            
    $rule substr($flash_texts$pos +strlen('nav_venue_'), $pos1 -($pos +strlen('nav_venue')) -1);
            
            
    $fixed str_replace(array('_name''_desc''_0''_1''_2''_3''_4''_5''_6''_7''_8''_9'), ''current(explode('/'$rule)));
            
            if (
    in_array(current(explode('_'$fixed)), array('sw''bb')))
            {
                continue;
            }
            
            echo 
    "\r\nDownload public rooms: ".$fixed;
            
            
    //1 try
            
    $t1 $fixed;
            if (!@
    copy(BASE.'hh_room_'.$t1.'.swf''C:/gordon/hh_room_'.$t1.'.swf'))
            {
                echo 
    '.';
            }
            else
            {
                continue;
            }
            
            
    //2 try
            
    $t2 implode(''explode('_'$fixed));
            if (!@
    copy(BASE.'hh_room_'.$t2.'.swf''C:/gordon/hh_room_'.$t2.'.swf'))
            {
                echo 
    '.';
            }
            else
            {
                continue;
            }
            
            echo 
    'Error';
        }   
    ?>

  9. #9
    Account Upgraded | Title Enabled! George2000 is offline
    MemberRank
    Jul 2011 Join Date
    The NetherlandsLocation
    1,150Posts

    Re: Habbo php scripts ripping

    This isn't hard to make new things you just edit the file links but good for noobs I guess. Thanks for this joop.

  10. #10
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,767Posts

    Re: Habbo php scripts ripping

    Quote Originally Posted by George2000 View Post
    This isn't hard to make new things you just edit the file links but good for noobs I guess. Thanks for this joop.
    You need to do more then just rename the links x]

  11. #11
    Account Upgraded | Title Enabled! George2000 is offline
    MemberRank
    Jul 2011 Join Date
    The NetherlandsLocation
    1,150Posts

    Re: Habbo php scripts ripping

    Quote Originally Posted by joopie View Post
    You need to do more then just rename the links x]
    I don't have to

  12. #12
    Eye Eye Capt'n Spheral is offline
    MemberRank
    May 2010 Join Date
    TumptonshireLocation
    2,488Posts

    Re: Habbo php scripts ripping

    Ive added all the scripts into ne php file, now how do i run it?

  13. #13
    Apprentice sirwael is offline
    MemberRank
    Mar 2011 Join Date
    16Posts

    Re: Habbo php scripts ripping

    Please there is ripper for sql furnis or public rooms?

  14. #14
    Legend donszeh is offline
    MemberRank
    Jul 2008 Join Date
    DutchLocation
    422Posts

    Re: Habbo php scripts ripping

    Quote Originally Posted by sirwael View Post
    Please there is ripper for sql furnis or public rooms?
    Joopie already said, He can't do the full public rooms. Because there not all in the external_vars

  15. #15
    Eye Eye Capt'n Spheral is offline
    MemberRank
    May 2010 Join Date
    TumptonshireLocation
    2,488Posts

    Re: Habbo php scripts ripping

    How do i get php.exe to work?

    ---------- Post added at 11:29 AM ---------- Previous post was at 11:19 AM ----------

    I a noob, and this doesnt work for me

    {path to your php}/php.exe {path to badges.php}



Page 1 of 8 12345678 LastLast

Advertisement