necm1
Member
- Jan 27, 2014
- 111
- 16
Why doesn't work?You must be registered for see links
The external_variables.txt I had already edited. . __.
Where are the SWFs or where can I download the latest?Get new swfs.
Why doesn't work?You must be registered for see links
The external_variables.txt I had already edited. . __.
Where are the SWFs or where can I download the latest?Get new swfs.
I did everything like in the video, the client of this background is quite different and my look does not appear ...I have made a video of me making this retro with these exact files, just to prove this works!
Are you using IIS?register error Field 'position' doesn't have a default value :/
## 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 was here}
db.name=hotel
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
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=3001
mus.tcp.allowedaddr=127.0.0.1
## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
<?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'] = '{Database password was here}'; //MySQL password
$_CONFIG['mysql']['database'] = 'hotel'; //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'] = 'http://localhost'; //Does not end with a "/"
$_CONFIG['hotel']['name'] = '{Hotel name was here}'; // Hotel's name
$_CONFIG['hotel']['desc'] = 'Where The Fun Begins!'; //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 am a new player.'; //Default motto users will register with.
$_CONFIG['hotel']['credits'] = 30000; //Default number of credits users will register with.
$_CONFIG['hotel']['pixels'] = 15000; //Default number of pixels users will register with.
$_CONFIG['hotel']['figure'] = 'hr-125-31.ch-215-62.hd-209-8.lg-275-63'; //Default figure users will register with.
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1532'; //Web_Build
$_CONFIG['hotel']['external_vars'] = 'http://localhost/game/external_variables.txt'; //URL to your external
$_CONFIG['hotel']['external_texts'] = 'http://localhost/game/external_flash_texts.txt'; //URL to your external texts
$_CONFIG['hotel']['product_data'] = 'http://localhost/game/productdata.txt'; //URL to your productdata
$_CONFIG['hotel']['furni_data'] = 'http://localhost/game/furnidata.txt'; //URL to your furnidata
$_CONFIG['hotel']['swf_folder'] = 'http://localhost/game'; //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'] = 'HabboExtreme';
/*
*
* Other topsites.. thing
*
*/
$_CONFIG['thehabbos']['username'] = 'Habbam';
$_CONFIG['retro_top']['user'] = 'Habbam';
/*
*
* 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'] = ''; //Hotel's Twitter account
$_CONFIG['social']['facebook'] = 'habbamcom'; //Hotel's Facebook account
?>
<!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/{skin}/styles/client.css" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "http://localhost/game";
var flashvars =
{
"client.starting" : "Please wait, {hotelname} loading",
"hotelview.banner.url" : "http://localhost/game/rs4.php",
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "127.0.0.1",
"connection.info.port" : "30000",
"site.url" : "http://localhost",
"url.prefix" : "http://localhost",
"client.reload.url" : "http://localhost/client",
"client.fatal.error.url" : "http://localhost/me?fe=true",
"client.connection.failed.url" : "http://localhost/me",
"external.variables.txt" : "http://localhost/game/external_variables.txt",
"external.texts.txt" : "http://localhost/game/external_flash_texts.txt",
"productdata.load.url" : "httpo://localhost/game/productdata.txt",
"furnidata.load.url" : "http://localhost/game/furnidata_xml.xml",
"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", "http://localhost//expressInstall.swf", flashvars, params, null);
</script>
</head>
<body>
<div id="client"></div>
</body>
</html>
in ur client.php m8 use 127.0.0.1 .. just use 127.0.0.1 as every default url or link good luckI'm having problems where my client will load (and display in the emulator), but will disconnect once the hotel view is displayed.
Does anybody know how to fix this? Nothing is showing in my logs. I've checked all my configurations too, and all appear to be OK. My firewall has been temporarily disabled for testing purposes.
The user is shown in the emulator as being connected, and then disconnected.
Emulator config.ini:
Code:## 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 was here} db.name=hotel ## MySQL pooling setup (controls amount of connections) db.pool.minsize=10 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=3001 mus.tcp.allowedaddr=127.0.0.1 ## Client configuration client.ping.enabled=1 client.ping.interval=20000 client.maxrequests=300
CMS config.php:
Code:<?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'] = '{Database password was here}'; //MySQL password $_CONFIG['mysql']['database'] = 'hotel'; //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'] = 'http://localhost'; //Does not end with a "/" $_CONFIG['hotel']['name'] = 'Kumo'; // Hotel's name $_CONFIG['hotel']['desc'] = 'Where The Fun Begins!'; //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 am a new player.'; //Default motto users will register with. $_CONFIG['hotel']['credits'] = 30000; //Default number of credits users will register with. $_CONFIG['hotel']['pixels'] = 15000; //Default number of pixels users will register with. $_CONFIG['hotel']['figure'] = 'hr-125-31.ch-215-62.hd-209-8.lg-275-63'; //Default figure users will register with. $_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1532'; //Web_Build $_CONFIG['hotel']['external_vars'] = 'http://localhost/game/external_variables.txt'; //URL to your external $_CONFIG['hotel']['external_texts'] = 'http://localhost/game/external_flash_texts.txt'; //URL to your external texts $_CONFIG['hotel']['product_data'] = 'http://localhost/game/productdata.txt'; //URL to your productdata $_CONFIG['hotel']['furni_data'] = 'http://localhost/game/furnidata.txt'; //URL to your furnidata $_CONFIG['hotel']['swf_folder'] = 'http://localhost/game'; //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'] = 'HabboExtreme'; /* * * Other topsites.. thing * */ $_CONFIG['thehabbos']['username'] = 'Habbam'; $_CONFIG['retro_top']['user'] = 'Habbam'; /* * * 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'] = ''; //Hotel's Twitter account $_CONFIG['social']['facebook'] = 'habbamcom'; //Hotel's Facebook account ?>
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="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css"> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script> <script type="text/javascript"> var BaseUrl = "http://localhost/game"; var flashvars = { "client.starting" : "Please wait, {hotelname} loading", "hotelview.banner.url" : "http://localhost/game/rs4.php", "client.allow.cross.domain" : "1", "client.notify.cross.domain" : "0", "connection.info.host" : "127.0.0.1", "connection.info.port" : "30000", "site.url" : "http://localhost", "url.prefix" : "http://localhost", "client.reload.url" : "http://localhost/client", "client.fatal.error.url" : "http://localhost/me?fe=true", "client.connection.failed.url" : "http://localhost/me", "external.variables.txt" : "http://localhost/game/external_variables.txt", "external.texts.txt" : "http://localhost/game/external_flash_texts.txt", "productdata.load.url" : "httpo://localhost/game/productdata.txt", "furnidata.load.url" : "http://localhost/game/furnidata_xml.xml", "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", "http://localhost//expressInstall.swf", flashvars, params, null); </script> </head> <body> <div id="client"></div> </body> </html>
As per the tutorial, I've changed the Habbo.swf file, and I've also checked my external_variables.txt file - which seems to be OK. The emulator isn't returning any errors.
As seen in my client.php file, I've added fe=true to the fatal error URL, which appears when the client disconnects, meaning there's a fatal error somewhere.
Any help is greatly appreciated!
Thanks. I just tried this, but it didn't work. I also tried changing localhost to 127.0.0.1 in client.php, config.ini and config.phpin ur client.php m8 use 127.0.0.1 .. just use 127.0.0.1 as every default url or link good luck
To fix the language, it says in the tut at the bottom. go to that externalflashtexts link for habbo, open your externalflashtexts file and replace it with all the stuff on there page.Few problems I am having:
- Shop (Doesn't work)
- Housekeeping (Doesn't work very well)
- Client Language (Most of the client isn't even English)
I'm having problems where my client will load (and display in the emulator), but will disconnect once the hotel view is displayed.
Does anybody know how to fix this? Nothing is showing in my logs. I've checked all my configurations too, and all appear to be OK. My firewall has been temporarily disabled for testing purposes.
The user is shown in the emulator as being connected, and then disconnected.
Emulator config.ini:
Code:## 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 was here} db.name=hotel ## MySQL pooling setup (controls amount of connections) db.pool.minsize=10 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=3001 mus.tcp.allowedaddr=127.0.0.1 ## Client configuration client.ping.enabled=1 client.ping.interval=20000 client.maxrequests=300
CMS config.php:
Code:<?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'] = '{Database password was here}'; //MySQL password $_CONFIG['mysql']['database'] = 'hotel'; //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'] = 'http://localhost'; //Does not end with a "/" $_CONFIG['hotel']['name'] = '{Hotel name was here}'; // Hotel's name $_CONFIG['hotel']['desc'] = 'Where The Fun Begins!'; //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 am a new player.'; //Default motto users will register with. $_CONFIG['hotel']['credits'] = 30000; //Default number of credits users will register with. $_CONFIG['hotel']['pixels'] = 15000; //Default number of pixels users will register with. $_CONFIG['hotel']['figure'] = 'hr-125-31.ch-215-62.hd-209-8.lg-275-63'; //Default figure users will register with. $_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1532'; //Web_Build $_CONFIG['hotel']['external_vars'] = 'http://localhost/game/external_variables.txt'; //URL to your external $_CONFIG['hotel']['external_texts'] = 'http://localhost/game/external_flash_texts.txt'; //URL to your external texts $_CONFIG['hotel']['product_data'] = 'http://localhost/game/productdata.txt'; //URL to your productdata $_CONFIG['hotel']['furni_data'] = 'http://localhost/game/furnidata.txt'; //URL to your furnidata $_CONFIG['hotel']['swf_folder'] = 'http://localhost/game'; //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'] = 'HabboExtreme'; /* * * Other topsites.. thing * */ $_CONFIG['thehabbos']['username'] = 'Habbam'; $_CONFIG['retro_top']['user'] = 'Habbam'; /* * * 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'] = ''; //Hotel's Twitter account $_CONFIG['social']['facebook'] = 'habbamcom'; //Hotel's Facebook account ?>
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="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css"> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script> <script type="text/javascript"> var BaseUrl = "http://localhost/game"; var flashvars = { "client.starting" : "Please wait, {hotelname} loading", "hotelview.banner.url" : "http://localhost/game/rs4.php", "client.allow.cross.domain" : "1", "client.notify.cross.domain" : "0", "connection.info.host" : "127.0.0.1", "connection.info.port" : "30000", "site.url" : "http://localhost", "url.prefix" : "http://localhost", "client.reload.url" : "http://localhost/client", "client.fatal.error.url" : "http://localhost/me?fe=true", "client.connection.failed.url" : "http://localhost/me", "external.variables.txt" : "http://localhost/game/external_variables.txt", "external.texts.txt" : "http://localhost/game/external_flash_texts.txt", "productdata.load.url" : "httpo://localhost/game/productdata.txt", "furnidata.load.url" : "http://localhost/game/furnidata_xml.xml", "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", "http://localhost//expressInstall.swf", flashvars, params, null); </script> </head> <body> <div id="client"></div> </body> </html>
As per the tutorial, I've changed the Habbo.swf file, and I've also checked my external_variables.txt file - which seems to be OK. The emulator isn't returning any errors.
As seen in my client.php file, I've added fe=true to the fatal error URL, which appears when the client disconnects, meaning there's a fatal error somewhere.
Any help is greatly appreciated!
[code]
## 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 was here}
db.name=hotel
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
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=3001
mus.tcp.allowedaddr=127.0.0.1
## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
to
[CODE][code]
## 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 was here}
db.name=hotel
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=0
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
$_CONFIG['hotel']['furni_data'] = 'http://localhost/game/furnidata.txt'; //URL to your furnidata
$_CONFIG['hotel']['furni_data'] = 'http://localhost/game/furnidata_xml.xml'; //URL to your furnidata
I had the same thing at first.You must be registered for see links
Why is my background is different?