L' unico rimedio è cambiare CMS. :ragione: & anche emulatore visto che uber non è codato bene.
CMS: http://www.sciax2.it/forum/cms-loader/epic-cms-official-topics-270508.html
Raccolta EMU: http://www.sciax2.it/forum/server/raccolta-server-beta-285661.html :bye:
cmq valex al mio paese nn esiste soltando cambiando cms e server, ma anke cambiare un codice per far funzionare il cms, ma cmq per mettere l'hotel Online devi avviare il server ;)
## uberEmulator System Configuration File
## Must be edited for the server to work
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=PASSWORD DEL PHPMYADMIN
db.name=NOME DEL DATABASE
## MySQL pooling setup (controls amount of connect ions)
db.pool.minsize=5
db.pool.maxsize=30
## Game TCP/IP Configuration
game.tcp.bindip=TUO IP HAMACHI
game.tcp.port=30000 <- qua devi mettere la stessa porta che hai messo su page-client,se c'è la 21 deve stare anche qui la 21
game.tcp.conlimit=500
## MUS TCP/IP Configuration
mus.tcp.bindip=TUO IP HAMACHI
mus.tcp.port=21
mus.tcp.allowedaddr=TUO IP HAMACHI
## Client configuration
client.ping.enabled=1
client.ping.interval=30000
non sono i dcr se carica fino alla fine, e poi non esce il menu a destra...ma vuol dire che hai configurato male...
cosa hai messo nel page-client come porta? la 21 o la 3000?
non sono i dcr se carica fino alla fine, e poi non esce il menu a destra...ma vuol dire che hai configurato male...
cosa hai messo nel page-client come porta? la 21 o la 3000?
<?php
/*================================================= ======================
| UberWeb - Lightweight site system for Uber
| ################################################## #####################
| Copyright (c) 2009, Roy 'Meth0d'
|Perfavore, Entra oppure Registrati per vedere i Link!
| ################################################## #####################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| ################################################## #####################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\================================================= =====================*/
define('HIDE_FEEDBACK', true);
require_once "global.php";
require_once "inc/class.rooms.php";
if (!LOGGED_IN)
{
header("Location: " . WWW. "/login_popup");
exit;
}
$forwardType = 0;
$forwardId = 0;
if ($users->getUserVar(USER_ID, 'newbie_status') == "0")
{
if (isset($_GET['createRoom']) && is_numeric($_GET['createRoom']))
{
$roomId = RoomManager::CreateRoom(USER_NAME . "'s room", USER_NAME, 'model_s');
switch (intval($_GET['createRoom']))
{
default:
case 0:
RoomManager::PaintRoom($roomId, '1701', '601');
break;
case 1:
RoomManager::PaintRoom($roomId, '607', '111');
break;
case 2:
RoomManager::PaintRoom($roomId, '1901', '301');
break;
case 3:
RoomManager::PaintRoom($roomId, '1801', '110');
break;
case 4:
RoomManager::PaintRoom($roomId, '503', '104');
break;
case 5:
RoomManager::PaintRoom($roomId, '804', '107');
break;
}
//die('createRoom Result: ' . $roomId);
dbquery("UPDATE users SET home_room = '" . $roomId . "', newbie_status = '1' WHERE id = '" . USER_ID . "' LIMIT 1");
//$forwardType = 2;
//$forwardId = $roomId;
}
else
{
header("Location: " . WWW . "/client?createRoom=" . rand(0, 5));
exit;
}
}
else if (isset($_GET['forwardType']) && isset($_GET['forwardId']) && is_numeric($_GET['forwardType']) && is_numeric($_GET['forwardId']))
{
$forwardType = intval($_GET['forwardType']);
$forwardId = intval($_GET['forwardId']);
if ($forwardType >= 3 || $forwardType <= 0)
{
return;
}
}
$users->CheckSSO(USER_ID);
$tpl->Init();
$tpl->AddGeneric('head-init');
$tpl->AddIncludeSet('default');
$tpl->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/habboclient.css', 'stylesheet'));
$tpl->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/habboflashclient.css', 'stylesheet'));
$tpl->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/habboflashclient.js'));
$tpl->WriteIncludeFiles();
$tpl->AddGeneric('head-bottom');
$client = new Template('page-client');
$client->SetParam('page_title', ' ');
$client->SetParam('sso_ticket', $users->GetUserVar(USER_ID, 'auth_ticket', false));
$client->SetParam('account_id', $users->GetUserVar(USER_ID, 'id', false));
$client->SetParam('flash_base', 'http://images.habbo.com/gordon/RELEASE54-27256-27260-201007021121_54637c8c96d33088a68f54d977f8dd27/');
$client->SetParam('flash_client_url', 'http://images.habbo.com/dcr/r54_none_321ed6a04ad8e30309c4821c9f3e0949/');
$client->SetParam('hotel_status', $core->GetUsersOnline() . ' users online now!');
$client->SetParam('forwardType', $forwardType);
$client->SetParam('forwardId', $forwardId);
if (isset($_GET['forceTicket']) && $users->HasFuse(USER_ID, 'fuse_admin'))
{
$client->SetParam('sso_ticket', $_GET['forceTicket']);
}
$tpl->AddTemplate($client);
$tpl->Output();
?>
<body id="client" class="flashclient">
<script type="text/javascript">
var habboDefaultClientPopupUrl = "%www%/client";
</script>
<noscript>
<meta http-equiv="refresh" content="0;url=%www%/client/nojs" />
</noscript>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
FlashExternalInterface.logLoginStep("web.view.star t");
if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "93.147.132.129",
"connection.info.port" : "30000",
"site.url" : "http://93.147.132.129",
"url.prefix" : "93.147.132.129",
"client.reload.url" : "%www%/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "%www%/flash_client_error",
"client.connection.failed.url" : "%www%/client_connection_failed",
"external.hash" : "",
"external.variables.txt" : "http://hotel-us.habbo.com/gamedata/external?id=external_variables",
"external.texts.txt" : "http://hotel-it.habbo.com/gamedata/external?id=external_flash_texts",
"use.sso.ticket" : "1",
<?php
if ($forwardType > 0)
{
echo ' "forward.type" : "' . $forwardType . '",' . LB;
echo ' "forward.id" : "' . $forwardId . '",' . LB;
}
?>
"sso.ticket" : "%sso_ticket%",
"processlog.enabled" : "0",
"account_id" : "%account_id%",
"client.starting" : "Sun Hotel: sta caricando!",
"flash.client.url" : "%flash_client_url%",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "%flash_base%",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
var clientUrl = "%flash_base%Habbo10.swf";
try {
if (swfobject.getFlashPlayerVersion().major <= 9) {
clientUrl = "%flash_base%Habbo.swf";
}
} catch(e) {}
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/%web_build%/web-gallery/flash/expressInstall.swf", flashvars, params);
</script>
<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 install Adobe Flash Player.</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://images.habbo.com/habboweb/45_0061af58e257a7c6b931c91f771b4483/2/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>
<div style="display: none">
<div id="habboCountUpdateTarget">
%hotel_status%
</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");
</script>
</body>
</html>
--------------- AGGIUNTA AL POST ---------------<body id="client" class="flashclient">
<script type="text/javascript">
var habboDefaultClientPopupUrl = "%www%/client";
</script>
<noscript>
<meta http-equiv="refresh" content="0;url=%www%/client/nojs" />
</noscript>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = t rue ;
FlashExternalInterface.logLoginStep("web.view.star t");
if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "5.207.30.129",
"connection.info.port" : "30000",
"site.url" : "http://www.habbo.it",
"url.prefix" : "http://www.habbo.it",
"client.reload.url" : "https://www.habbo.it/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "http://www.habbo.it/flash_client_error",
"client.connection.failed.url" : "http://www.habbo.it/client_connection_failed",
"external.hash" : "38214c4a5e81a9244936dc92a73b2d3450160845",
"external.variables.txt" : "http://hotel-us.habbo.com/gamedata/external?id=external_variables",
"external.texts.txt" : "http://hotel-us.habbo.com/gamedata/external?id=external_flash_texts",
"use.sso.ticket" : "1",
<?php
if ($forwardType > 0)
{
echo ' "forward.type" : "' . $forwardType . '",' . LB;
echo ' "forward.id" : "' . $forwardId . '",' . LB;
}
?>
"sso.ticket" : "%sso_ticket%",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Attendi perfavore! PaPete sta caricando",
"flash.client.url" : "%flash_client_url%",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://images.habbo.com/gordon/RELEASE54-27256-27260-201007021121_54637c8c96d33088a68f54d977f8dd27/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
var clientUrl = "http://images.habbo.com/gordon/RELEASE54-27303-27314-201007081130_b4d153a6db5e9bea1f5ece7048dba8cc/Habbo10.swf";
try {
if (swfobject.getFlashPlayerVersion().majo r <= 9) {
clientUrl = "http://images.habbo.com/gordon/RELEASE54-27303-27314-201007081130_b4d153a6db5e9bea1f5ece7048dba8cc/Habbo.swf";
}
} catch(e) {}
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/%web_build%/web-gallery/flash/expressInstall.swf", flashvars, params);
</script>
<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: n one">
<div class="cbb clearfix">
<h2 class="title">Please install Adobe Flash Player.</h2>
<div class="box-content">
<p>You can install and download Adobe Flash Player here: <a rel="nofollow" href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be foun d here: <a rel="nofollow" href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
<p><a rel="nofollow" href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/45_0061af58e257a7c6b931c91f771b4483/2/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 re directed, 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">
%hotel_status%
</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");
</script>
<script type="text/javascript"><!--
var _gaq = _gaq || [];
_gaq.push(
['_setAccount', 'UA-7114681-1'],
['_trackPageview']
);
(function() {
var ga = document.createElement('script');
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
ga.setAttribute('async', 'true');
document.documentElement.firstChild.appendChild(ga );
})();
//-->
</script>
</body>
</html>
<body id="client" class="flashclient">
<script type="text/javascript">
var habbodefaultclientpopupurl = "%www%/client";
</script>
<noscript>
<meta http-equiv="refresh" content="0;url=%www%/client/nojs" />
</noscript>
<script type="text/javascript">
flashexternalinterface.loginlogenabled = t rue ;
flashexternalinterface.logloginstep("web.view.star t");
if (top == self) {
flashhabboclient.cachecheck();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "5.207.30.129",
"connection.info.port" : "30000",
"site.url" : "http://www.habbo.it",
"url.prefix" : "http://www.habbo.it",
"client.reload.url" : "https://www.habbo.it/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "http://www.habbo.it/flash_client_error",
"client.connection.failed.url" : "http://www.habbo.it/client_connection_failed",
"external.hash" : "38214c4a5e81a9244936dc92a73b2d3450160845",
"external.variables.txt" : "http://hotel-us.habbo.com/gamedata/external?id=external_variables",
"external.texts.txt" : "http://hotel-us.habbo.com/gamedata/external?id=external_flash_texts",
"use.sso.ticket" : "1",
<?php
if ($forwardtype > 0)
{
echo ' "forward.type" : "' . $forwardtype . '",' . Lb;
echo ' "forward.id" : "' . $forwardid . '",' . Lb;
}
?>
"sso.ticket" : "%sso_ticket%",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "attendi perfavore! Papete sta caricando",
"flash.client.url" : "%flash_client_url%",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://images.habbo.com/gordon/release54-27256-27260-201007021121_54637c8c96d33088a68f54d977f8dd27/",
"allowscriptaccess" : "always",
"menu" : "false"
};
if (!(habbletloader.needsflashkbworkaround())) {
params["wmode"] = "opaque";
}
var clienturl = "http://images.habbo.com/gordon/release54-27303-27314-201007081130_b4d153a6db5e9bea1f5ece7048dba8cc/habbo10.swf";
try {
if (swfobject.getflashplayerversion().majo r <= 9) {
clienturl = "http://images.habbo.com/gordon/release54-27303-27314-201007081130_b4d153a6db5e9bea1f5ece7048dba8cc/habbo.swf";
}
} catch(e) {}
swfobject.embedswf(clienturl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/%web_build%/web-gallery/flash/expressinstall.swf", flashvars, params);
</script>
<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: N one">
<div class="cbb clearfix">
<h2 class="title">please install adobe flash player.</h2>
<div class="box-content">
<p>you can install and download adobe flash player here: <a rel="nofollow" href="http://get.adobe.com/flashplayer/">install flash player</a>. More instructions for installation can be foun d here: <a rel="nofollow" href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">more information</a></p>
<p><a rel="nofollow" href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/45_0061af58e257a7c6b931c91f771b4483/2/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 re directed, 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">
%hotel_status%
</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");
</script>
<script type="text/javascript"><!--
var _gaq = _gaq || [];
_gaq.push(
['_setaccount', 'ua-7114681-1'],
['_trackpageview']
);
(function() {
var ga = document.createelement('script');
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
ga.setattribute('async', 'true');
document.documentelement.firstchild.appendchild(ga );
})();
//-->
</script>
</body>
</html>