Habbo New Loader (JS)

Page 3 of 8 FirstFirst 12345678 LastLast
Results 31 to 45 of 118
  1. #31
    Account Upgraded | Title Enabled! mohje is offline
    MemberRank
    Dec 2008 Join Date
    NLLocation
    651Posts

    Re: Habbo New Loader (JS)

    Quote Originally Posted by joopie View Post
    To lazy and did you change the habboflashclient.js to the new one?
    sorry?,where I put it?
    Make Map for Phoenix(Client)? or tut screen? or teamviewer?
    <?php
    define('USERNAME_REQUIRED', TRUE);
    define('ACCOUNT_REQUIRED', TRUE);
    include('../global.php');

    $rand1 = rand(100000, 999999);
    $rand2 = rand(10000, 99999);
    $rand3 = rand(10000, 99999);
    $rand4 = rand(10000, 99999);
    $rand5 = rand(10000, 99999);
    $rand6 = rand(1, 9);
    $ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-otaku-".$rand6;
    $username = $_SESSION['username'];
    if(@$_GET['ticket'] && @$_GET['username'] && $users->UserPermission('hk_ext_login', $_SESSION['username']))
    {
    $username = $_GET['username'];
    $ticket = $_GET['ticket'];
    }
    $query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");
    $query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");
    ?>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title><?php echo $sitename." - Client"; ?></title>

    <script type="text/javascript">
    var andSoItBegins = (new Date()).getTime();
    </script>
    <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/static/styles/common.css" type="text/css" />
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/static/js/libs2.js" type="text/javascript"></script>

    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/static/js/visual.js" type="text/javascript"></script>
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/static/js/libs.js" type="text/javascript"></script>
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/static/js/common.js" type="text/javascript"></script>

    <script type="text/javascript">
    document.habboLoggedIn = true;
    var habboName = "<?php echo $_SESSION['username']; ?>";
    var habboReqPath = "<?php echo $core->CmsSetting('cms_url'); ?>";
    var habboStaticFilePath = "http://images.habbo.com/habboweb/60_cf3b27a092308ed2f4b382d9929147fc/4/web-gallery";
    var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
    var habboPartner = "";
    var habboDefaultClientPopupUrl = "<?php echo $core->CmsSetting('cms_url'); ?>/client";
    window.name = "ClientWndw";
    if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
    </script>

    <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/static/styles/habboflashclient.css" type="text/css" />
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script>
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/static/js/identity.js" type="text/javascript"></script>

    <script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = false;
    FlashExternalInterface.logLoginStep("web.view.start");

    if (top == self) {
    FlashHabboClient.cacheCheck();
    }
    var flashvars = {
    "client.allow.cross.domain" : "1",
    "client.notify.cross.domain" : "1",
    "connection.info.host" : "<?php echo $core->CmsSetting('client_ip'); ?>",
    "connection.info.port" : "<?php echo $core->CmsSetting('client_port'); ?>",
    "site.url" : "<?php echo $core->CmsSetting('cms_url'); ?>",
    "url.prefix" : "<?php echo $core->CmsSetting('cms_url'); ?>",
    "client.reload.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/index.php",
    "client.fatal.error.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php?flash_client_error",
    "client.connection.failed.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php?client_connection_failed",
    "external.variables.txt" : "<?php echo $core->CmsSetting('client_variables'); ?>",
    "external.texts.txt" : "<?php echo $core->CmsSetting('client_texts'); ?>",
    "use.sso.ticket" : "1",
    "sso.ticket" : "<?php echo $ticket ?>",
    "processlog.enabled" : "0",
    "account_id" : "1",
    "client.starting" : "Hotel is aan het laden... ",
    "flash.client.url" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",
    "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
    "has.identity" : "0",
    "flash.client.origin" : "popup",
    "token" : "<?php echo $ticket ?>"
    };
    var params = {
    "base" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",
    "allowScriptAccess" : "always",
    "menu" : "false"
    };

    if (!(HabbletLoader.needsFlashKbWorkaround())) {
    params["wmode"] = "opaque";
    }

    var clientUrl = "<?php echo $core->CmsSetting('client_habbo_swf'); ?>";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/flash/expressInstall.swf", flashvars, params);

    window.onbeforeunload = unloading;
    function unloading() {
    var clientObject;
    if (navigator.appName.indexOf("Microsoft") != -1) {
    clientObject = window["flash-container"];
    } else {
    clientObject = document["flash-container"];
    }
    try {
    clientObject.unloading();
    } catch (e) {}
    }
    </script>

    <!--[if IE 8]>
    <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/static/styles/ie8.css" type="text/css" />
    <![endif]-->

    <!--[if lt IE 8]>
    <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/static/styles/ie.css" type="text/css" />
    <![endif]-->
    <!--[if lt IE 7]>
    <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/static/styles/ie6.css" type="text/css" />
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/711/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
    <script type="text/javascript">
    try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
    </script>

    <style type="text/css">
    body { behavior: url(/js/csshover.htc); }
    </style>
    <![endif]-->

    </head>

    <body id="client" class="flashclient">

    <div id="overlay"></div>
    <div id="overlay"></div>
    <div id="client-ui" >
    <div id="flash-wrapper">
    <div id="flash-container">
    <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
    <div class="cbb clearfix">
    <h2 class="title">Please install Adobe Flash Player.</h2>
    <div class="box-content">
    <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">
    Install flash player</a>. More instructions for installation can be
    found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">
    More information</a></p>
    <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/207/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
    </div>
    </div>
    </div>
    <script type="text/javascript">
    $('content').show();
    </script>
    <noscript>
    <div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
    <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
    </div>
    </noscript>
    </div>

    </div>
    <div id="content" class="client-content"></div>
    </div>

    </body>
    </html>
    Last edited by mohje; 14-12-11 at 07:33 AM.

  2. #32
    No, Just no. Matthew is offline
    MemberRank
    Jul 2008 Join Date
    United KingdomLocation
    1,408Posts

    Re: Habbo New Loader (JS)

    It's nice, very nice. But there's one problem I've found with it which I think you should look into. If flash isn't installed in the clients browser it will load to 50% and then stop. You should consider coding flash detection. Or maybe It's just me. I placed
    PHP Code:
    <script type="text/javascript">
    jjLoader.init('client'6'http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/737/web-gallery/v2/images/habbologo_whiteR.gif''http://habbo.hs.llnwd.net/c_images/hotel_view_images_hq/hotelview_xmas10_000.png');
    </script> 
    Below
    PHP Code:
            <script type="text/javascript">
                $(
    'content').show();
            
    </script> 
    Should I have placed it some where else? Because as far as I know the client has a checker to see if the client (user) has flash already..

  3. #33
    The one and only! Hejula is offline
    MemberRank
    Nov 2008 Join Date
    4,128Posts

    Re: Habbo New Loader (JS)

    Quote Originally Posted by Makarov View Post
    It doesn't load smoothly like the normal client usually does( a hitch ). Don't act like you know Javascript..

    Sent from my DROID2 GLOBAL using Tapatalk
    Go check habbo.com you'll see it loads in block sections like this. Don't act like you know it all..

    Also, stop removing my posts. You have no reason too.

  4. #34

    Re: Habbo New Loader (JS)

    I Love this! Thanks so much! Instead of using it for the client, im using it as the Loading screen for the upcoming release of Habplus's Facebook app! (:

    Thanks again! ;D

  5. #35
    Member KyleSmith is offline
    MemberRank
    May 2009 Join Date
    74Posts

    Re: Habbo New Loader (JS)

    I did this, but it just stays at 0%, "Bussy with booting up your hotel! 0%"

    I don't know how to fix, thanks.

    Here is my client: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "htt - Pastebin.com

  6. #36
    Apprentice iDiversity is offline
    MemberRank
    Dec 2011 Join Date
    24Posts

    Re: Habbo New Loader (JS)

    When I do it, My client says this --> Screenshot by Lightshot
    Any ideas?

  7. #37
    Member XenoGFX is offline
    MemberRank
    May 2010 Join Date
    97Posts

    Re: Habbo New Loader (JS)

    good work bro.. its on my hotel :)

  8. #38
    Proficient Member blink182sp44 is offline
    MemberRank
    Oct 2011 Join Date
    156Posts

    Re: Habbo New Loader (JS)

    yes, i use HabboRE

    but can you help me witch the client please?

  9. #39
    Not so spooky... MrSpooks is offline
    MemberRank
    May 2010 Join Date
    Under a rockLocation
    1,068Posts

    Re: Habbo New Loader (JS)

    is there any way we can get this to work with CF...??

  10. #40
    BANZAAAI :P nederlander is offline
    MemberRank
    May 2007 Join Date
    201Posts

    Re: Habbo New Loader (JS)

    Very nice release, thanks!

  11. #41
    Account Upgraded | Title Enabled! Nesar is offline
    MemberRank
    Aug 2011 Join Date
    Anime LandLocation
    748Posts

    Re: Habbo New Loader (JS)

    Great as always.

    I was waiting for someone to release it :)

    for Some reason,It made my flash loading pretty fast.

  12. #42
    Apprentice basmil is offline
    MemberRank
    Dec 2011 Join Date
    11Posts

    Re: Habbo New Loader (JS)

    Nice release :D

    And thanks for the credits ;p

  13. #43
    What about no. Davidaap is offline
    MemberRank
    Nov 2009 Join Date
    773Posts

    Re: Habbo New Loader (JS)

    Quote Originally Posted by Hejula View Post
    Go check habbo.com you'll see it loads in block sections like this. Don't act like you know it all..

    Also, stop removing my posts. You have no reason too.
    he is abusing his mod powers here

    He is propably conna delete this post.

    Quote Originally Posted by DominicGunn View Post
    Pfft. Cheap imitations.
    You mad?

    Ontopic: Nice release Joopie, now we need the new swfs ;D

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

    Re: Habbo New Loader (JS)

    Quote Originally Posted by Nesar View Post
    Great as always.

    I was waiting for someone to release it :)

    for Some reason,It made my flash loading pretty fast.
    It isn't, It's just the feeling you have =3

  15. #45
    Valued Member Superbomm is offline
    MemberRank
    Feb 2011 Join Date
    BelgiumLocation
    129Posts

    Re: Habbo New Loader (JS)

    I like! It looks more modern :)



Page 3 of 8 FirstFirst 12345678 LastLast

Advertisement