[Ajuda] Preciso de Ajuda

+3
Matt
Potter ϟ
danone
7 participantes

danone danone  • 17.12.11 16:09

[Ajuda] Preciso de Ajuda Empty [Ajuda] Preciso de Ajuda 17.12.11 16:09

Eai Galera , Ta com um problema aki no meu habbo , Client tudo preta , é a Presidente Cms v5 Ajuda ae PF

[Ajuda] Preciso de Ajuda Clientpreta

Potter ϟ Potter ϟ  • 17.12.11 16:18

[Ajuda] Preciso de Ajuda Empty Re: [Ajuda] Preciso de Ajuda 17.12.11 16:18

Simples, troque a client por outra.

danone danone  • 17.12.11 16:39

[Ajuda] Preciso de Ajuda Empty Re: [Ajuda] Preciso de Ajuda 17.12.11 16:39

Eu Troquei , mas deu ERRO

danone danone  • 17.12.11 16:40

[Ajuda] Preciso de Ajuda Empty Re: [Ajuda] Preciso de Ajuda 17.12.11 16:40

Eu Troquei , mas deu ERRO

Potter ϟ Potter ϟ  • 17.12.11 16:41

[Ajuda] Preciso de Ajuda Empty Re: [Ajuda] Preciso de Ajuda 17.12.11 16:41

ixi, troca de cms então, presidente é complicada, usa uma baseada em phoenix.

Matt Matt  • 17.12.11 17:01

Super ModeradorMembro da Equipa

[Ajuda] Preciso de Ajuda Empty Re: [Ajuda] Preciso de Ajuda 17.12.11 17:01

User Danone ,

Ocorrências +5

Motivo Dual Post .

#OffTopic , Troca sua Index e Swf compatível com ela !

Kıłłzøиez Kıłłzøиez  • 17.12.11 18:11

[Ajuda] Preciso de Ajuda Empty Re: [Ajuda] Preciso de Ajuda 17.12.11 18:11

Troque a index e a swf e encontre umas compativeis com essa Presidente CMS!

Milani Milani  • 17.12.11 19:38

[Ajuda] Preciso de Ajuda Empty Re: [Ajuda] Preciso de Ajuda 17.12.11 19:38

Troque a index e a swf tenta encontrar uma swf compatível com o emu !!

~Stryker~ ~Stryker~  • 17.12.11 21:57

[Ajuda] Preciso de Ajuda Empty Re: [Ajuda] Preciso de Ajuda 17.12.11 21:57

Amigo, irei disponiblizar uma Index e uma Client, elas tem que ser configuradas!
Porém não sei se ela é compatível com a Presidente CMS v5. Mais irei disponibilizar.

Index ~

Código:
<?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/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>

<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/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" : "<?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" : "http://habnerdhotel.servegame.com:90/client/",
"client.connection.failed.url" : "http://habnerdhotel.servegame.com:90/client/",
"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" : "Calma, o Habnerd esta carregando! (;",
"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/207/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">Por favor instale o Adobe Flash Player.</h2>
<div class="box-content">
<p>Voce pode instalar e baixar o Adobe Flash Player aqui: <a href="http://get.adobe.com/flashplayer/">
Instalar Adobe Flash Player</a>. Mais instrucoes para a instalcao podem ser encontradas aqui: <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>Se voce nao for redirecionado automaticamente, por favor <a href="/client/nojs">clique aqui</a></p>
</div>
</noscript>
</div>

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

</body>
</html>

Client ~

