Ola Nenhum Dos Dois Funcionou!!!
Logs Client:
<?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 = "<?php echo $site; ?>/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"; //Substituir pelo hurthotel.cf :D
?>
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "hurthotel.cf",
"connection.info.port" : "30000",
"site.url" : "<?php echo $pathd; ?>",
"url.prefix" : "<?php echo $pathd; ?>",
"client.reload.url" : "<?php echo $pathd; ?>",
"client.fatal.error.url" : "<?php echo $pathd; ?>/flash_client_error",
"client.connection.failed.url" : "<?php echo $pathd; ?>/client_connection_failed",
"external.variables.txt" : "http://hurthotel.cf/gamedata/external_variables.txt",
"external.texts.txt" : "http://hurthotel.cf/gamedata/external_flash_texts.txt",
"external.figurepartlist.txt" : "http://hurthotel.cf/gamedata/figuredata.xml",
"external.override.texts.txt" : "http://hurthotel.cf/gamedata/override/external_flash_override_texts.txt",
"external.override.variables.txt" : "http://hurthotel.cf/gamedata/override/external_override_variables.txt",
"productdata.load.url" : "http://hurthotel.cf/gamedata/productdata.txt",
"furnidata.load.url" : "http://hurthotel.cf/gamedata/furnidata.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://hurthotel.cf/gordon/PRODUCTION-201601012205-226667486/",
"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.",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"user.hash" : "25548668ef4d1e86dcbe3db053fd6b7d6240e5bd",
"flash.client.origin" : "popup",
"nux.lobbies.enabled" : "true",
"country_code" : "GB"
};
var params = {
"base" : "http://hurthotel.cf/gordon/PRODUCTION-201601012205-226667486/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "http://127.0.0.1/account/logout?token=<?php echo sha1($myrow['password']); ?>";
var clientUrl = "http://hurthotel.cf/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>