Thread obsoleto Client - client fermo al 76%

Stato
Discussione chiusa ad ulteriori risposte.

#Thread

Utente Normale
Autore del topic
2 Giugno 2012
72
44
Miglior risposta
0
Assistenza Tecnica Habbo Retroserver
Titolo
CLIENT FERMO AL 76%
Tipologia del tuo problema/richiesta
CLIENT
CMS/Server/DB/Client Utilizzato
HabStay CMS PlusEMU e PlusDB
Qual è il tuo errore?
Il client si blocca al 76% e poi mi ridirecta nella cartella PRODUCTION
Screenshot
-
Ulteriori informazioni
-
 
Posta il client.php

<?php

include('core.php');

if(!isset($_SESSION['code'])&&$user['rank']>=$minrankcod&&$filename!='staffcode.php'&&$user['id']!=1&&$user['id']!=2) {
header('Location: staffcode.php');
}

$forward = 0;
if(isset($_GET['roomId'])){
$roomid = mysql_real_escape_string($_GET['roomId']);
$checksql = mysql_query("SELECT roomtype FROM rooms WHERE id = '".$roomid."' LIMIT 1");
$roomexists = mysql_num_rows($checksql);
if($roomexists > 0){
$roominfo = mysql_fetch_array($checksql);
$forward = 1;
if($roominfo['roomtype'] == 'public')
$forward_type = 1;
else
$forward_type = 2;
}
}


$myticket = GenerateTicket();
mysql_query("UPDATE users SET auth_ticket = '".$myticket."', ip_last = '".$remote_ip."' WHERE id = '".$_SESSION['id']."' LIMIT 1") or die(mysql_error());

if(isset($_SESSION['id'])) {
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $shortname ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="shortcut icon" href="images/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="Habbo: RSS" href="http://www.habbo.it/articles/rss.xml" />
<script src="flashclient/libs2.js" type="text/javascript"></script>
<script src="flashclient/visual.js" type="text/javascript"></script>
<script src="flashclient/libs.js" type="text/javascript"></script>
<script src="flashclient/common.js" type="text/javascript"></script>
<link rel="stylesheet" href="flashclient/style.css" type="text/css" />
<link rel="stylesheet" href="flashclient/bottons.css" type="text/css" />
<link rel="stylesheet" href="flashclient/boxes.css" type="text/css" />
<link rel="stylesheet" href="flashclient/tooltips.css" type="text/css" />
<link rel="stylesheet" href="flashclient/changepassword.css" type="text/css" />

<script type="text/javascript">

</script>
<script type="text/javascript">
var habboReqPath = "";
var habboStaticFilePath = "<?php echo $path; ?>SWFS/c_images";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboDefaultClientPopupUrl = "<?php echo $path; ?>client.php";
</script>



<link rel="stylesheet" href="flashclient/habboclient.css" type="text/css" />
<link rel="stylesheet" href="flashclient/habboflashclient.css" type="text/css" />
<script src="flashclient/habboflashclient.js" type="text/javascript"></script>

<script type="text/javascript">
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "<?php echo $serverip; ?>",
"connection.info.port" : "30000",
"site.url" : "<?php echo $path; ?>",
"url.prefix" : "<?php echo $path; ?>",
"client.reload.url" : "<?php echo $path; ?>404.php",
"client.fatal.error.url" : "<?php echo $path; ?>404.php",
"client.connection.failed.url" : "<?php echo $path; ?>404.php",
"external.variables.txt" : "<?php echo $vars; ?>",
"external.texts.txt" : "<?php echo $texts; ?>",
"productdata.load.url" : "<?php echo $pdata; ?>",
"furnidata.load.url" : "<?php echo $fdata; ?>",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $myticket; ?>",
<?php
if($forward)
{
echo '"forward.type" : "'.$forward_type.'",';
echo '"forward.id" : "'.$roomid.'",';

}

if(isset($_GET['friendId']))
{
echo '"friend.id" : "'.mysql_real_escape_string($_GET['friendId']).'",';
}
?>
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Ciao <?php echo $user['username']; ?>! <?php echo $shortname; ?> sta caricando.",
"client.starting.revolving" : "Ciao <?php echo $user['username']; ?>! <?php echo $shortname; ?> sta caricando./Sto costruendo le stanze./Sto montando i furni./Sto annaffiando le piante./Divertiti in <?php echo $shortname; ?>./Rispetta le regole./La pazienza e' la virtu' dei forti./Ci siamo quasi.../Non svegliare Frank! Shh./Tanti giochi ti attendono./Sto caricando gli ultimi pixel.",
"flash.client.url" : "<?php echo $base; ?>",
"user.hash" : "",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "<?php echo $base; ?>",
"allowScriptAccess" : "always",
"menu" : "false"

};

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

FlashExternalInterface.signoutUrl = "<?php echo $path; ?>logout.php";

var clientUrl = "<?php echo $base.$swf; ?>";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "flashclient/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="flashclient/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="flashclient/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="flashclient/ie6.css" type="text/css" />
<script src="flashclient/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-BUILD259 - 23.02.2011 23:10 - it" />
</head>

<body id="client" class="flashclient">

<div id="overlay"></div>
<img src="flashclient/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">Aggiorna Flash Player all'ultima versione disponibile</h2>
<div class="box-content">
<p>Puoi scaricare e istallare Adobe Flash Player <a href="http://get.adobe.com/flashplayer/">da questa URL</a>. Puoi trovare le istruzioni di istallazione <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">cliccando qui</a>.</p>

<p><a href="http://www.adobe.com/go/getflashplayer"><img src="flashclient/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 id="content" class="client-content"></div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
4,017 Habbo in Hotel
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
if (window.opener && window.opener != window && window.opener.location.href == "/") {
window.opener.location.replace("/me");
}
$(document.body).addClassName("js");
HabboClient.startPingListener();
</script>




<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-448325-20");
pageTracker._trackPageview();
</script>

<script type="text/javascript">
HabboView.run();
</script>

</body>
</html>
<?php
} else {
header('Location: index.php');
}
?>

Ecco qua! :emoji_smiley:
 
Stato
Discussione chiusa ad ulteriori risposte.