Client carrega só até 80%

+2
νσℓ¢σм
LuizLopes.
6 participantes

LuizLopes. LuizLopes.  • 18.01.13 16:35

Client carrega só até 80% Empty Client carrega só até 80% 18.01.13 16:35

Pessoal, estou utilizando a SPD Cms + SPD Db + SwF retirado por volcom + Emulador Light.

A client está indo só até 80%.

Aqui a client:


Código:
<?php
$myrealip = $_SERVER['REMOTE_ADDR'];
 
require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');
 
$SQL=mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'");
echo mysql_error();
$N=mysql_num_rows($SQL);
if($N==0){
mysql_query("INSERT INTO `user_tickets` SET `user_tickets`.`userid` = '".$my_id."', `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."'") or die(mysql_error());
}else{
mysql_query("UPDATE `user_tickets` SET `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."' WHERE `userid` = '".$my_id."'") or die(mysql_error());
}
 
$ticketsql = mysql_query("SELECT * FROM user_tickets WHERE userid = '".$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>Límite de Clientes</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="http://servidor2.lavvos.com" target="client" onClick="return onClientOpen(this)">Ir al Servidor 2<i></i></a><b></b>
</div>
</div>
 
<div id="info">
Actualmente tenemos <b><?php echo $online_count; ?> <?php echo $shortname; ?>s </b> conectados en el Servidor 1 y el límite es de <b><?php echo $client_limit['value']; ?> Onlines.</b> Puedes intentar entrar en el <strong>Servidor 2</strong>.</div>
 
<?php require_once('./templates/login_footer.php'); }else{ require_once('./templates/client_subheader.php'); ?>
<script type="text/javascript">
 
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-32319454-1']);
  _gaq.push(['_setDomainName', 'lavvos.net']);
  _gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? '[url]https://ssl[/url]' : '[url]http://www[/url]')  '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
 
</script>
<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = true;
 
    FlashExternalInterface.logLoginStep("web.view.start");
 
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
 
    var flashvars = {
    "client.allow.cross.domain" : "1",
                        "client.notify.cross.domain" : "0",
                        "connection.info.host" : "25.144.210.65",
                        "connection.info.port" : "30000",
                        "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.hash" : "", 
                        "external.variables.txt" : "http://habbofree.biz/swf/new/external_variables.txt",
                        "external.texts.txt" : "http://habbofree.biz/swf/new/external_flash_texts.txt",
                        "productdata.load.url" : "http://habbofree.biz/swf/new/productdata.txt",
                        "furnidata.load.url" : "http://habbofree.biz/swf/new/furnidata.txt",
                        "use.sso.ticket" : "1",
                        "sso.ticket" : "<?php echo $ticketrow['sessionticket']; ?>",
                        "processlog.enabled" : "1",
                        "account_id" : "1",
                        "client.starting" : "Por favor aguarde! O <?php echo $shortname; ?> está carregando...",
                        "flash.client.url" : "http://habbofree.biz/swf/new/Habbo.swf",
                        "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
                        "has.identity" : "1",
                        "flash.client.origin" : "popup"
 
 
    };
    var params = {
        "base" : "http://habbofree.biz/swf/new/Habbo.swf",
        "allowScriptAccess" : "always",
        "menu" : "false"         
    };
 
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }
 
    FlashExternalInterface.signoutUrl = "<?php echo $path; ?>/account/logout?token=<?php echo sha1($myrow['password']); ?>";
 
    var clientUrl = "http://habbofree.biz/swf/new/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="Lavvo Hotel: haz amig@s, únete a la diversión y date a conocer." />
<meta name="keywords" content="lavvo hotel, mundo, virtual, red social, gratis, comunidad, personaje, chat, online, adolescente, roleplaying, unirse, social, grupos, forums, seguro, jugar, juegos, amigos, adolescentes, raros, furni raros, coleccionable, crear, coleccionar, conectar, furni, muebles, mascotas, diseño de salas, compartir, expresión, placas, pasar el rato, música, celebridad, visitas de famosos, celebridades, juegos en línea, juegos multijugador, multijugador masivo" />
 
 
 
<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/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]-->
 
<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, actualiza tu Flash Player a la última versión</h2>
 
    <div class="box-content">
            <p>Puedes instalar y descargar Adobe Flash Player aquí: <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 = '[url]https://connect.facebook.net/es_ES/all.js';[/url]
        document.getElementById('fb-root').appendChild(e);
    }());
</script>
 
</body>
</html>
 
<?php } ?>
Agradeço á todos que se esforçarem em me ajudar.

νσℓ¢σм νσℓ¢σм  • 18.01.13 16:58

