124silva 124silva  • 10.12.13 15:40

Client toda configurada certa, carrega mas fica tela preta. Empty Client toda configurada certa, carrega mas fica tela preta. 10.12.13 15:40

Print de meu erro: -

Qual é meu erro: Client toda configurada certa, carrega mas fica tela preta.

CMS Que estou utilizando: Habzin CMS

SWF que estou utilizando: Orion SWF 2.0

Versão de meu hotel: NewCrypto

Se escolheu outros, especifique: Vicio emulator.

Comentários adicionais: Se quiserem, passo minha client configurada, to usando a client da Orion SWF 1.0, pois a da habzin não é compatível, mas quando carrega a client, fica tela preta.

Edu' Edu'  • 10.12.13 16:00

Client toda configurada certa, carrega mas fica tela preta. Empty Re: Client toda configurada certa, carrega mas fica tela preta. 10.12.13 16:00

poderia passar sua client?

Anonymous Convidado  • 10.12.13 17:59

124silva 124silva  • 11.12.13 11:34

Client toda configurada certa, carrega mas fica tela preta. Empty Re: Client toda configurada certa, carrega mas fica tela preta. 11.12.13 11:34

Minha client:
Código:
<?php

function SacarIP22() {
  if($_SERVER) {
    if($_SERVER["HTTP_X_FORWARDED_FOR"]) {
      $realip2 = $_SERVER["HTTP_X_FORWARDED_FOR"];
    } elseif ($_SERVER["HTTP_CLIENT_IP"]) {
      $realip2 = $_SERVER["HTTP_CLIENT_IP"];
    } else {
      $realip2 = $_SERVER["REMOTE_ADDR"];
    }
  } else {
    if(getenv("HTTP_X_FORWARDED_FOR")) {
      $realip2 = getenv("HTTP_X_FORWARDED_FOR");
    } elseif(getenv("HTTP_CLIENT_IP")) {
      $realip2 = getenv("HTTP_CLIENT_IP");
    } else {
      $realip2 = getenv("REMOTE_ADDR");
    }
  }
  return $realip2;
}


$myrealip = SacarIP22();

require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');


mysql_query("UPDATE users SET auth_ticket = '', auth_ticket = '".GenerateTicket()."', ip_last = '', ip_last = '".$remote_ip."' WHERE id = '".$my_id."'") or die(mysql_error());
 
$ticketsql = mysql_query("SELECT * FROM users WHERE id = '".$my_id."'") or die(mysql_error());
$ticketrow = mysql_fetch_assoc($ticketsql);


