[AJUDA]client branca 25.09.16 11:00
Olá amigos do Power Pixel, estou com um problema. Me ajudem?
O meu problema é o seguinte:
o emu ta funcionando, mas a client ta branca
Será que é fácil resolver este erro?
Veja minhas configurações, poderá ajudar!
Meu emulador é o plus satis
Minha CMS é a um edit q eu fiz da cammex do phytols
Meu hotel está no localhost
Como sei que uma imagem vale mais que mil palavras, olhe o print: http://prntscr.com/cm5itm
Desde já obrigado. Aguardarei respostas!
Minha client:
- Spoiler:
- Código:
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Habblove - Client</title>
<link rel="stylesheet" href="http://localhost/app/tpl/skins/Cammex/style/client.css" type="text/css">
<script type="text/javascript" src="http://localhost/app/tpl/skins/Cammex/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "http://localhost/swf/gordon/PRODUCTION-201602082203-712976078/";
var flashvars =
{
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "localhost",
"connection.info.port" : "30000",
"site.url" : "http://localhost",
"url.prefix" : "http://localhost",
"client.reload.url" : "http://localhost/client",
"client.fatal.error.url" : "http://localhost/disconnected",
"logout.url" : "http://localhost/disconnected",
"logout.disconnect.url" : "http://localhost/disconnected",
"client.connection.failed.url" : "http://localhost/disconnected",
"external.variables.txt" : "http://localhost/swf/gamedata/variables_update.txt",
"external.texts.txt" : "http://localhost/swf/gamedata/texto_update_satis.txt",
"external.figurepartlist.txt" : "http://localhost/swf/gamedata/figuredata.xml",
"external.override.texts.txt" : "http://localhost/swf/gamedata/external_flash_override_texts.txt",
"external.override.variables.txt" : "http://localhost/swf/gamedata/external_override_variables.txt",
"productdata.load.url" : "http://localhost/swf/gamedata/product_updated_revision.txt",
"furnidata.load.url" : "http://localhost/swf/gamedata/furnidata_update32.xml",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"processlog.enabled" : "0",
"client.starting" : "Please wait, {hotelName} is loading",
"client.starting.revolving" : "Quando você menos esperar...terminaremos de carregar.../Carregando mensagem divertida! Por favor espere./Você quer batatas fritas para acompanhar?/Siga o pato amarelo./O tempo é apenas uma ilusão./Já chegamos?!/Eu gosto da sua camiseta./Olhe para um lado. Olhe para o outro. Pisque duas vezes. Pronto!/Não é você, sou eu./Shhh! Estou tentando pensar aqui./Carregando o universo de pixels.", "flash.client.url" : BaseUrl,
"flash.client.origin" : "popup"
};
var params =
{
"base" : BaseUrl + "/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://localhost/swf/gordon/PRODUCTION-201602082203-712976078/expressInstall.swf", flashvars, params, null);
</script>
</head>
<body>
<div id="client"></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">Atualize o Flash Player para a última versão.</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://wwwimages.adobe.com/www.adobe.com/images/shared/download_buttons/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>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<div id="content" class="client-content"></div>
</div>
<script type="text/javascript">
HabboView.run();
</script>
</body>
</html>
<?php
require_once ('heliocms/core.php');
require_once ('heliocms/session.php');
mysql_query("UPDATE users SET auth_ticket = '', auth_ticket = '".GenerateTicket()."', ip_last = '', ip_last = '".$ip."' WHERE id = '".$user_q['id']."'") or die(mysql_error());
$ticketsql = mysql_query("SELECT * FROM users WHERE id = '".$user_q['id']."'") or die(mysql_error());
$ticketrow = mysql_fetch_assoc($ticketsql);
?>
<!DOCTYPE HTML>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<link rel="stylesheet" href="<?php echo $aka; ?>/habbo-web/america/pt/app.css">
<link rel="stylesheet" type="text/css" href="<?php echo $aka; ?>/game-data-server-static//./hotel.css">
<script type="text/javascript" src="<?php echo $aka; ?>/game-data-server-static//./habboapi.js"></script>
</head>
<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "<?php echo $user_q['username']; ?>";
var habboId = <?php echo $user_q['id']; ?>;
var facebookUser = false;
var habboReqPath = "";
var habboStaticFilePath = "<?php echo $site; ?>/web-gallery";
var habboImagerUrl = "<?php echo $site; ?>/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "/client";
window.name = "3981c0260af76a9eb267d9b2dd7cc602d4c7b7bf";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "3981c0260af76a9eb267d9b2dd7cc602d4c7b7bf"; }
</script>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
FlashExternalInterface.logLoginStep("web.view.start");
if (top == self) {
FlashHabboClient.cacheCheck();
}
<?php
$pathd="http://localhost";
?>
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "localhost",
"connection.info.port" : "30000",
"site.url" : "<?php echo $path; ?>",
"url.prefix" : "<?php echo $path; ?>",
"client.reload.url" : "<?php echo $path; ?>",
"client.fatal.error.url" : "<?php echo $path; ?>/flash_client_error",
"client.connection.failed.url" : "<?php echo $path; ?>/client_connection_failed",
"external.variables.txt" : "http://localhost/swf/gamedata/variables_update.txt",
"external.texts.txt" : "http://localhost/swf/gamedata/texto_update_satis.txt",
"external.figurepartlist.txt" : "http://localhost/swf/gamedata/figuredata.xml",
"external.override.texts.txt" : "http://localhost/swf/gamedata/external_flash_override_texts.txt",
"external.override.variables.txt" : "http://localhost/swf/gamedata/external_override_variables.txt",
"productdata.load.url" : "http://localhost/swf/gamedata/product_updated_revision.txt",
"furnidata.load.url" : "http://localhost/swf/gamedata/furnidata_update32.xml",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "Por favor aguarde.",
"flash.client.url" : "http://localhost/swf/gordon/PRODUCTION-201601012205-226667486/",
"client.starting.revolving" : "Client Pré-editada por DanielSPD..../Acesse já! www.Power-Pixel.net/www-Power-Pixel.net",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"user.hash" : "25548668ef4d1e86dcbe3db053fd6b7d6240e5bd",
"flash.client.origin" : "popup",
"nux.lobbies.enabled" : "true",
"country_code" : "GB"
};
var params = {
"base" : "http://localhost/swf/gordon/PRODUCTION-201601012205-226667486/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "http://localhost/account/logout?token=<?php echo sha1($myrow['password']); ?>";
var clientUrl = "http://localhost/swf/gordon/PRODUCTION-201601012205-226667486/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>
<body id="client" class="flashclient">
<div id="overlay"></div>
<div id="client-ui" >
<div id="flash-wrapper">
<div id="flash-container">
<div ng-if="isOpen && !flashEnabled" class="client-error">
<div class="client-error__text">
<h1 class="client-error__title" translate="CLIENT_ERROR_TITLE">Ops, sem Flash, sem <?php echo $sitename; ?>!</h1>
<p translate="CLIENT_ERROR_FLASH">Se você está utilizando um PC, você precisa <a href="http://www.adobe.com/go/getflashplayer" target="_blank">atualizar ou instalar o Flash player</a>.</p>
<div class="client-error__downloads">
<a href="http://www.adobe.com/go/getflashplayer" ng-href="http://www.adobe.com/go/getflashplayer" target="_blank" class="client-error__flash"></a>
</div>
<p translate="CLIENT_ERROR_MOBILE">Se você está utilizando um iPad, iPhone ou um dispositivo Android você deve baixar o <a href="https://itunes.apple.com/app/id794866182" target="_blank"><?php echo $sitename; ?> para iOS</a> na App Store ou <a href="https://play.google.com/store/apps/details?id=air.com.sulake.habboair" target="_blank"><?php echo $sitename; ?> para Android</a> na Google PlayStore.</p>
<div class="client-error__downloads">
<a href="https://itunes.apple.com/app/id794866182" ng-href="https://itunes.apple.com/app/id794866182" target="_blank" class="client-error__appstore"></a>
<a href="https://play.google.com/store/apps/details?id=air.com.sulake.habboair" ng-href="https://play.google.com/store/apps/details?id=air.com.sulake.habboair" target="_blank" class="client-error__googleplay"></a>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>