The ports on my emu config was wrong, fixed now however I now disconnect when I load to the hotel viewClient Config.
Emulator configured right?
Ports opened?
${url.prefix} = 127.0.0.1
## Mercury Emulator System Configuration File
## Must be edited for the server to work
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=
db.name=r63b
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=1
db.pool.maxsize=500
## Game TCP/IP Configuration
game.tcp.bindip=127.0.0.1
game.tcp.port=30000
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=true
## MUS TCP/IP Configuration
mus.tcp.bindip=127.0.0.1
mus.tcp.port=30001
mus.tcp.allowedaddr=127.0.0.1
## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
I believe that they are.Check if your variables are set correctly and points to the right SWFs and TXTs in your server.
If he's connected and then it disconnects it does not have anything to do with variables -__-Check if your variables are set correctly and points to the right SWFs and TXTs in your server.
Same problem occursIf he's connected and then it disconnects it does not have anything to do with variables -__-
Okay, this is localhost mind you so you do not need to open ports, sorry didn't realize that.
Also: You already have XAMPP/IIS configured correctly
which leaves it down to the following configuration:
- Emulator
- Client
## Mercury Emulator System Configuration File
## Must be edited for the server to work
## MySQL Configuration
db.hostname=127.0.0.1
db.port=3306
db.username=root
db.password=
db.name=r63b
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=1
db.pool.maxsize=500
## Game TCP/IP Configuration
game.tcp.bindip=127.0.0.1
game.tcp.port=30000
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=true
## MUS TCP/IP Configuration
mus.tcp.bindip=127.0.0.1
mus.tcp.port=30001
mus.tcp.allowedaddr=127.0.0.1
## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
If that configuration does not work, please leave your client.php code
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} - Client</title>
<link rel="shortcut icon" href="{url}/favicon.ico" type="image/vnd.microsoft.icon" />
<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.starting" : "Please wait, {hotelName} is loading",
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "127.0.0.1",
"connection.info.port" : "30000",
"site.url" : "{url}",
"url.prefix" : "{url}",
"client.reload.url" : "{url}/client",
"client.fatal.error.url" : "{url}/me",
"client.connection.failed.url" : "{url}/me",
"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",
"flash.client.url" : BaseUrl,
"flash.client.origin" : "popup"
};
var params =
{
"base" : BaseUrl + "/",
"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>
Yeah I did,Did you: Update your configuration in the emulator and restart the emu?
Also I need your configuration for your CMS now, because your client.php connects back to that.
<?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 - Localhost, Hamachi IP, VPS or Dedi's IP
$_CONFIG['mysql']['username'] = 'root'; //Phpmyadmin username
$_CONFIG['mysql']['password'] = ''; //Phpmyadmin password
$_CONFIG['mysql']['database'] = 'r63b'; //Phpmyadmin database name
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
/*
*
* Hotel management - All URLs do not end with an "/"
*
*/
$_CONFIG['hotel']['server_ip'] = '127.0.0.1'; //Localhost, Hamachi IP, VPS or Dedi's IP
$_CONFIG['hotel']['url'] = 'http://127.0.0.1'; //URL to your hotel, does not end with a "/"
$_CONFIG['hotel']['name'] = 'HabCloud'; // Your Hotel's Name
$_CONFIG['hotel']['desc'] = 'Your new addiction!'; //Hotel's description
$_CONFIG['hotel']['email'] = '[email protected]'; //Email for users to submit help requests to
$_CONFIG['hotel']['in_maint'] = false; //false for no maintenance mode & true for maintenance mode
$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; //Starting motto for new users
$_CONFIG['hotel']['credits'] = 50000; //How many coins new users get
$_CONFIG['hotel']['pixels'] = 50000; //How many pixels new users get
$_CONFIG['hotel']['figure'] = 'ch-3208-92-1408.he-1610-63.lg-3057-81.hd-3092-10.hr-831-37.sh-295-92'; //Default figure users will register with.
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build
$_CONFIG['hotel']['external_vars'] = 'http://127.0.0.1/r63b/game/gamedata/external_variables.txt'; //URL to your external vars
$_CONFIG['hotel']['external_texts'] = 'http://127.0.0.1/r63b/game/gamedata/external_flash_texts.txt'; //URL to your external texts
$_CONFIG['hotel']['product_data'] = 'http://127.0.0.1/r63b/game/gamedata/productdata.txt'; //URL to your productdata
$_CONFIG['hotel']['furni_data'] = 'http://127.0.0.1/r63b/game/gamedata/furnidata_xml.xml'; //URL to your furnidata
$_CONFIG['hotel']['swf_folder'] = 'http://127.0.0.1/r63b/game/gordon/RELEASE63-201408141029-609065162'; //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
?>
$_CONFIG['hotel']['external_vars'] = 'You must be registered for see links/r63b/game/gamedata/external_variables.txt'; //URL to your external vars
$_CONFIG['hotel']['external_texts'] = 'You must be registered for see linksr63b/game/gamedata/external_flash_texts.txt'; //URL to your external texts
$_CONFIG['hotel']['product_data'] = 'You must be registered for see links63b/game/gamedata/productdata.txt'; //URL to your productdata
$_CONFIG['hotel']['furni_data'] = 'You must be registered for see links63b/game/gamedata/furnidata_xml.xml'; //URL to your furnidata - JayCustom: Furnidata should be a txt file
$_CONFIG['hotel']['swf_folder'] = 'You must be registered for see links/r63b/game/gordon/RELEASE63-201408141029-609065162'; //URL to your SWF folder(does not end with a '/')
Changed config, same problem,<?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 - Localhost, Hamachi IP, VPS or Dedi's IP
$_CONFIG['mysql']['username'] = 'root'; //Phpmyadmin username
$_CONFIG['mysql']['password'] = ''; //Phpmyadmin password
$_CONFIG['mysql']['database'] = 'r63b'; //Phpmyadmin database name
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
/*
*
* Hotel management - All URLs do not end with an "/"
*
*/
$_CONFIG['hotel']['server_ip'] = 'localhost'; //Localhost, Hamachi IP, VPS or Dedi's IP
$_CONFIG['hotel']['url'] = 'You must be registered for see links//URL to your hotel, does not end with a "/"
$_CONFIG['hotel']['name'] = 'HabCloud'; // Your Hotel's Name
$_CONFIG['hotel']['desc'] = 'Your new addiction!'; //Hotel's description
$_CONFIG['hotel']['email'] = '[email protected]'; //Email for users to submit help requests to
$_CONFIG['hotel']['in_maint'] = false; //false for no maintenance mode & true for maintenance mode
$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; //Starting motto for new users
$_CONFIG['hotel']['credits'] = 50000; //How many coins new users get
$_CONFIG['hotel']['pixels'] = 50000; //How many pixels new users get
$_CONFIG['hotel']['figure'] = 'ch-3208-92-1408.he-1610-63.lg-3057-81.hd-3092-10.hr-831-37.sh-295-92'; //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(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
?>
And what the fuck is going on with this, verify these links:
Looking around on other forums it says the the .xml file should be used with MercuryYou need to find a furnidata .txt it SHOULD NOT be .xml