- Joined
- Jun 23, 2008
- Messages
- 607
- Reaction score
- 42
This is great I'm gonna use this
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!<?php
/*===================================================+
|| # holocms - website and content management system
|+===================================================+
|| # copyright ? 2008 meth0d. all rights reserved.
|| # http://www.meth0d.org
|| this file is powered by prepay
|+===================================================+
|| # holocms is provided "as is" and comes without
|| # warrenty of any kind. holocms is free software!
|+===================================================*/
include('core.php');
include('includes/session.php');
//$screen = $myrow['screen'];
//$language = $myrow['language'];
//$rea = $myrow['rea'];
//if($rea == "disabled"){
// include('./includes/sso.php');
//}
$ssocheck = mysql_query("select * from users where name = '".$rawname."' and password = '".$rawpass."' limit 1") or die(mysql_error());
$ssocheck2 = mysql_fetch_assoc($ssocheck);
if($ssocheck2['ticket_sso'] == "") {
if(isset($_get['roomid']) && $_get['forwardid'] == "2"){
if(isset($_get['wide'])) {
header("location:reauthenticate.php?forwardid=".$_get['forwardid']."&roomid=".$_get['roomid']."&wide=".$_get['wide']."&flash=habbu");
} else {
header("location:reauthenticate.php?forwardid=".$_get['forwardid']."&roomid=".$_get['roomid']."&flash=habbu");
}
} elseif(isset($_get['wide'])) {
header("location:reauthenticate.php?wide=".$_get['wide']."&flash=habbu");
} else {
header("location:reauthenticate.php?flash=habbu");
}
}
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";
}
if(isset($_get['roomid']) && $_get['forwardid'] == "2"){
$roomid = $_get['roomid'];
$checksql = mysql_query("select id from rooms where id = '".$roomid."' limit 1");
$roomexists = mysql_num_rows($checksql);
if($roomexists > 0){
$forward = "1";
echo "<!-- forwarding to room ".$roomid." -->";
} else {
$forward = "0";
echo "<!-- room doesn't exist; not forwarding -->";
}
} else {
echo "<!-- no room forward requested, normal loader -->";
$forward = "0";
}
?>
<!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">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Habbo: </title>
<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="shortcut icon" href="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="Habbo: RSS" href="http://www.habbo.com/articles/rss.xml" />
<script src="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/static/js/common.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/v2/styles/style.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/v2/styles/buttons.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/v2/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/v2/styles/tooltips.css" type="text/css" />
<script type="text/javascript">
var ad_keywords = "gender%3Am,age%3A15";
</script>
<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "noire090";
var habboId = <?php echo $my_id ?>;
var facebookUser = false;
var habboReqPath = "";
var habboStaticFilePath = "http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery";
var habboImagerUrl = "/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "http://www.habbo.com/client";
window.name = "d54c0e43a8088cc147267d85409377a9836de7bf";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "d54c0e43a8088cc147267d85409377a9836de7bf"; }
</script>
<noscript>
<meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/v2/styles/habboclient.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/v2/styles/habboflashclient.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
FlashExternalInterface.logLoginStep("web.view.start");
if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "<?php echo $ip ?>",
"connection.info.port" : "<?php echo $port ?>",
"site.url" : "http://www.habbo.com",
"url.prefix" : "http://www.habbo.com",
"client.reload.url" : "https://www.habbo.com/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "http://www.habbo.com/flash_client_error",
"client.connection.failed.url" : "http://www.habbo.com/client_connection_failed",
"external.hash" : "932a4b2e9c7247ffc0db505d3e803663c5fec43f",
"external.variables.txt" : "http://hotel-uk.habbo.com/gamedata/external?id=external_variables",
"external.texts.txt" : "http://hotel-uk.habbo.com/gamedata/external?id=external_flash_texts",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $myticket ?>",
"processlog.enabled" : "1",
"account_id" : "<?php echo $my_id ?>",
"client.starting" : "Attendi per favore! Habbo si sta caricando.",
"flash.client.url" : "http://images.habbo.com/dcr/r47_none_74f18727eeee7d2cd329f9c7c9078061/",
"user.hash" : "37754911194146456eac335b8a404e045430189",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://images.habbo.com/gordon/RELEASE52-26836-26835-201006030248_7c58d88548c79b8eaf267814c8016152/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
var clientUrl = "http://images.habbo.com/gordon/RELEASE52-26836-26835-201006030248_7c58d88548c79b8eaf267814c8016152/Habbo10.swf";
try {
if (swfobject.getFlashPlayerVersion().major <= 9) {
clientUrl = "http://images.habbo.com/gordon/RELEASE52-26836-26835-201006030248_7c58d88548c79b8eaf267814c8016152/Habbo.swf";
}
} catch(e) {}
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/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="Habbo Hotel: amici, divertimento, celebrit?" />
<meta name="keywords" content="habbo hotel, virtuale, mondo, social network, gratis, community, avatar, personaggio, chat, online, giovane, ragazzi, gioco di ruolo, giochi di ruolo, iscriviti, social, gruppi, forum, sicurezza, giocare, giochi, online, amici, giovani, rari, furni rari, collezione, creare, collezionare, connettersi, furni, mobili, cuccioli, animali, creazione stanze, condivisione, espressione, distintivi, badge, uscire, musica, VIP, celebrit? visite VIP, famosi, mmo, mmorpg, multiplayer" />
<!--[if IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/web-gallery/v2/styles/ie6.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/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="47-BUILD61 - 20.03.2010 10:21 - it" />
</head>
<body id="client" class="flashclient">
<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>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="http://images.habbo.com/habboweb/52_4659dbc66d1f540c81d7962306569322/11/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">
4,083 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");
</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>
</body>
</html>
nice server btw, it even has landscapes working FTW
woah how many people does it support without crashing, uber can manage a measly 200? this?
I have an error when i start the Emulator, it gives me this error:
System_config tables contains invalid values for socket server configuration!
I used the db that you upload with the server, what is the problem?
q mysql necesita??
Mod tool 0%