Jwake
Member
- Feb 12, 2016
- 140
- 10
hello. so i got the newest habboemulator release. I've got quite far into putting it on my hotel, however when i load my client, it loads to 100% then the bar appears, then after a while it will disappear, then redirect to the /me page. I've looked @ my swfs and they're linked correctly.
Here's my client.php
and here's my config
Feel free to check the hotel link to see what i mean.
any help will be appreciated!
UPDATE:
I was a noob, here's my config....
Here's my client.php
<?php include_once('checktheban.php'); ?>
<?php include_once ("forceote.php");?>
<?php
if($_CONFIG['hotel']['two_factor'] == true){
$ud = mysql_query("SELECT * FROM users WHERE username = '" . $_SESSION['user']['username'] . "'") or die(mysql_error());
$ud = mysql_fetch_assoc($ud);
if($_SERVER['REQUEST_URI'] != '/authentication'){
if($ud['authentication_e'] == 0){
header('Location: ' . $_CONFIG['hotel']['url'] . '/authentication');
}
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} - Client</title>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/client.css" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "{url}/swf/gordon/PRODUCTION-201701242205-837386173";
var flashvars =
{
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "91.121.191.131",
"connection.info.port" : "1075",
"site.url" : "{url}",
"url.prefix" : "{url}",
"client.reload.url" : "{url}/me",
"client.fatal.error.url" : "{url}/me",
"client.connection.failed.url" : "{url}/me",
"logout.url" : "{url}/me",
"logout.disconnect.url" : "{url}/me",
"external.variables.txt" : "{url}/swf/gamedata/external_variables.txt",
"external.texts.txt" : "{url}/swf/gamedata/external_flash_texts.txt",
"external.figurepartlist.txt" : "{url}/swf/gamedata/figuredata.xml?time=<?php echo time();?>",
"external.override.texts.txt" : "{url}/swf/gamedata/external_flash_override_texts.php",
"external.override.variables.txt" : "{url}/swf/gamedata/external_override_variables.txt",
"productdata.load.url" : "{url}/swf/gamedata/productdata.txt",
"furnidata.load.url" : "{url}/swf/gamedata/furnidata.xml",
"sso.ticket" : "{sso}",
"processlog.enabled" : "1",
"account_id" : "58550849",
"client.starting" : "Please wait... Habstorm is loading!",
"flash.client.url" : "\//habstorm.pw/swf/gordon/PRODUCTION-201701242205-837386173/",
"user.hash" : "5855084941a37ed20e1b32ccbc5cad0751e0a8e2",
"has.identity" : "1",
"flash.client.origin" : "popup",
"nux.lobbies.enabled" : "true",
"country_code" : "GB"
};
var params =
{
"base" : "\//habstorm.us/swf/gordon/PRODUCTION-201701242205-837386173/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "
</script>
</head>
<body>
<div id="client"></div>
<script src="
<script src="
</body>
</html>
<?php include_once ("forceote.php");?>
<?php
if($_CONFIG['hotel']['two_factor'] == true){
$ud = mysql_query("SELECT * FROM users WHERE username = '" . $_SESSION['user']['username'] . "'") or die(mysql_error());
$ud = mysql_fetch_assoc($ud);
if($_SERVER['REQUEST_URI'] != '/authentication'){
if($ud['authentication_e'] == 0){
header('Location: ' . $_CONFIG['hotel']['url'] . '/authentication');
}
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} - Client</title>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/client.css" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "{url}/swf/gordon/PRODUCTION-201701242205-837386173";
var flashvars =
{
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "91.121.191.131",
"connection.info.port" : "1075",
"site.url" : "{url}",
"url.prefix" : "{url}",
"client.reload.url" : "{url}/me",
"client.fatal.error.url" : "{url}/me",
"client.connection.failed.url" : "{url}/me",
"logout.url" : "{url}/me",
"logout.disconnect.url" : "{url}/me",
"external.variables.txt" : "{url}/swf/gamedata/external_variables.txt",
"external.texts.txt" : "{url}/swf/gamedata/external_flash_texts.txt",
"external.figurepartlist.txt" : "{url}/swf/gamedata/figuredata.xml?time=<?php echo time();?>",
"external.override.texts.txt" : "{url}/swf/gamedata/external_flash_override_texts.php",
"external.override.variables.txt" : "{url}/swf/gamedata/external_override_variables.txt",
"productdata.load.url" : "{url}/swf/gamedata/productdata.txt",
"furnidata.load.url" : "{url}/swf/gamedata/furnidata.xml",
"sso.ticket" : "{sso}",
"processlog.enabled" : "1",
"account_id" : "58550849",
"client.starting" : "Please wait... Habstorm is loading!",
"flash.client.url" : "\//habstorm.pw/swf/gordon/PRODUCTION-201701242205-837386173/",
"user.hash" : "5855084941a37ed20e1b32ccbc5cad0751e0a8e2",
"has.identity" : "1",
"flash.client.origin" : "popup",
"nux.lobbies.enabled" : "true",
"country_code" : "GB"
};
var params =
{
"base" : "\//habstorm.us/swf/gordon/PRODUCTION-201701242205-837386173/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "
You must be registered for see links
", flashvars, params, null);</script>
</head>
<body>
<div id="client"></div>
<script src="
You must be registered for see links
" type="text/javascript"></script><script src="
You must be registered for see links
" type="text/javascript"></script></body>
</html>
<?php include_once('checktheban.php'); ?>
<?php include_once ("forceote.php");?>
<?php
if($_CONFIG['hotel']['two_factor'] == true){
$ud = mysql_query("SELECT * FROM users WHERE username = '" . $_SESSION['user']['username'] . "'") or die(mysql_error());
$ud = mysql_fetch_assoc($ud);
if($_SERVER['REQUEST_URI'] != '/authentication'){
if($ud['authentication_e'] == 0){
header('Location: ' . $_CONFIG['hotel']['url'] . '/authentication');
}
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} - Client</title>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/client.css" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "{url}/swf/gordon/PRODUCTION-201701242205-837386173";
var flashvars =
{
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "91.121.191.131",
"connection.info.port" : "1075",
"site.url" : "{url}",
"url.prefix" : "{url}",
"client.reload.url" : "{url}/me",
"client.fatal.error.url" : "{url}/me",
"client.connection.failed.url" : "{url}/me",
"logout.url" : "{url}/me",
"logout.disconnect.url" : "{url}/me",
"external.variables.txt" : "{url}/swf/gamedata/external_variables.txt",
"external.texts.txt" : "{url}/swf/gamedata/external_flash_texts.txt",
"external.figurepartlist.txt" : "{url}/swf/gamedata/figuredata.xml?time=<?php echo time();?>",
"external.override.texts.txt" : "{url}/swf/gamedata/external_flash_override_texts.php",
"external.override.variables.txt" : "{url}/swf/gamedata/external_override_variables.txt",
"productdata.load.url" : "{url}/swf/gamedata/productdata.txt",
"furnidata.load.url" : "{url}/swf/gamedata/furnidata.xml",
"sso.ticket" : "{sso}",
"processlog.enabled" : "1",
"account_id" : "58550849",
"client.starting" : "Please wait... Habstorm is loading!",
"flash.client.url" : "\//habstorm.pw/swf/gordon/PRODUCTION-201701242205-837386173/",
"user.hash" : "5855084941a37ed20e1b32ccbc5cad0751e0a8e2",
"has.identity" : "1",
"flash.client.origin" : "popup",
"nux.lobbies.enabled" : "true",
"country_code" : "GB"
};
var params =
{
"base" : "\//habstorm.us/swf/gordon/PRODUCTION-201701242205-837386173/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "
</script>
</head>
<body>
<div id="client"></div>
<script src="
<script src="
</body>
</html>
<?php include_once ("forceote.php");?>
<?php
if($_CONFIG['hotel']['two_factor'] == true){
$ud = mysql_query("SELECT * FROM users WHERE username = '" . $_SESSION['user']['username'] . "'") or die(mysql_error());
$ud = mysql_fetch_assoc($ud);
if($_SERVER['REQUEST_URI'] != '/authentication'){
if($ud['authentication_e'] == 0){
header('Location: ' . $_CONFIG['hotel']['url'] . '/authentication');
}
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} - Client</title>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/client.css" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "{url}/swf/gordon/PRODUCTION-201701242205-837386173";
var flashvars =
{
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "91.121.191.131",
"connection.info.port" : "1075",
"site.url" : "{url}",
"url.prefix" : "{url}",
"client.reload.url" : "{url}/me",
"client.fatal.error.url" : "{url}/me",
"client.connection.failed.url" : "{url}/me",
"logout.url" : "{url}/me",
"logout.disconnect.url" : "{url}/me",
"external.variables.txt" : "{url}/swf/gamedata/external_variables.txt",
"external.texts.txt" : "{url}/swf/gamedata/external_flash_texts.txt",
"external.figurepartlist.txt" : "{url}/swf/gamedata/figuredata.xml?time=<?php echo time();?>",
"external.override.texts.txt" : "{url}/swf/gamedata/external_flash_override_texts.php",
"external.override.variables.txt" : "{url}/swf/gamedata/external_override_variables.txt",
"productdata.load.url" : "{url}/swf/gamedata/productdata.txt",
"furnidata.load.url" : "{url}/swf/gamedata/furnidata.xml",
"sso.ticket" : "{sso}",
"processlog.enabled" : "1",
"account_id" : "58550849",
"client.starting" : "Please wait... Habstorm is loading!",
"flash.client.url" : "\//habstorm.pw/swf/gordon/PRODUCTION-201701242205-837386173/",
"user.hash" : "5855084941a37ed20e1b32ccbc5cad0751e0a8e2",
"has.identity" : "1",
"flash.client.origin" : "popup",
"nux.lobbies.enabled" : "true",
"country_code" : "GB"
};
var params =
{
"base" : "\//habstorm.us/swf/gordon/PRODUCTION-201701242205-837386173/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "
You must be registered for see links
", flashvars, params, null);</script>
</head>
<body>
<div id="client"></div>
<script src="
You must be registered for see links
" type="text/javascript"></script><script src="
You must be registered for see links
" type="text/javascript"></script></body>
</html>
Feel free to check the hotel link to see what i mean.
any help will be appreciated!
UPDATE:
I was a noob, here's my config....
<?php
error_reporting(0);
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
#Please fill this all out.
#NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.
/*
*
* MySQL management
*
*/
$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.
$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host
$_CONFIG['mysql']['username'] = 'root'; //MySQL username
$_CONFIG['mysql']['password'] = 'DaddyRP132'; //MySQL password
$_CONFIG['mysql']['database'] = 'ultra'; //MySQL database
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
/*
*
* Hotel management - All URLs do not end with an "/"
*
*/
$_CONFIG['hotel']['server_ip'] = '91.121.191.131'; //IP of DDos protected server.
$_CONFIG['hotel']['server_port'] = '1075'; //Port that EMU uses!
$_CONFIG['hotel']['url'] = '
$_CONFIG['hotel']['name'] = 'Habstorm'; // Hotel's name
$_CONFIG['hotel']['desc'] = 'Best hotel around!'; //Hotel's description
$_CONFIG['hotel']['online_text'] = 'Members Online!'; // Its the text that is near 15 Bla's online.
$_CONFIG['hotel']['owner1'] = 'Dev'; //Owner 1
$_CONFIG['hotel']['owner2'] = 'Mac'; //If you only have one owner leave this blank! // Owner 2 - not needed
$_CONFIG['hotel']['email'] = '[email protected]'; //Where the help queries from users are emailed to.@Priv skin
$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance
$_CONFIG['hotel']['motto'] = 'I am new to ' . $_CONFIG['hotel']['name']; //Default motto users will register with.
$_CONFIG['hotel']['maint_rank'] = 6; // This currently only works for the one rank, in the next build it will allow for the rank +.
$_CONFIG['hotel']['max_reg'] = 50000; // The maximum amount of users
$_CONFIG['hotel']['credits'] = 25000; //Default number of credits users will register with.
$_CONFIG['hotel']['pixels'] = 50000; //Default number of pixels users will register with.
$_CONFIG['hotel']['figure'] = 'hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100'; //Default figure users will register with.
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build
$_CONFIG['hotel']['external_vars'] = '
$_CONFIG['hotel']['external_texts'] = '
$_CONFIG['hotel']['product_data'] = '
$_CONFIG['hotel']['furni_data'] = '
$_CONFIG['hotel']['swf_folder'] = '
//Facts if you enter the fact here it will randomly show at the top of your page!
$_CONFIG['hotel']['fact_1'] = 'Buying VIP helps keep Habish alive!';
$_CONFIG['hotel']['fact_2'] = 'Habish peaked at 30 users online!';
$_CONFIG['hotel']['fact_3'] = 'You can get credits by winning rotw\'s, etc!';
$_CONFIG['hotel']['fact_4'] = 'Habbo is owned by ' . $_CONFIG['hotel']['owner1'] . $_CONFIG['hotel']['owner2'];
/*
*
* Templating management - Pick one of our default styles or make yours by following our examples!
*
*/
#RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style.
$_CONFIG['template']['style'] = 'Habbo';
?>
error_reporting(0);
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
#Please fill this all out.
#NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.
/*
*
* MySQL management
*
*/
$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.
$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host
$_CONFIG['mysql']['username'] = 'root'; //MySQL username
$_CONFIG['mysql']['password'] = 'DaddyRP132'; //MySQL password
$_CONFIG['mysql']['database'] = 'ultra'; //MySQL database
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
/*
*
* Hotel management - All URLs do not end with an "/"
*
*/
$_CONFIG['hotel']['server_ip'] = '91.121.191.131'; //IP of DDos protected server.
$_CONFIG['hotel']['server_port'] = '1075'; //Port that EMU uses!
$_CONFIG['hotel']['url'] = '
You must be registered for see links
//Does not end with a "/"$_CONFIG['hotel']['name'] = 'Habstorm'; // Hotel's name
$_CONFIG['hotel']['desc'] = 'Best hotel around!'; //Hotel's description
$_CONFIG['hotel']['online_text'] = 'Members Online!'; // Its the text that is near 15 Bla's online.
$_CONFIG['hotel']['owner1'] = 'Dev'; //Owner 1
$_CONFIG['hotel']['owner2'] = 'Mac'; //If you only have one owner leave this blank! // Owner 2 - not needed
$_CONFIG['hotel']['email'] = '[email protected]'; //Where the help queries from users are emailed to.@Priv skin
$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance
$_CONFIG['hotel']['motto'] = 'I am new to ' . $_CONFIG['hotel']['name']; //Default motto users will register with.
$_CONFIG['hotel']['maint_rank'] = 6; // This currently only works for the one rank, in the next build it will allow for the rank +.
$_CONFIG['hotel']['max_reg'] = 50000; // The maximum amount of users
$_CONFIG['hotel']['credits'] = 25000; //Default number of credits users will register with.
$_CONFIG['hotel']['pixels'] = 50000; //Default number of pixels users will register with.
$_CONFIG['hotel']['figure'] = 'hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100'; //Default figure users will register with.
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build
$_CONFIG['hotel']['external_vars'] = '
You must be registered for see links
//URL to your external vars$_CONFIG['hotel']['external_texts'] = '
You must be registered for see links
//URL to your external texts$_CONFIG['hotel']['product_data'] = '
You must be registered for see links
//URL to your productdata$_CONFIG['hotel']['furni_data'] = '
You must be registered for see links
//URL to your furnidata$_CONFIG['hotel']['swf_folder'] = '
You must be registered for see links
//URL to your SWF folder//Facts if you enter the fact here it will randomly show at the top of your page!
$_CONFIG['hotel']['fact_1'] = 'Buying VIP helps keep Habish alive!';
$_CONFIG['hotel']['fact_2'] = 'Habish peaked at 30 users online!';
$_CONFIG['hotel']['fact_3'] = 'You can get credits by winning rotw\'s, etc!';
$_CONFIG['hotel']['fact_4'] = 'Habbo is owned by ' . $_CONFIG['hotel']['owner1'] . $_CONFIG['hotel']['owner2'];
/*
*
* Templating management - Pick one of our default styles or make yours by following our examples!
*
*/
#RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style.
$_CONFIG['template']['style'] = 'Habbo';
?>