Client carrega só até 80% Empty Re: Client carrega só até 80% 18.01.13 16:58

Olá tente usar o Atom Emulador_:


Dowload: http://www.mediafire.com/?7yxvsp832mdzntz

LuizLopes. LuizLopes.  • 18.01.13 17:04

Client carrega só até 80% Empty Re: Client carrega só até 80% 18.01.13 17:04

νσℓ¢σм escreveu:Olá tente usar o Atom Emulador_:


Dowload: http://www.mediafire.com/?7yxvsp832mdzntz

Não adiantou, a client continua carregando apenas até os 80%

Minato™ Minato™  • 18.01.13 17:22

Client carrega só até 80% Empty Re: Client carrega só até 80% 18.01.13 17:22

Reputação da mensagem: 100% (1 votos)
Ola,Convidado

Poderia informa se você usa Port se usa qual? se Não usa responda...

5Minutes 5Minutes  • 18.01.13 17:29

Client carrega só até 80% Empty Re: Client carrega só até 80% 18.01.13 17:29

Olá,

Amigo, o erro está ocorrendo porque a BASE da SWF está como Habbo.SWF, ou seja. A parte onde está escrito "base" está assim:

Código:
"base" : "http://habbofree.biz/swf/new/Habbo.swf"

E teria de estar assim:

Código:
"base" : "http://habbofree.biz/swf/new/

Também terá de colocar dessa forma o Flash Client URL


Atenciosamente.
5Minutes

LuizLopes. LuizLopes.  • 18.01.13 18:24

Client carrega só até 80% Empty Re: Client carrega só até 80% 18.01.13 18:24

5Minutes escreveu:Olá,

Amigo, o erro está ocorrendo porque a BASE da SWF está como Habbo.SWF, ou seja. A parte onde está escrito "base" está assim:

Código:
"base" : "http://habbofree.biz/swf/new/Habbo.swf"

E teria de estar assim:

Código:
"base" : "http://habbofree.biz/swf/new/

Também terá de colocar dessa forma o Flash Client URL


Atenciosamente.
5Minutes

Ok, só que agora está dando este erro:

Client carrega só até 80% Printabc

LuizLopes.

Gabrieldlm Gabrieldlm  • 19.01.13 15:53

Client carrega só até 80% Empty Re: Client carrega só até 80% 19.01.13 15:53

Esse erro ocorre quando a SWF que você está usando não é compatível com o seu emulador.

Tente colocar a base desta maneira:

Código:
http://habbofree.biz/swf/

LuizLopes. LuizLopes.  • 19.01.13 16:01

Client carrega só até 80% Empty Re: Client carrega só até 80% 19.01.13 16:01

Continua a mesma coisa, eu mudei apenas a base, a client está assim:

Código:
<?php
$myrealip = $_SERVER['REMOTE_ADDR'];
 
require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');
 