Código:
    <?php
    /*=======================================================================
    | UberWeb - Lightweight site system for Uber
    | #######################################################################
    | Copyright (c) 2009, Roy 'Meth0d'
    | http://www.meth0d.org
    | #######################################################################
    | This program is free software: you can redistribute it and/or modify
    | it under the terms of the GNU General Public License as published by
    | the Free Software Foundation, either version 3 of the License, or
    | (at your option) any later version.
    | #######################################################################
    | This program is distributed in the hope that it will be useful,
    | but WITHOUT ANY WARRANTY; without even the implied warranty of
    | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    | GNU General Public License for more details.
    \======================================================================*/

    define('HIDE_FEEDBACK', true);

    require_once "global.php";
    require_once "inc/class.rooms.php";

    if (!LOGGED_IN)
    {
        header("Location: " . WWW. "/login_popup");
        exit;
    }

    $forwardType = 0;
    $forwardId = 0;

    // ****** BADGES & IP UPDATE FOR PHOENIX
    // ****** CODED BY JONTYCAT

    dbquery("UPDATE users SET ip_last = '" . $_SERVER['REMOTE_ADDR'] . "' WHERE username = '" . USER_NAME . "'");
    if($users->hasFuse(USER_ID, 'isvip'))
    {
      $getId = mysql_query("SELECT id FROM users WHERE username = '" . USER_NAME ."'");
      while($id = mysql_fetch_assoc($getId))
      {
          dbquery("INSERT into user_badges (user_id, badge_id, badge_slot) VALUES ('".$id['id']."', 'VIP', '0')");
      }
    }
    if($users->hasFuse(USER_ID, 'fuse_housekeeping_l ogin'))
    {
      $adminId = mysql_query("SELECT id FROM users WHERE username = '" .USER_NAME ."'");
      while($aId = mysql_fetch_assoc($adminId))
      {
          dbquery("INSERT into user_badges (user_id, badge_id, badge_slot) VALUES ('".$aId['id']."', 'ADM', '0')");
      }
    }

    // END
    if ($users->getUserVar(USER_ID, 'newbie_status') == "0")
    {
        if (isset($_GET['createRoom']) && is_numeric($_GET['createRoom']))
        {
            $roomId = RoomManager::CreateRoom(USER_NAME . "'s room", USER_NAME, 'model_s');

            switch (intval($_GET['createRoom']))
            {
                default:
                case 0:
             
                    RoomManager::PaintRoom($roomId, '1701', '601');
                    break;
                 
                case 1:
             
                    RoomManager::PaintRoom($roomId, '607', '111');
                    break;
                 
                case 2:
             
                    RoomManager::PaintRoom($roomId, '1901', '301');
                    break;
                 
                case 3:
             
                    RoomManager::PaintRoom($roomId, '1801', '110');
                    break;
                 
                case 4:
             
                    RoomManager::PaintRoom($roomId, '503', '104');
                    break;
                 
                case 5:
             
                    RoomManager::PaintRoom($roomId, '804', '107');
                    break;
            }

            //die('createRoom Result: ' . $roomId);
            dbquery("UPDATE users SET home_room = '" . $roomId . "', newbie_status = '1' WHERE id = '" . USER_ID . "' LIMIT 1");
         
            //$forwardType = 2;
            //$forwardId = $roomId;
        }
        else
        {
         
        }
    }
    else if (isset($_GET['forwardType']) && isset($_GET['forwardId']) && is_numeric($_GET['forwardType']) && is_numeric($_GET['forwardId']))
    {
        $forwardType = intval($_GET['forwardType']);
        $forwardId = intval($_GET['forwardId']);
     
        if ($forwardType >= 3 || $forwardType <= 0)
        {
            return;
        }
    }

    if ($users->GetUserVar(USER_ID, "newbie_status", false) == "1")
    {
     
    }

    $users->CheckSSO(USER_ID);

    $tpl->Init();

    $tpl->AddGeneric('head-init');
    $tpl->AddIncludeSet('default');
    $tpl->AddIncludeFile(new IncludeFile('text/css', '%www%/web-gallery/v2/styles/habboclient.css', 'stylesheet'));
    $tpl->AddIncludeFile(new IncludeFile('text/css', '%www%/web-gallery/v2/styles/habboflashclient.css', 'stylesheet'));
    $tpl->AddIncludeFile(new IncludeFile('text/javascript', '%www%/web-gallery/static/js/habboflashclient.js'));

    $tpl->WriteIncludeFiles();
    $tpl->AddGeneric('head-bottom');

    $client = new Template('page-client');

    if($_SERVER["HTTP_HOST"] == "habnerdhotel.servegame.com")
      {
          $client->SetParam('connection_info_hos t', 'habnerdhotel.servegame.com');
          $client->SetParam('external_variables_ txt','http://hotel.habbleck.cz.cc:90/swf/gamedata/variables.txt');
      }
    else
      {
          $client->SetParam('connection_info_hos t', 'habnerdhotel.servegame.com');
          $client->SetParam('external_variables_ txt','http://hotel.habbleck.cz.cc:90/swf/gamedata/variables.txt'); // OLD externals.php?id=external_variables
      }

    $client->SetParam('page_title', ' ');
    $client->SetParam('sso_ticket', $users->GetUserVar(USER_ID, 'auth_ticket', false));
    $client->SetParam('flash_base', 'http://swf.online.tc/gordon/R64/');
    $client->SetParam('flash_client_url', 'http://swf.online.tc/gordon/R64/');
    $client->SetParam('hotel_status', $core->GetUsersOnline() . ' users online now!');
    $client->SetParam('forwardType', $forwardType);
    $client->SetParam('forwardId', $forwardId);

    if (isset($_GET['forceTicket']) && $users->HasFuse(USER_ID, 'fuse_admin'))
    {
        $client->SetParam('sso_ticket', $_GET['forceTicket']);
    }

    $tpl->AddTemplate($client);

    $tpl->Output();

    ?>

    <body oncontextmenu="return false" onkeydown="return false"> 

Agora também irei disponibilizar uma SWF, porém não sei se é compatível com o seu emulador ou sua CMS!
Ela é compatível com o Phoenix 3.6.0 e 3.6.4! Com outros eu já não sei.

Código:
Variables ~ http://ihabi.org/swf/r63/external_variables.txt
Texts ~ http://ihabi.org/swf/r63/external_flash_texts.txt
SWF Path ~ http://ihabi.org/swf/r63/
Habbo.SWF ~ http://ihabi.org/swf/r63/Habbo.swf

Ajudei? Clique no "+"!

TrY! TrY!  • 17.12.11 22:21

[Ajuda] Preciso de Ajuda Empty Re: [Ajuda] Preciso de Ajuda 17.12.11 22:21

Na verdade esse erro é causado porque a swf que você usa na client não é compatível com o Emulador.
Ou então você não ligou seu emulador tente essas swf aqui no spoiler.
Spoiler:
Ou teste essa client aqui.
Spoiler:
Diga qual é o seu emulador. :D
Permissões neste sub-fórum
Não podes responder a tópicos

BH Servers

Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.