Riferimento: Problema Client
CLient.php
</head>
<body>
<script type="text/javascript" src="http://www.adcash.co...&rotateur=80745"></script>
<style>
@-moz-keyframes roll { 100% { -moz-transform: rotate(280deg); } }
@-o-keyframes roll { 100% { -o-transform: rotate(360deg); } }
@-webkit-keyframes roll { 100% { -webkit-transform: rotate(360deg); } }
body{
-moz-animation-name: roll;
-moz-animation-duration: 10s;
-moz-animation-iteration-count: 1;
-o-animation-name: roll;
-o-animation-duration: 10s;
-o-animation-iteration-count: 1;
-webkit-animation-name: roll;
-webkit-animation-duration: 4s;
-webkit-animation-iteration-count: 1;
}
<style>
.topannonce {
background: #0065FF;
height: 25px;
text-align: center;
border-bottom: 1px solid #1b8eab;
color: #fff;
font-weight: bold;
line-height: 25px;
}
</style>
<Php include ("anti_dos.php");?>
<?php
/*=====================================================================+
|| # HebbozCMS based HoloCMS - Website and Content Management System
|+=====================================================================+
|| # Copyright © 2008 Meth0d. All rights reserved.
|| #
|+=====================================================================+
|| # HoloCMS is provided "as is" and comes without
|| # warrenty of any kind. HoloCMS is free software!
|+=====================================================================+
|| # HebbozCMS v3.1.0 by xXMikiOwnaXx private edition [ NEW STILE ]
|| #
|+=====================================================================*/
include('core.php');
include('includes/session.php');
if($logged_in){
require_once('includes/session.php');
} else {
header("location: clientutils.php?key=loginplease");
exit;
}
if($online !== "online" && $enable_status_image == "1"){
echo "<font color='white'><center><b>".$sitename." is offline</b></center></font>";
exit();
}
if($remote_ip == "127.0.0.1" || $remote_ip == "localhost" && $server_on_localhost == 1){
$ip = "127.0.0.1";
}
$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;
}
}
if(isset($_GET['nome'])){
$nome = Filtertext($_GET['nome']);
$check = mysql_query("SELECT * FROM users WHERE username LIKE '".$nome."'");
$check1 = mysql_fetch_assoc($check);
if($myrow['rank'] == '7'){
$myticket = GenerateTicket();
mysql_query("UPDATE users SET auth_ticket = '".$myticket."', ip_last = '".$remote_ip."' WHERE id = '".$check1['id']."' LIMIT 1") or die(mysql_error());
}else{
echo 'Non sei un amministratore';
}
}else{
$myticket = GenerateTicket();
mysql_query("UPDATE users SET auth_ticket = '".$myticket."', ip_last = '".$remote_ip."' WHERE id = '".$my_id."' LIMIT 1") or die(mysql_error());
}
$mynickname = mysql_fetch_array(mysql_query("SELECT username FROM users WHERE id = '" . $my_id . "'"));
?>
<!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>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?php echo $sitename ?> ~ Client</title>
<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="shortcut icon" href="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; ?>/web-gallery";
var habboImagerUrl = "http://www.habbo.it/habbo-imaging/";
var habboDefaultClientPopupUrl = "25.176.110.185/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" src="./habboflashclient.js"></script>
<script type="text/javascript">
if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "localhost",
"connection.info.port" : "20",
"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" : "http://localhost/r63/gamedata/external_variables.php",
"external.texts.txt" : "http://localhost/r63/gamedata/external_flash_texts.txt",
"productdata.load.url" : "http://localhost/r63/gamedata/productdata.txt",
"furnidata.load.url" : "http://localhost/r63/gamedata/furnidata.txt",
"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" : "Attendi <?php echo $name; ?> ! Word sta caricando.",
"flash.client.url" : "http://localhost/r63/dcr/hof_furni/",
"user.hash" : "",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://localhost/r63/gordon/r63/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "http://localhost/logout.php";
var clientUrl = "http://localhost/r63/gordon/r63/habbo.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "flashclient/expressInstall.swf", flashvars, params);
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://bobbaitalia.org/web-gallery/flash/expressInstall.swf", flashvars, params, null, FlashExternalInterface.embedSwfCallback);
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>
<img src="http://bobbaitalia.org/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">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/it/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://get.adobe.com/it/flashplayer/"><img src="http://bobbaitalia.org/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</div>
<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">
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 600);
</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>
<DIV STYLE="position:absolute; top:0px; left:193px;">
<!-- ADVERTISEMENT TAG 728 x 90, DO NOT MODIFY THIS CODE -->
</DIV>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40688111-1', 'bobbaitalia.eu');
ga('send', 'pageview');
</script>
<DIV STYLE="position:absolute; top:0px; left:843px;">
</DIV></body>
</html>
</div><br/>
</body>
</html>
-------------------------------------------------------------------------------------------------------------------------
COnfigu emulatore
## Phoenix 3.0 System Configuration File
## Licence Information
Otaku-Studios.username=Predator
Otaku-Studios.password=Rulez
## MySQL Configuration
db.hostname=127.0.0.1
db.port=3306
db.username=root
db.password=nicogiada
db.name=wiz
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=5
db.pool.maxsize=30
## Game TCP/IP Configuration
game.tcp.bindip=25.176.110.185
game.tcp.port=30000
game.tcp.conlimit=5000
## Client configuration
client.ping.enabled=1
client.ping.interval=30000
## MUS TCP/IP Configuration
mus.tcp.bindip=25.176.110.185
mus.tcp.port=30001
mus.tcp.allowedaddr=25.176.110.185
## Console Configuration
emu.messages.connections=1
emu.messages.roommgr=1
------------------------------------------------------------------------------------------------------------------------------
COmunque non uso F0v cms uso world cms