$SQL=mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'");
echo mysql_error();
$N=mysql_num_rows($SQL);
if($N==0){
mysql_query("INSERT INTO `user_tickets` SET `user_tickets`.`userid` = '".$my_id."', `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."'") or die(mysql_error());
}else{
mysql_query("UPDATE `user_tickets` SET `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."' WHERE `userid` = '".$my_id."'") or die(mysql_error());
}
 
$ticketsql = mysql_query("SELECT * FROM user_tickets WHERE userid = '".$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>Límite de Clientes</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="http://servidor2.lavvos.com" target="client" onClick="return onClientOpen(this)">Ir al Servidor 2<i></i></a><b></b>
</div>
</div>
 
<div id="info">
Actualmente tenemos <b><?php echo $online_count; ?> <?php echo $shortname; ?>s </b> conectados en el Servidor 1 y el límite es de <b><?php echo $client_limit['value']; ?> Onlines.</b> Puedes intentar entrar en el <strong>Servidor 2</strong>.</div>
 
<?php require_once('./templates/login_footer.php'); }else{ require_once('./templates/client_subheader.php'); ?>
<script type="text/javascript">
 
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-32319454-1']);
  _gaq.push(['_setDomainName', 'lavvos.net']);
  _gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? '[url]https://ssl[/url]' : '[url]http://www[/url]')  '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
 
</script>
<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = true;
 
    FlashExternalInterface.logLoginStep("web.view.start");
 
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
 
    var flashvars = {
    "client.allow.cross.domain" : "1",
                        "client.notify.cross.domain" : "0",
                        "connection.info.host" : "25.144.210.65",
                        "connection.info.port" : "30000",
                        "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.hash" : "", 
                        "external.variables.txt" : "http://habbofree.biz/swf/new/external_variables.txt",
                        "external.texts.txt" : "http://habbofree.biz/swf/new/external_flash_texts.txt",
                        "productdata.load.url" : "http://habbofree.biz/swf/new/productdata.txt",
                        "furnidata.load.url" : "http://habbofree.biz/swf/new/furnidata.txt",
                        "use.sso.ticket" : "1",
                        "sso.ticket" : "<?php echo $ticketrow['sessionticket']; ?>",
                        "processlog.enabled" : "1",
                        "account_id" : "1",
                        "client.starting" : "Por favor aguarde! O <?php echo $shortname; ?> está carregando...",
                        "flash.client.url" : ""http://habbofree.biz/swf/new/",
                        "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
                        "has.identity" : "1",
                        "flash.client.origin" : "popup"
 
 
    };
    var params = {
        "base" : "http://habbofree.biz/swf/",
        "allowScriptAccess" : "always",
        "menu" : "false"         
    };
 
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }
 
    FlashExternalInterface.signoutUrl = "<?php echo $path; ?>/account/logout?token=<?php echo sha1($myrow['password']); ?>";
 
    var clientUrl = "http://habbofree.biz/swf/new/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="Lavvo Hotel: haz amig@s, únete a la diversión y date a conocer." />
<meta name="keywords" content="lavvo hotel, mundo, virtual, red social, gratis, comunidad, personaje, chat, online, adolescente, roleplaying, unirse, social, grupos, forums, seguro, jugar, juegos, amigos, adolescentes, raros, furni raros, coleccionable, crear, coleccionar, conectar, furni, muebles, mascotas, diseño de salas, compartir, expresión, placas, pasar el rato, música, celebridad, visitas de famosos, celebridades, juegos en línea, juegos multijugador, multijugador masivo" />
 
 
 
<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/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]-->
 
<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, actualiza tu Flash Player a la última versión</h2>
 
    <div class="box-content">
            <p>Puedes instalar y descargar Adobe Flash Player aquí: <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 = '[url]https://connect.facebook.net/es_ES/all.js';[/url]
        document.getElementById('fb-root').appendChild(e);
    }());
</script>
 
</body>
</html>
 
<?php } ?>

Gabrieldlm Gabrieldlm  • 19.01.13 16:08

Client carrega só até 80% Empty Re: Client carrega só até 80% 19.01.13 16:08

O erro está na configuração da external_variables: http://habbofree.biz/swf/new/external_variables.txt

Ex: Está assim: http://habbofree.biz/swf/new/external_flash_texts
Deveria estar assim: http://habbofree.biz/swf/new/external_flash_texts.txt

Teste os links e verá o erro.
Mude em todos os lugares onde está faltando a extennão .txt

A client correta:

Código:
<?php
$myrealip = $_SERVER['REMOTE_ADDR'];
 
require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');
 