$client_port = mysql_fetch_assoc($client_port = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_port'"));
$client_mus = mysql_fetch_assoc($client_mus = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_mus'"));
$client_ip = mysql_fetch_assoc($client_ip = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_ip'"));
$client_variables = mysql_fetch_assoc($client_variables = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables'"));
$client_variables_night = mysql_fetch_assoc($client_variables_night = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables_night'"));
$client_texts = mysql_fetch_assoc($client_texts = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_texts'"));
$client_swf_path = mysql_fetch_assoc($client_swf_path = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_swf_path'"));
$client_habbo_swf = mysql_fetch_assoc($client_habbo_swf = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_habbo_swf'"));
$client_limit = mysql_fetch_assoc($client_limit = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_clientlimit'"));
if($user_rank < 1 && $online_count >= $client_limit['value']){ 

require_once('./templates/login_subheader.php');
require_once('./templates/login_header.php'); 

?>

<br>
<div id="intermediate">
<h2><center>Limite de Usuários</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="http://25.0.185.180/me" target="client" onClick="return onClientOpen(this)">Voltar<i></i></a><b></b>
</div>
</div>

<div id="info">
Atualmente temos: <b><?php echo $online_count; ?> <?php echo $shortname; ?>s </b> conectados no servidor <b><?php echo $client_limit['value']; ?> Onlines!</div>

<?php require_once('./templates/login_footer.php'); }else{ require_once('./templates/client_subheader.php'); ?>

<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = true;
    
    FlashExternalInterface.logLoginStep("web.view.start");
    
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }

<?php
$pathd="http://25.0.185.180";
?>
   var flashvars = {
     "client.allow.cross.domain" : "1", 
"client.notify.cross.domain" : "0", 
"connection.info.host" : "25.0.185.180", 
"connection.info.port" : "300", 
"site.url" : "<?php echo $path; ?>", 
"url.prefix" : "<?php echo $path; ?>", 
"client.reload.url" : "<?php echo $path; ?>/client", 
"client.fatal.error.url" : "<?php echo $path; ?>/clientutils", 
"client.connection.failed.url" : "<?php echo $path; ?>/clientutils", 
                        "external.variables.txt" : "http://25.0.185.180/swf/gamedata/external_variables/22e1a7119e60eb26d87e3d3000592bd389fc2d3d.txt", 
                        "external.texts.txt" : "http://25.0.185.180/swf/gamedata/external_flash_texts/a18b0baa742c6a31de77b0f5e6ed3d2eca51dcde.txt", 
                        "productdata.load.url" : "http://25.0.185.180/swf/gamedata/productdata/d23cfe9124378fb2e0820b7b41c97714fea5112f.txt", 
                        "furnidata.load.url" : "http://25.0.185.180/swf/gamedata/furnidata/afffa0735514716398d79c9bdc4bee43c6a80589.txt", 

"use.sso.ticket" : "1", 
"sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>", 
"processlog.enabled" : "1", 
"account_id" : "1", 
"client.starting" : "", 
"flash.client.url" : "http://25.0.185.180/swf/gordon/RELEASE63-201302211227-193109692/", 
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02", 
"has.identity" : "1", 
"flash.client.origin" : "popup" 


    };
    var params = {
        "base" : "http://25.0.185.180/swf/gordon/RELEASE63-201302211227-193109692/",
        "allowScriptAccess" : "always",
        "menu" : "false"           
    };
    
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
    params["wmode"] = "opaque";
    }

    FlashExternalInterface.signoutUrl = "http://25.0.185.180/account/logout?token=<?php echo sha1($myrow['password']); ?>";
    
    var clientUrl = "http://25.0.185.180/swf/gordon/RELEASE63-201302211227-193109692/Habbo.swf";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo $path; ?>/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>

<meta name="description" content="Skype para contato, Stevin" />
<meta name="keywords" content="Skype para contato, Stevin" />

<!--[if IE 8]>
<link rel="stylesheet" href="http://25.0.185.180/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="<?php echo $path; ?>/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]-->


<!-- illuminaCrypto Start Here
# illuminaCrypto 
# Maked by bi0s
# version: 0.1b (Not Completed)
# www.bi0s.com.br
 -->

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
<script src="./main.js" type="text/javascript"></script>
<script type="text/javascript">
var urlofswf = "http://25.0.185.180/";
</script>
<link rel="stylesheet" href="http://25.0.185.180/illuminaswf/landing.css" type="text/css" />
<div id="illuminahead"></div>
<div id="illuminabar"></div>
<div id="illuminaboxes"></div>
<!--
# Here ENDS illuminaCrypto
-->

<meta name="build" content="63-BUILD406 - 09.05.2011 23:04 - de" />
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="<?php echo $path; ?>/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
<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, atualiza o adobe flash player para ultima versão</h2>

    <div class="box-content">
            <p>Clique Aqui: <a href="http://get.adobe.com/flashplayer/">Instala Flash player</a>. Más instrucciones para su instalación aquí: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Más información</a></p>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="<?php echo $path; ?>/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">click here</a></p>
            </div>
        </noscript>
    </div>

</div>
<div id="fb-root"></div>
<script type="text/javascript">
    (function() {
        var e = document.createElement('script');
        e.async = true;
        e.src = 'https://connect.facebook.net/pt_BR/all.js';
        document.getElementById('fb-root').appendChild(e);
    }());
</script>

</body>
</html>

<?php } ?>

Edu' Edu'  • 11.12.13 11:44

Client toda configurada certa, carrega mas fica tela preta. Empty Re: Client toda configurada certa, carrega mas fica tela preta. 11.12.13 11:44

Olá,

use esta client

Código:

<?php

function SacarIP22() {
  if($_SERVER) {
    if($_SERVER["HTTP_X_FORWARDED_FOR"]) {
      $realip2 = $_SERVER["HTTP_X_FORWARDED_FOR"];
    } elseif ($_SERVER["HTTP_CLIENT_IP"]) {
      $realip2 = $_SERVER["HTTP_CLIENT_IP"];
    } else {
      $realip2 = $_SERVER["REMOTE_ADDR"];
    }
  } else {
    if(getenv("HTTP_X_FORWARDED_FOR")) {
      $realip2 = getenv("HTTP_X_FORWARDED_FOR");
    } elseif(getenv("HTTP_CLIENT_IP")) {
      $realip2 = getenv("HTTP_CLIENT_IP");
    } else {
      $realip2 = getenv("REMOTE_ADDR");
    }
  }
  return $realip2;
}


$myrealip = SacarIP22();

require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');


mysql_query("UPDATE users SET auth_ticket = '', auth_ticket = '".GenerateTicket()."', ip_last = '', ip_last = '".$remote_ip."' WHERE id = '".$my_id."'") or die(mysql_error());
 
$ticketsql = mysql_query("SELECT * FROM users WHERE id = '".$my_id."'") or die(mysql_error());
$ticketrow = mysql_fetch_assoc($ticketsql);


$client_port = mysql_fetch_assoc($client_port = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_port'"));
$client_mus = mysql_fetch_assoc($client_mus = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_mus'"));
$client_ip = mysql_fetch_assoc($client_ip = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_ip'"));
$client_variables = mysql_fetch_assoc($client_variables = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables'"));
$client_variables_night = mysql_fetch_assoc($client_variables_night = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables_night'"));
$client_texts = mysql_fetch_assoc($client_texts = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_texts'"));
$client_swf_path = mysql_fetch_assoc($client_swf_path = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_swf_path'"));
$client_habbo_swf = mysql_fetch_assoc($client_habbo_swf = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_habbo_swf'"));
$client_limit = mysql_fetch_assoc($client_limit = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_clientlimit'"));
if($user_rank < 1 && $online_count >= $client_limit['value']){

require_once('./templates/login_subheader.php');
require_once('./templates/login_header.php');

?>

<br>
<div id="intermediate">
<h2><center>Limite de Usuários</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="http://SEU IP/me" target="client" onClick="return onClientOpen(this)">Voltar<i></i></a><b></b>
</div>
</div>

<div id="info">
Atualmente temos: <b><?php echo $online_count; ?> <?php echo $shortname; ?>s </b> conectados no servidor <b><?php echo $client_limit['value']; ?> Onlines!</div>

<?php require_once('./templates/login_footer.php'); }else{ require_once('./templates/client_subheader.php'); ?>

<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = true;
   
    FlashExternalInterface.logLoginStep("web.view.start");
   
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }

<?php
$pathd="http://SEU IP";
?>
   var flashvars = {
     "client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "SEU IP",
"connection.info.port" : "300",
"site.url" : "<?php echo $path; ?>",
"url.prefix" : "<?php echo $path; ?>",
"client.reload.url" : "<?php echo $path; ?>/client",
"client.fatal.error.url" : "<?php echo $path; ?>/clientutils",
"client.connection.failed.url" : "<?php echo $path; ?>/clientutils",
                        "external.variables.txt" : "http://SEU IP/gamedata/external_variables/22e1a7119e60eb26d87e3d3000592bd389fc2d3d.txt",
                        "external.texts.txt" : "http://SEU IP/gamedata/external_flash_texts/a18b0baa742c6a31de77b0f5e6ed3d2eca51dcde.txt",
                        "productdata.load.url" : "http://SEU IP/gamedata/productdata/d23cfe9124378fb2e0820b7b41c97714fea5112f.txt",
                        "furnidata.load.url" : "http://SEU IP/gamedata/furnidata/afffa0735514716398d79c9bdc4bee43c6a80589.txt",

"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "",
"flash.client.url" : "http://SEU IP/gordon/RELEASE63-201302211227-193109692/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup"


    };
    var params = {
        "base" : "http://SEU IP/gordon/RELEASE63-201302211227-193109692/",
        "allowScriptAccess" : "always",
        "menu" : "false"          
    };
   
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
    params["wmode"] = "opaque";
    }

    FlashExternalInterface.signoutUrl = "http://SEU IP/account/logout?token=<?php echo sha1($myrow['password']); ?>";
   
    var clientUrl = "http://SEU IP/gordon/RELEASE63-201302211227-193109692/Habbo.swf";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo $path; ?>/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>

<meta name="description" content="Skype para contato, Stevin" />
<meta name="keywords" content="Skype para contato, Stevin" />

<!--[if IE 8]>
<link rel="stylesheet" href="http://SEU IP/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="<?php echo $path; ?>/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]-->


<!-- illuminaCrypto Start Here
# illuminaCrypto
# Maked by bi0s
# version: 0.1b (Not Completed)
# www.bi0s.com.br
 -->

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
<script src="./main.js" type="text/javascript"></script>
<script type="text/javascript">
var urlofswf = "http://SEU IP/";
</script>
<link rel="stylesheet" href="http://SEU IP/illuminaswf/landing.css" type="text/css" />
<div id="illuminahead"></div>
<div id="illuminabar"></div>
<div id="illuminaboxes"></div>
<!--
# Here ENDS illuminaCrypto
-->

<meta name="build" content="63-BUILD406 - 09.05.2011 23:04 - de" />
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="<?php echo $path; ?>/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
<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, atualiza o adobe flash player para ultima versão</h2>

    <div class="box-content">
            <p>Clique Aqui: <a href="http://get.adobe.com/flashplayer/">Instala Flash player</a>. Más instrucciones para su instalación aquí: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Más información</a></p>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="<?php echo $path; ?>/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">click here</a></p>
            </div>
        </noscript>
    </div>

</div>
<div id="fb-root"></div>
<script type="text/javascript">
    (function() {
        var e = document.createElement('script');
        e.async = true;
        e.src = 'https://connect.facebook.net/pt_BR/all.js';
        document.getElementById('fb-root').appendChild(e);
    }());
</script>

</body>
</html>

<?php } ?>

troque as palavras SEU IP pelo seu IP ;p

Anonymous Convidado  • 11.12.13 11:49

124silva 124silva  • 11.12.13 14:42

Client toda configurada certa, carrega mas fica tela preta. Empty Re: Client toda configurada certa, carrega mas fica tela preta. 11.12.13 14:42

Tópico resolvido, a minha external_variables não estava configurada corretamente. Obrigado Edu e pff mais uma vez.

Edu' Edu'  • 11.12.13 14:47

Client toda configurada certa, carrega mas fica tela preta. Empty Re: Client toda configurada certa, carrega mas fica tela preta. 11.12.13 14:47

@Fechado

Tópico resolvido
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.