Fórum Dix
Bem-vindo ao Fórum Dix. Aqui você poderá encontar conteúdos como:

#Habbo
#Transformice
#Minecraft
#DDTank
#SAMP
#Design
#Web
#Combat Arms
#WEBNODE
#Noticias

Clique em registrar e inicie sua jornada por aqui.
Fórum Dix
Bem-vindo ao Fórum Dix. Aqui você poderá encontar conteúdos como:

#Habbo
#Transformice
#Minecraft
#DDTank
#SAMP
#Design
#Web
#Combat Arms
#WEBNODE
#Noticias

Clique em registrar e inicie sua jornada por aqui.
    EncurtaNET
    EncurtaNet

    Foto

    [Tutorial] Evitar Queda ao entrar no hotel



    • Por favor, inicie sesión para responder

    Ver o tópico anterior Ver o tópico seguinte Ir para baixo  Mensagem [Página 1 de 1]

    #1
    Fuera de línea
    BangBang
    Dom maio 06, 2012 2:30 pm


    BangBang

    Ex-Administrador

    Ex-Administrador
    --> Tutoriais Habbo <--
    Evitar queda de Hotel ao se conectar com ele.




    1º - Acedimento á determinado local
    Primeiramente devemos aceder á:
    Pasta 'client' >> Arquivo 'index.php', ou somente 'index'

    2º - Procedimento:
    Após aceder ao local determinado.
    Apague tudo o que ali tem dentro (do arquivo) e cole o código abaixo:
    Código:
    <?php
    define('USERNAME_REQUIRED', TRUE);
    define('ACCOUNT_REQUIRED', TRUE);
    include('../global.php');
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <?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-removido="content-type" content="text/html; charset=ISO-879" />
    <title>King Hotel O Melhor</title>

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

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

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

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

    <script type="text/javascript">
    var andSoItBegins = (new Date()).getTime();
    var ad_keywords = "";
    document.habboLoggedIn = true;
    var habboName = "<?php echo $_SESSION['username']; ?>";
    var habboReqPath = "<?php echo $core->CmsSetting('cms_url'); ?>";
    var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/329/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/506/web-gallery/static/styles/habboflashclient.css" type="text/css" />
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script>
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506/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" : "5.206.87.14",
    "connection.info.port" : "30000",
    "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'); ?>",
    "client.fatal.error.url" : "<?php echo $core->CmsSetting('cms_url'); ?>",
    "client.connection.failed.url" : "<?php echo $core->CmsSetting('cms_url'); ?>",
    "external.variables.txt" : "http://www.friendshotel.net/gamedata/variables1.txt",
    "external.texts.txt" : "http://www.friendshotel.net/gamedata/texts-friends1.txt",
    "use.sso.ticket" : "1",
    "sso.ticket" : "<?php echo $ticket ?>",
    "processlog.enabled" : "0",
    "account_id" : "1",
    "client.starting" : "Aguarde, o King Hotel esta carregando...",
    "flash.client.url" : "http://www.friendshotel.net/gordon/R65/",
    "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
    "has.identity" : "0",
    "flash.client.origin" : "popup",
    "token" : "<?php echo $ticket ?>"
    };
    var params = {
    "base" : "http://www.friendshotel.net/gordon/R65/",
    "allowScriptAccess" : "always",
    "menu" : "false"
    };

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

    var clientUrl = "http://www.friendshotel.net/gordon/R65/FriendsNatal.swf";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506/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/506/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/506/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/506/web-gallery/static/styles/ie6.css" type="text/css" />
    <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506/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/506/web-gallery/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>

    ~Creditos:
    BangBang

    Como ficará :
    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'");
    ?>
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



    King Hotel O Melhor


    var andSoItBegins = (new Date()).getTime();













    var andSoItBegins = (new Date()).getTime();
    var ad_keywords = "";
    document.habboLoggedIn = true;
    var habboName = "";
    var habboReqPath = "CmsSetting('cms_url'); ?>";
    var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/329/web-gallery";
    var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
    var habboPartner = "";
    var habboDefaultClientPopupUrl = "CmsSetting('cms_url'); ?>/client";
    window.name = "ClientWndw";
    if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }







    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" : "5.206.87.14",
    "connection.info.port" : "30000",
    "site.url" : "CmsSetting('cms_url'); ?>",
    "url.prefix" : "CmsSetting('cms_url'); ?>",
    "client.reload.url" : "CmsSetting('cms_url'); ?>",
    "client.fatal.error.url" : "CmsSetting('cms_url'); ?>",
    "client.connection.failed.url" : "CmsSetting('cms_url'); ?>",
    "external.variables.txt" : "http://www.friendshotel.net/gamedata/variables1.txt",
    "external.texts.txt" : "http://www.friendshotel.net/gamedata/texts-friends1.txt",
    "use.sso.ticket" : "1",
    "sso.ticket" : "",
    "processlog.enabled" : "0",
    "account_id" : "1",
    "client.starting" : "Aguarde, o King Hotel esta carregando...",
    "flash.client.url" : "http://www.friendshotel.net/gordon/R65/",
    "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
    "has.identity" : "0",
    "flash.client.origin" : "popup",
    "token" : ""
    };
    var params = {
    "base" : "http://www.friendshotel.net/gordon/R65/",
    "allowScriptAccess" : "always",
    "menu" : "false"
    };

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

    var clientUrl = "http://www.friendshotel.net/gordon/R65/FriendsNatal.swf";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506/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) {}
    }


















    $('content').show();



    If you are not automatically redirected, please [Tens de ter uma conta e sessão iniciada para poderes visualizar este link]












    http://www.forum-dix.com.br

    #2
    Fuera de línea
    Minatos™
    Sex Dez 21, 2012 1:51 am


    Minatos™

    Ex-Administrador

    Ex-Administrador
    Teg [Tutorial] , Adicionado no tópico segundo as regras do dia 17 ~12 ~ 12.

    Administração

    O usuário em questão não será punido por te criado o tópico antes das regras.

    http://www.google.com.br

    Mensagem [Página 1 de 1]