$SQL=mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'");
echo mysql_error();
$N=mysql_num_rows($SQL);
if($N==0){
mysql_query("INSERT INTO `user_tickets` SET `user_tickets`.`userid` = '".$my_id."', `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."'") or die(mysql_error());
}else{
mysql_query("UPDATE `user_tickets` SET `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."' WHERE `userid` = '".$my_id."'") or die(mysql_error());
}
 
$ticketsql = mysql_query("SELECT * FROM user_tickets WHERE userid = '".$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>Límite de Clientes</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="http://servidor2.lavvos.com" target="client" onClick="return onClientOpen(this)">Ir al Servidor 2<i></i></a><b></b>
</div>
</div>
 
<div id="info">
Actualmente tenemos <b><?php echo $online_count; ?> <?php echo $shortname; ?>s </b> conectados en el Servidor 1 y el límite es de <b><?php echo $client_limit['value']; ?> Onlines.</b> Puedes intentar entrar en el <strong>Servidor 2</strong>.</div>
 
<?php require_once('./templates/login_footer.php'); }else{ require_once('./templates/client_subheader.php'); ?>
<script type="text/javascript">
 
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-32319454-1']);
  _gaq.push(['_setDomainName', 'lavvos.net']);
  _gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? '[url]https://ssl[/url]' : '[url]http://www[/url]')  '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
 
</script>
<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = true;
 
    FlashExternalInterface.logLoginStep("web.view.start");
 
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
 
    var flashvars = {
    "client.allow.cross.domain" : "1",
                        "client.notify.cross.domain" : "0",
                        "connection.info.host" : "25.144.210.65",
                        "connection.info.port" : "30000",
                        "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.hash" : "", 
                        "external.variables.txt" : "http://habbofree.biz/swf/new/external_variables.txt",
                        "external.texts.txt" : "http://habbofree.biz/swf/new/external_flash_texts.txt",
                        "productdata.load.url" : "http://habbofree.biz/swf/new/productdata.txt",
                        "furnidata.load.url" : "http://habbofree.biz/swf/new/furnidata.txt",
                        "use.sso.ticket" : "1",
                        "sso.ticket" : "<?php echo $ticketrow['sessionticket']; ?>",
                        "processlog.enabled" : "1",
                        "account_id" : "1",
                        "client.starting" : "Por favor aguarde! O <?php echo $shortname; ?> está carregando...",
                        "flash.client.url" : ""http://habbofree.biz/swf/new/",
                        "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
                        "has.identity" : "1",
                        "flash.client.origin" : "popup"
 
 
    };
    var params = {
        "base" : "http://habbofree.biz/swf/new/",
        "allowScriptAccess" : "always",
        "menu" : "false"         
    };
 
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }
 
    FlashExternalInterface.signoutUrl = "<?php echo $path; ?>/account/logout?token=<?php echo sha1($myrow['password']); ?>";
 
    var clientUrl = "http://habbofree.biz/swf/new/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="Lavvo Hotel: haz amig@s, únete a la diversión y date a conocer." />
<meta name="keywords" content="lavvo hotel, mundo, virtual, red social, gratis, comunidad, personaje, chat, online, adolescente, roleplaying, unirse, social, grupos, forums, seguro, jugar, juegos, amigos, adolescentes, raros, furni raros, coleccionable, crear, coleccionar, conectar, furni, muebles, mascotas, diseño de salas, compartir, expresión, placas, pasar el rato, música, celebridad, visitas de famosos, celebridades, juegos en línea, juegos multijugador, multijugador masivo" />
 
 
 
<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/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]-->
 
<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, actualiza tu Flash Player a la última versión</h2>
 
    <div class="box-content">
            <p>Puedes instalar y descargar Adobe Flash Player aquí: <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 = '[url]https://connect.facebook.net/es_ES/all.js';[/url]
        document.getElementById('fb-root').appendChild(e);
    }());
</script>
 
</body>
</html>
 
<?php } ?>

LuizLopes. LuizLopes.  • 19.01.13 16:34

Client carrega só até 80% Empty Re: Client carrega só até 80% 19.01.13 16:34

Troquei a client, como me passou e o erro continua do mesmo jeito.

LuizLopes.

Gabrieldlm Gabrieldlm  • 19.01.13 16:43

Client carrega só até 80% Empty Re: Client carrega só até 80% 19.01.13 16:43

LuizLopes. escreveu:Troquei a client, como me passou e o erro continua do mesmo jeito.

LuizLopes.

Não é só trocar a client, leia o meu post e entenderá o erro. Se a SWF for sua você precisará consertar os link no ar'uivo "external_variables".

LuizLopes. LuizLopes.  • 19.01.13 16:45

Client carrega só até 80% Empty Re: Client carrega só até 80% 19.01.13 16:45

Gabrieldlm escreveu:
LuizLopes. escreveu:Troquei a client, como me passou e o erro continua do mesmo jeito.

LuizLopes.

Não é só trocar a client, leia o meu post e entenderá o erro. Se a SWF for sua você precisará consertar os link no ar'uivo "external_variables".

Não, a SWF não é minha só havia configurações dela na Client. Então apenas teria que mudar a Client

Gabrieldlm Gabrieldlm  • 19.01.13 17:03

Client carrega só até 80% Empty Re: Client carrega só até 80% 19.01.13 17:03

LuizLopes. escreveu:
Gabrieldlm escreveu:
LuizLopes. escreveu:Troquei a client, como me passou e o erro continua do mesmo jeito.

LuizLopes.

Não é só trocar a client, leia o meu post e entenderá o erro. Se a SWF for sua você precisará consertar os link no ar'uivo "external_variables".

Não, a SWF não é minha só havia configurações dela na Client. Então apenas teria que mudar a Client

Então o dono da SWF terá que concertar ,ou você terá que procurar outra SWF pois essa está com erro em um arquivo.
O erro não e na client e sim na SWF.

TrY! TrY!  • 19.01.13 17:04

Client carrega só até 80% Empty Re: Client carrega só até 80% 19.01.13 17:04

Olá,

Troque a client por essa:
Código:

<?php
$myrealip = $_SERVER["REMOTE_ADDR"];

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

