figuremap swf downloader

Results 1 to 13 of 13
  1. #1
    1 + 3 + 3 = 7 EvilCoder is offline
    MemberRank
    Jul 2009 Join Date
    /home/mvdworpLocation
    334Posts

    smile figuremap swf downloader

    Hi all,

    I don't know if this is usable because I believe SWFs should be cracked? But here is a small script which basiclly reads your "figuremap.xml" and downloads all the necassery .swf files in the current directory.

    These files should go in the core of your swfs in order to get it to work. With this script I have been aible to download 361 figures files.

    Make sure figuremap.xml is in the same directory as the script is for it to work.. Also the script is based on the linux shell. (command: wget is not standard installed on windows)

    Enjoy if you can use it, if not Sorry =D.

    PHP Code:
    <?php
            
    // simple figures downloader from another server. - dont forget ending slash.
            
    $url2download "https://images-eussl.habbo.com/gordon/RELEASE63-201406132306-746259040/";

            
    // start the lookup.
            
    $handle fopen("figuremap.xml""r");
            if (
    $handle) {
                    while ((
    $line fgets($handle)) !== false) {
                            if (
    preg_match('/lib id=/'$line) && preg_match('/id="(.|\n*)+"/'$line$matches)) {
                                    
    $matches explode(" "$matches[0]);

                                    
    $result $matches[0];
                                    
    $result str_replace("id="""$result);
                                    
    $result str_replace("\""""$result);

                                    
    $filename $result ".swf";

                                    echo 
    "Beginning download of " $result ".swf from Habbo Server.\n";
                                    
    exec("wget --no-check-certificate ".$url2download $filename " -O ./" $filename);
                            }
                    }
            } else {
                    
    // error opening the file.
                    
    echo "error opening the file. check your path!";
            }

            
    fclose($handle);
    ?>
    NOTE!

    These are not cracked yet. But you could also download the files from another retro which are cracked.

    Another note for the teachers in the section:
    This is not a help thread, I also do not ask for your feedback on the script. So there is no reason to post what I should do or what I should not do. kk ty! :)
    Last edited by EvilCoder; 25-06-14 at 03:47 PM.


  2. #2
    Valued Member VabboWorld is offline
    MemberRank
    Oct 2013 Join Date
    FranceLocation
    124Posts

    Re: figuremap swf downloader

    Thanks!

  3. #3
    1 + 3 + 3 = 7 EvilCoder is offline
    MemberRank
    Jul 2009 Join Date
    /home/mvdworpLocation
    334Posts

    Re: figuremap swf downloader

    You're welcome.

    It seems that I can use the .swf figure files from Habbo without any problems... Even without uncracking it..

    So this should be helpfull for all of you guys. =)

  4. #4
    Account Upgraded | Title Enabled! Jamal7 is offline
    MemberRank
    Dec 2013 Join Date
    547Posts

    Re: figuremap swf downloader

    Nice to see you back in the Habbo Section..

    Note : WGET for Windows

    http://gnuwin32.sourceforge.net/packages/wget.htm

  5. #5
    1 + 3 + 3 = 7 EvilCoder is offline
    MemberRank
    Jul 2009 Join Date
    /home/mvdworpLocation
    334Posts

    Re: figuremap swf downloader

    Quote Originally Posted by Jamal7 View Post
    Nice to see you back in the Habbo Section..

    Note : WGET for Windows

    http://gnuwin32.sourceforge.net/packages/wget.htm
    Thanks, has been a long time. About 8 months.. Now i“m back yes :)

  6. #6
    Developer BurakDev is offline
    MemberRank
    Mar 2013 Join Date
    ParisLocation
    376Posts

    Re: figuremap swf downloader

    Nice but why you use wget ?

    Replace :
    PHP Code:
    exec("wget --no-check-certificate ".$url2download $filename " -O ./" $filename); 
    and put :
    PHP Code:
    file_put_contents($filenamefile_get_contents($url2downoad.$filename)); 
    Just allow URL fopen and enable php openssl.

  7. #7
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,078Posts

    Re: figuremap swf downloader

    PHP is a bit bad for that, but still, great program

  8. #8
    Developer BurakDev is offline
    MemberRank
    Mar 2013 Join Date
    ParisLocation
    376Posts

    Re: figuremap swf downloader

    Quote Originally Posted by Droppy View Post
    PHP is a bit bad for that, but still, great program
    Why PHP is bad for that ? PHP it's okay for all job, like emulator :)
    Like http://i.imgur.com/65641KO.png & http://i.imgur.com/nC70bmn.png

  9. #9
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,078Posts

    Re: figuremap swf downloader

    Quote Originally Posted by BurakDev View Post
    Why PHP is bad for that ? PHP it's okay for all job, like emulator :)
    Like http://i.imgur.com/65641KO.png & http://i.imgur.com/nC70bmn.png
    Have a look at the script, do you think it is the best using PHP?

    Sockets on PHP suck, like PHP for itself. I'm good at PHP, but common, there's better languages for it's purpose.
    For website development, I think PHP is pretty well organised, but for downloading swf's? Using it for sockets? Common, Java + Netty, and C++ does pretty greater job than PHP does, you don't have to use PHP for that, except you are doing only for an test project, not final project.

    If you want to follow this through (and wanna know my fully point of view of PHP), we can talk through PM, or even skype droppyff, but I won't to discuss this on an non-related topic.

    Cheers!

  10. #10
    1 + 3 + 3 = 7 EvilCoder is offline
    MemberRank
    Jul 2009 Join Date
    /home/mvdworpLocation
    334Posts

    Re: figuremap swf downloader

    Quote Originally Posted by Droppy View Post
    Have a look at the script, do you think it is the best using PHP?

    Sockets on PHP suck, like PHP for itself. I'm good at PHP, but common, there's better languages for it's purpose.
    For website development, I think PHP is pretty well organised, but for downloading swf's? Using it for sockets? Common, Java + Netty, and C++ does pretty greater job than PHP does, you don't have to use PHP for that, except you are doing only for an test project, not final project.

    If you want to follow this through (and wanna know my fully point of view of PHP), we can talk through PM, or even skype droppyff, but I won't to discuss this on an non-related topic.

    Cheers!
    You don't even know what you are talking about. PHP Sockets are not crap, and it is not bad. You just developed it bad then... Seriously >,>

    PHP is working how you optimize it.

    Your definition of my script is also wrong. It is not a program. And PHP is a great solution for this. Just as Perl and C# could be. It doesn't make sence of you to say that it isn't the right scripting language to use. Also a company who I know is using a PHP Socket to run a 800 room's hotel to communicate from server to server..

    .......

    FYI : That socket never crashes and is responding within the second.

    - - - Updated - - -

    Because I like to see output when I type at the cli of Linux:

    php *scriptlocation*...

    Thats why I love my job :P Thanks anyhow :)

    Quote Originally Posted by BurakDev View Post
    Nice but why you use wget ?

    Replace :
    PHP Code:
    exec("wget --no-check-certificate ".$url2download $filename " -O ./" $filename); 
    and put :
    PHP Code:
    file_put_contents($filenamefile_get_contents($url2downoad.$filename)); 
    Just allow URL fopen and enable php openssl.

  11. #11
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,078Posts

    Re: figuremap swf downloader

    Quote Originally Posted by EvilCoder View Post
    You don't even know what you are talking about. PHP Sockets are not crap, and it is not bad. You just developed it bad then... Seriously >,>

    PHP is working how you optimize it.

    Your definition of my script is also wrong. It is not a program. And PHP is a great solution for this. Just as Perl and C# could be. It doesn't make sence of you to say that it isn't the right scripting language to use. Also a company who I know is using a PHP Socket to run a 800 room's hotel to communicate from server to server..

    .......

    FYI : That socket never crashes and is responding within the second.
    You can say a lot of my PHP scripts... Anyway, PHP sockets are crap, and that is my opinion. A company who uses PHP sockets, is a dumb company, because there's no point of doing so, if you could simply turn into better languages.
    I like PHP, I love PHP, but seriously, say that it is perfect is a sinn. You guys deffend PHP as it was the only language out there.
    Do you really rather using PHP's sockets than Java + Netty? If so, you don't know what you're talking about.

    btw: it stills a program
    Last edited by Droppy; 25-06-14 at 04:01 PM.

  12. #12
    Gladius tehDrunk is offline
    MemberRank
    Mar 2013 Join Date
    216Posts

    Re: figuremap swf downloader

    I dont know where is my right figuremap.xml folder. I have 4 in my SWF.
    Theres one in gordon, gamedata, hof_furnis and /swf/.

    Someone know how can I check it?

  13. #13
    1 + 3 + 3 = 7 EvilCoder is offline
    MemberRank
    Jul 2009 Join Date
    /home/mvdworpLocation
    334Posts

    Re: figuremap swf downloader

    Quote Originally Posted by tehDrunk View Post
    I dont know where is my right figuremap.xml folder. I have 4 in my SWF.
    Theres one in gordon, gamedata, hof_furnis and /swf/.

    Someone know how can I check it?
    Check in your external_variables for the correct defined link. Or your client source code should also contain this information.

    - - - Updated - - -

    Quote Originally Posted by Droppy View Post
    You can say a lot of my PHP scripts... Anyway, PHP sockets are crap, and that is my opinion. A company who uses PHP sockets, is a dumb company, because there's no point of doing so, if you could simply turn into better languages.
    I like PHP, I love PHP, but seriously, say that it is perfect is a sinn. You guys deffend PHP as it was the only language out there.
    Do you really rather using PHP's sockets than Java + Netty? If so, you don't know what you're talking about.

    btw: it stills a program
    I'm not saying it's perfect, i'm explaining you that it works how you configure it. You consuming or telling us that it does not work properly is because of the fact you didn't set your settings right.

    I also did not tell you it is better as Java.. I'm just proofing my fact that you are wrong and the sockets are not crap. You can't decide if this is working better as you may not have the skills in both languages to decide which is best.

    But let's keep my thread on topic please. And please don't post things like sockets are bad. Because I don't have such thing stated in my script.

    Also this should help you define what is a program and what not: http://en.wikipedia.org/wiki/Program

    I'm using 2 program's in my script: PHP and WGET. Again this is what we call a 'script' because i'm not posting php.exe or /sbin/wget..



Advertisement