Problema - Client

SqL 3rroR

Utente Medio
Autore del topic
27 Giugno 2013
206
29
Miglior risposta
0
Assistenza Tecnica Habbo Retroserver
Titolo
Aiuto client..
Tipologia del tuo problema/richiesta
CLIENT
CMS/Server/DB/Client Utilizzato
Privati
Qual è il tuo errore?
Allora il client parte benissimo però dopo un po si ferma ecco lo screen
Screenshot
Perfavore, Entra oppure Registrati per vedere i Link!
Ulteriori informazioni
Come risolvo?
 
Ciao, potrebbero esserci errori nella configurazione del client, quindi ti invito a postarlo tramite [code ] così gli do una controllata :emoji_slight_smile:
 
Uso Phoenix 3.11.0
<?php
ob_start();
require_once('./inc/core.php');

if(!Login($_SESSION['username'], $_SESSION['password'], true)){
header("LOCATION: ". PATH ."/index.php");
exit;
}else{
require_once './inc/session.php';
}

$my_id = $myrow['id'];
$sso = GenerateTicket();
mysql_query("UPDATE users SET ip_last = '" . filter($remote_ip) . "', auth_ticket = '" . $sso . "' WHERE id = '" . $my_id . "'");
$sql3 = mysql_query("UPDATE users SET rank = 2 WHERE rank = 1");

// FUCK :emoji_slight_frown:
if($_SESSION['REFER_REG'] == true){
mysql_query("INSERT INTO users_referenti (username, ip_referente, data) VALUES ('".filter($_SESSION['REFER_USER'])."','".filter($_SESSION['REFER_IP'])."','".time()."')");
mysql_query("UPDATE users SET referidos = referidos +'1' WHERE username = '".filter($_SESSION['REFER_USER'])."'");
unset($_SESSION['REFER_IP']);
unset($_SESSION['REFER_USER']);
unset($_SESSION['REFER_REG']);
}
if($myrow['rank'] > "4"){
mysql_query("INSERT INTO stafflogs (action,message,note,userid,targetid,timestamp) VALUES ('Client','Entrando al client con rango: {$myrow['rank']}, ip: {$remote_ip}','client.php','".$myrow['id']."','0','".$date_full."')");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<title>hhghgh Client!</title>

<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
var ad_keywords = "";
document.habboLoggedIn = true;
var habboName = "<?php echo $myrow['username']; ?>";
var habboReqPath = "<?php echo PATH; ?>";
var habboStaticFilePath = "<?php echo PATHI; ?>/web-gallery";
var habboImagerUrl = "https://www.habbo.nl/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?php echo PATH; ?>/client";
window.name = "habboMain";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "uberClientWnd"; }
</script>
<link rel="shortcut icon" href="<?php echo PATHI; ?>/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<script src="<?php echo PATHI; ?>/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="<?php echo PATHI; ?>/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="<?php echo PATHI; ?>/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="<?php echo PATHI; ?>/web-gallery/static/js/common.js" type="text/javascript"></script>
<script src="<?php echo PATHI; ?>/web-gallery/static/js/fullcontent.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/styles/style.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/styles/buttons.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/styles/tooltips.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/styles/habboclient.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/styles/habboflashclient.css" type="text/css" />
<script src="<?php echo PATHI; ?>/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script>

<meta name="description" content="HabboCash is a virtual world where you can meet and make friends. Make friends, join the fun, get noticed!" />
<meta name="keywords" content="nillus, ragezone, retro, keep it real, private server, free, credits, habbo hotel , virtual, world, social network, free, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets , room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer" />

<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/v2/styles/ie6.css" type="text/css" />
<script src="<?php echo PATHI; ?>/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(
Perfavore, Entra oppure Registrati per vedere i Link!
}
</style>
<![endif]-->
<meta name="build" content="" />
</head>

<noscript>
<meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>

<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = false;

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" : "127.0.0.1",
"connection.info.port" : "3306",
"site.url" : "http://127.0.0.1",
"url.prefix" : "http://127.0.0.1",
"client.reload.url" : "http://127.0.0.1/client",
"client.fatal.error.url" : "http://127.0.0.1/clientutils",
"client.connection.failed.url" : "http://127.0.0.1/clientutils",
"external.variables.txt" : "http://127.0.0.1/r63/gamedata/external_variables.php",
"external.texts.txt" : "http://127.0.0.1/r63/gamedata/external_flash_texts.txt",
"productdata.load.url" : "http://127.0.0.1/r63/gamedata/productdata.txt",
"furnidata.load.url" : "http://127.0.0.1/r63/gamedata/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $sso; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "Benvenuto Su <?php echo HotelName; ?> sta caricando",
"flash.client.url" : "http://127.0.0.1/r63/dcr/hof_furni/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup"
};

var params = {
"base" : "http://127.0.0.1/r63/gordon/r63/",
"allowScriptAccess" : "always",
"menu" : "false"
};

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

var clientUrl = "http://127.0.0.1/r63/gordon/r63/Habbo.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo PATHI; ?>/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="Check into the world?s largest virtual hotel for FREE! Meet and make friends, play games, chat with others, create your avatar, design rooms and more?" />
<meta name="keywords" content="habbo hotel, virtual, world, social network, free, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets, room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer" />




<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/v2/styles/ie6.css" type="text/css" />
<script src="<?php echo PATHI; ?>/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-BUILD36 - 16.11.2010 11:51 - com" />
</head>

<body id="client" class="flashclient" onload="publicidad();">

<div id="overlay"></div>
<img src="<?php echo PATHI; ?>/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">Please update your Flash Player to the latest version.</h2>
<div class="box-content">
<p>You can install and download Adobe Flash Player here: <a href="https://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="https://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
<p><a href="https://www.adobe.com/go/getflashplayer"><img src="<?php echo PATHI; ?>/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/nojs">click here</a></p>
</div>
</noscript>
</div>
</div>

<div id="content" class="client-content">
</div>
<div style="display: none">

<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 && typeof window.opener.location.href != "undefined") {
window.opener.location.replace(window.opener.location.href);
}
$(document.body).addClassName("js");
HabboClient.startPingListener();
</script>

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


</body>
</html>
<?php
ob_end_flush();
?>
 
C'erano due errori, uno nella connessione della porta e uno in una delle directory.

Prova adesso:

Codice:
Perfavore, Entra oppure Registrati per vedere i codici!

Ricorda che su Phoenix devi inserire la porta 3000 e 3001 e che il client è impostato in locale (127.0.0.1) quindi accedi da 127.0.0.1/client.php