$SQL=mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'");
echo mysql_error();
$N=mysql_num_rows($SQL);
if($N==0){
mysql_query("INSERT INTO `user_tickets` SET `user_tickets`.`userid` = '".$my_id."', `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."'") or die(mysql_error());
}else{
mysql_query("UPDATE `user_tickets` SET `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."' WHERE `userid` = '".$my_id."'") or die(mysql_error());
}

$ticketsql = mysql_query("SELECT * FROM user_tickets WHERE userid = '".$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>Límite de Usuarios</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="http://test.jebbo.net/me" target="client" onClick="return onClientOpen(this)">Vuelve al ME<i></i></a><b></b>
</div>
</div>

<div id="info">
Actualmente tenemos <b><?php echo $online_count; ?> <?php echo $shortname; ?>s </b> conectados en el Servidor 1 y el límite es de <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="javvosx.hopto.org";
?>
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "SITEOUIP",
"connection.info.port" : "30000",
"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://swf.host.crazzy.org/swf/external_variables_new.txt",
"external.texts.txt" : "http://swf.host.crazzy.org/swf/external_flash_texts.txt",
"productdata.load.url" : "http://swf.host.crazzy.org/swf/productdata.txt",
"furnidata.load.url" : "http://swf.host.crazzy.org/swf/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['sessionticket']; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "Carregando...",
"flash.client.url" : "http://swf.host.crazzy.org/swf/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup"


};
var params = {
"base" : "http://swf.host.crazzy.org/swf/",
"allowScriptAccess" : "always",
"menu" : "false"
};

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

FlashExternalInterface.signoutUrl = "<?php echo $path; ?>/account/logout?token=<?php echo sha1($myrow['password']); ?>";

var clientUrl = "http://swf.host.crazzy.org/swf/CrazzY.swf";

swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo $path; ?>http://www.miopio07swf.xhabbo.es/habboweb/%web_build%/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="Habbo Hotel: haz amig@s, únete a la diversión y date a conocer." />
<meta name="keywords" content="Habbo Hotel, mundo, virtual, red social, gratis, comunidad, personaje, chat, online, adolescente, roleplaying, unirse, social, grupos, forums, seguro, jugar, juegos, amigos, adolescentes, raros, furni raros, coleccionable, crear, coleccionar, conectar, furni, muebles, mascotas, diseño de salas, compartir, expresión, placas, pasar el rato, música, celebridad, visitas de famosos, celebridades, juegos en línea, juegos multijugador, multijugador masivo" />



<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/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]-->

<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">Seu Hotel Esta Com Problemas :(</h2>

<div class="box-content">
<p>Peça Suporte aqui: <a href="www.power-pixel.net">Acesse Tambem O topico da client</a>.<a href="http://www.power-pixel.net/t31136-client-new-crypto-habbofree">Mais informações</a></p>
<p><a href="http://www.power-pixel.net/t31136-client-new-crypto-habbofree"><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 = '[url]https://connect.facebook.net/es_ES/all.js';[/url]
document.getElementById('fb-root').appendChild(e);
}());
</script>

</body>
</html>

<?php } ?>

Procure por "SITEOUIP" e substitua pelo seu ip, exemplo:(127.0.0.1)

Depois aceda ao seu painel e ponha esses códigos, um de cada vez:
Código:
UPDATE  `cms_settings` SET  `value` =  'http://swf.host.crazzy.org/swf/external_variables_new.txt' WHERE  `cms_settings`.`variable` =  'client_variables';
Código:
UPDATE  `cms_settings` SET  `value` =  'http://swf.host.crazzy.org/swf/external_flash_texts.txt' WHERE  `cms_settings`.`variable` =  'client_texts';
Código:
UPDATE  `cms_settings` SET  `value` =  'http://swf.host.crazzy.org/swf/' WHERE  `cms_settings`.`variable` =  'client_swf_path';
Código:
UPDATE  `cms_settings` SET  `value` =  'http://swf.host.crazzy.org/swf/CrazzY.swf' WHERE  `cms_settings`.`variable` =  'client_habbo_swf';

Para por os códigos é só aceder á sua DB, clicar na aba SQL, na área de texto ponha os código, um de cada vez, e execute!

LuizLopes. LuizLopes.  • 19.01.13 17:29

Client carrega só até 80% Empty Re: Client carrega só até 80% 19.01.13 17:29

TrY, não sei como te agradecer, funcionou legal, tudo funcionando direitinho !
Tópico Resolvido ! Muito Grato a todo o PPF.

LuizLopes.

Gabrieldlm Gabrieldlm  • 19.01.13 17:32

Client carrega só até 80% Empty Re: Client carrega só até 80% 19.01.13 17:32

A questão já foi resolvida

@Fechado
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.