agni00
Member
- Jul 21, 2013
- 34
- 0
Hi! When I go to My client it loads and then goes black and d/c.. My Emulator Doesn't shows any thing about client.
My Config.php
<?php
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'] = '9831008706'; //MySQL password
$_CONFIG['mysql']['database'] = 'test3'; //MySQL database
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
/*
*
* Hotel management - All URLs do not end with an "/"
*
*/
$_CONFIG['hotel']['server_ip'] = '127.0.0.1'; //IP of VPS/DEDI/etc
$_CONFIG['hotel']['url'] = '
$_CONFIG['hotel']['name'] = 'Spark'; // Hotel's name
$_CONFIG['hotel']['desc'] = 'Chill Out!'; //Hotel's description
$_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 <3 ' . $_CONFIG['hotel']['name']; //Default motto users will register with.
$_CONFIG['hotel']['credits'] = 50000; //Default number of credits users will register with.
$_CONFIG['hotel']['pixels'] = 10000; //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/930'; //Web_Build
$_CONFIG['hotel']['external_vars'] = '
$_CONFIG['hotel']['external_texts'] = '
$_CONFIG['hotel']['product_data'] = '
$_CONFIG['hotel']['furni_data'] = '
$_CONFIG['hotel']['swf_folder'] = '
/*
*
* 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';
/*
*
* Other topsites.. thing
*
*/
$_CONFIG['thehabbos']['username'] = 'Kryptos';
$_CONFIG['retro_top']['user'] = 'Kryptos';
/*
*
* Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.
*
*/
$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';
$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';
/*
*
* Social Networking stuff
*
*/
$_CONFIG['social']['twitter'] = 'TwitterAccount'; //Hotel's Twitter account
$_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account
?>
My Config.conf (Emulator)
## Free Phoenix 3.7.1 13800 c2.1 System Configuration File
## Licence Information put user and password that you want
username=Predator
password=Rulez
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=9831008706
db.name=test3
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=5
db.pool.maxsize=100
## Game TCP/IP Configuration
game.tcp.bindip=localhost
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=localhost
mus.tcp.port=30001
mus.tcp.allowedaddr=localhost
## Console Configuration
emu.messages.connections=1
emu.messages.roommgr=1
My Client.PHP
<!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 = "{swf_folder}";
var flashvars = {
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "{server_ip}",
"connection.info.port" : "30001",
"site.url" : "{url}/",
"url.prefix" : "{url}/",
"client.reload.url" : "{url}/client",
"client.fatal.error.url" : "{url}/disconnected",
"client.connection.failed.url" : "{url}/disconnected",
"external.variables.txt" : "{external_vars}",
"external.texts.txt" : "{external_texts}",
"productdata.load.url" : "{product_data}",
"furnidata.load.url" : "{furni_data}",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"processlog.enabled" : "0",
"account_id" : "1",
"client.starting" : "Please wait! {hotelName} is starting up",
"flash.client.url" : "{swf_folder}/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "0",
"flash.client.origin" : "popup",
"token" : "{sso}"
};
var params = {
"base" : "{swf_folder}/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
</script>
</head>
<body>
<div id="client"></div>
</body>
</html>
Please help!!!
My Config.php
<?php
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'] = '9831008706'; //MySQL password
$_CONFIG['mysql']['database'] = 'test3'; //MySQL database
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
/*
*
* Hotel management - All URLs do not end with an "/"
*
*/
$_CONFIG['hotel']['server_ip'] = '127.0.0.1'; //IP of VPS/DEDI/etc
$_CONFIG['hotel']['url'] = '
You must be registered for see links
//Does not end with a "/"$_CONFIG['hotel']['name'] = 'Spark'; // Hotel's name
$_CONFIG['hotel']['desc'] = 'Chill Out!'; //Hotel's description
$_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 <3 ' . $_CONFIG['hotel']['name']; //Default motto users will register with.
$_CONFIG['hotel']['credits'] = 50000; //Default number of credits users will register with.
$_CONFIG['hotel']['pixels'] = 10000; //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/930'; //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(does not end with a '/')/*
*
* 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';
/*
*
* Other topsites.. thing
*
*/
$_CONFIG['thehabbos']['username'] = 'Kryptos';
$_CONFIG['retro_top']['user'] = 'Kryptos';
/*
*
* Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.
*
*/
$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';
$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';
/*
*
* Social Networking stuff
*
*/
$_CONFIG['social']['twitter'] = 'TwitterAccount'; //Hotel's Twitter account
$_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account
?>
My Config.conf (Emulator)
## Free Phoenix 3.7.1 13800 c2.1 System Configuration File
## Licence Information put user and password that you want
username=Predator
password=Rulez
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=9831008706
db.name=test3
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=5
db.pool.maxsize=100
## Game TCP/IP Configuration
game.tcp.bindip=localhost
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=localhost
mus.tcp.port=30001
mus.tcp.allowedaddr=localhost
## Console Configuration
emu.messages.connections=1
emu.messages.roommgr=1
My Client.PHP
<!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 = "{swf_folder}";
var flashvars = {
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "{server_ip}",
"connection.info.port" : "30001",
"site.url" : "{url}/",
"url.prefix" : "{url}/",
"client.reload.url" : "{url}/client",
"client.fatal.error.url" : "{url}/disconnected",
"client.connection.failed.url" : "{url}/disconnected",
"external.variables.txt" : "{external_vars}",
"external.texts.txt" : "{external_texts}",
"productdata.load.url" : "{product_data}",
"furnidata.load.url" : "{furni_data}",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"processlog.enabled" : "0",
"account_id" : "1",
"client.starting" : "Please wait! {hotelName} is starting up",
"flash.client.url" : "{swf_folder}/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "0",
"flash.client.origin" : "popup",
"token" : "{sso}"
};
var params = {
"base" : "{swf_folder}/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
</script>
</head>
<body>
<div id="client"></div>
</body>
</html>
Please help!!!