404 client error

EngeldesTodes

Deutsch Techno-Freak WIR SIND EIN
Feb 21, 2011
1,075
77
Hey devbest I got a problem followed nippy tut to it last detail got most of it working just wjen I load the cpient the bar loads then the emu picks up the connection then client chicks me a 404 error I set client up right ajy help
here is the files as requested




Sent from Samsung Galaxy Ace III
 
Last edited:

Evilsmoothie

Mad kung-fu artist
Feb 11, 2013
446
57
Follow a different tutorial for the client part. When he wrote his tutorial I had just spent fucking hours helping him setup a retro for the first time... Edit; give me the link to the tutorial, so I can look over it. I might be able to see what went wrong :p
 

EngeldesTodes

Deutsch Techno-Freak WIR SIND EIN
Feb 21, 2011
1,075
77
Follow a different tutorial for the client part. When he wrote his tutorial I had just spent fucking hours helping him setup a retro for the first time... Edit; give me the link to the tutorial, so I can look over it. I might be able to see what went wrong :p
as requested here the link
 

EngeldesTodes

Deutsch Techno-Freak WIR SIND EIN
Feb 21, 2011
1,075
77
here u go
client.php
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://hothhotel.servebeer.com/game";
            var flashvars =
            {
                "client.starting" : "Please wait, {hotelname} loading",
                "hotelview.banner.url" : "http;//hothhotel.servebeer.com/game/rs4.php",
                "client.allow.cross.domain" : "1",
                "client.notify.cross.domain" : "0",
                "connection.info.host" : "185.10.202.149",
                "connection.info.port" : "30000",
                "site.url" : "http://hothhotel.servebeer.com",
                "url.prefix" : "http://hothhotel.servebeer.com",
                "client.reload.url" : "http://hothhotel.servebeer.com/client",
                "client.fatal.error.url" : "http://hothhotel.servebeer.com/me",
                "client.connection.failed.url" : "http://hothhotel.servebeer.com/me",
                "external.variables.txt" : "http://hothhotel.servebeer.com/game/external_varibles.txt",
                "external.texts.txt" : "http://hothhotel.servebeer.com/game/external_flash_texts.txt",
                "productdata.load.url" : "http://hothhotel.servebeer.com/game/productdata.txt",
                "furnidata.load.url" : "http://hothhotel.servebeer.com/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://hothhotel.servebeer.com/expressInstall.swf", flashvars, params, null);
        </script>
    </head>
   
    <body>
   
        <div id="client"></div>
   
    </body>
</html>

emu config
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=***********
db.name=r63b

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
db.pool.maxsize=500

## Game TCP/IP Configuration
game.tcp.bindip=185.10.202.149
game.tcp.port=30000
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=true

## MUS TCP/IP Configuration
mus.tcp.bindip=185.10.202.149
mus.tcp.port=3001
mus.tcp.allowedaddr=185.10.202.149

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
cms config
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'] = '************'; //MySQL password

$_CONFIG['mysql']['database'] = 'r63b'; //MySQL database

$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*
*
*    Hotel management  - All URLs do not end with an "/"
*
*/

$_CONFIG['hotel']['server_ip'] = '185.10.202.149'; //IP of VPS/DEDI/etc

$_CONFIG['hotel']['url'] = 'http://hothhotel.servebeer.com'; //Does not end with a "/"

$_CONFIG['hotel']['name'] = 'Hoth Hotel'; // Hotel's name

$_CONFIG['hotel']['desc'] = 'Where The Cold 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/2563'; //Web_Build

$_CONFIG['hotel']['external_vars'] = 'http://hothhotel.servebeer.com/game/external_variables.txt'; //URL to your external 

$_CONFIG['hotel']['external_texts'] = 'http://hothhotel.servebeer.com/game/external_flash_texts.txt'; //URL to your external texts

$_CONFIG['hotel']['product_data'] = 'http://hothhotel.servebeer.com/game/productdata.txt'; //URL to your productdata

$_CONFIG['hotel']['furni_data'] = 'http://hothhotel.servebeer.com/game/furnidata_xml.xml'; //URL to your furnidata

$_CONFIG['hotel']['swf_folder'] = 'http://hothhotel.servebeer.com/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


?>
external _varibles.php
Code:
 

EngeldesTodes

Deutsch Techno-Freak WIR SIND EIN
Feb 21, 2011
1,075
77
here u go
client.php
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://hothhotel.servebeer.com/game";
            var flashvars =
            {
                "client.starting" : "Please wait, {hotelname} loading",
                "hotelview.banner.url" : "http;//hothhotel.servebeer.com/game/rs4.php",
                "client.allow.cross.domain" : "1",
                "client.notify.cross.domain" : "0",
                "connection.info.host" : "185.10.202.149",
                "connection.info.port" : "30000",
                "site.url" : "http://hothhotel.servebeer.com",
                "url.prefix" : "http://hothhotel.servebeer.com",
                "client.reload.url" : "http://hothhotel.servebeer.com/client",
                "client.fatal.error.url" : "http://hothhotel.servebeer.com/me",
                "client.connection.failed.url" : "http://hothhotel.servebeer.com/me",
                "external.variables.txt" : "http://hothhotel.servebeer.com/game/external_varibles.txt",
                "external.texts.txt" : "http://hothhotel.servebeer.com/game/external_flash_texts.txt",
                "productdata.load.url" : "http://hothhotel.servebeer.com/game/productdata.txt",
                "furnidata.load.url" : "http://hothhotel.servebeer.com/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://hothhotel.servebeer.com/expressInstall.swf", flashvars, params, null);
        </script>
    </head>
  
    <body>
  
        <div id="client"></div>
  
    </body>
</html>

emu config
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=***********
db.name=r63b

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
db.pool.maxsize=500

## Game TCP/IP Configuration
game.tcp.bindip=185.10.202.149
game.tcp.port=30000
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=true

## MUS TCP/IP Configuration
mus.tcp.bindip=185.10.202.149
mus.tcp.port=3001
mus.tcp.allowedaddr=185.10.202.149

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
cms config
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'] = '************'; //MySQL password

$_CONFIG['mysql']['database'] = 'r63b'; //MySQL database

$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*
*
*    Hotel management  - All URLs do not end with an "/"
*
*/

$_CONFIG['hotel']['server_ip'] = '185.10.202.149'; //IP of VPS/DEDI/etc

$_CONFIG['hotel']['url'] = 'http://hothhotel.servebeer.com'; //Does not end with a "/"

$_CONFIG['hotel']['name'] = 'Hoth Hotel'; // Hotel's name

$_CONFIG['hotel']['desc'] = 'Where The Cold 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/2563'; //Web_Build

$_CONFIG['hotel']['external_vars'] = 'http://hothhotel.servebeer.com/game/external_variables.txt'; //URL to your external

$_CONFIG['hotel']['external_texts'] = 'http://hothhotel.servebeer.com/game/external_flash_texts.txt'; //URL to your external texts

$_CONFIG['hotel']['product_data'] = 'http://hothhotel.servebeer.com/game/productdata.txt'; //URL to your productdata

$_CONFIG['hotel']['furni_data'] = 'http://hothhotel.servebeer.com/game/furnidata_xml.xml'; //URL to your furnidata

$_CONFIG['hotel']['swf_folder'] = 'http://hothhotel.servebeer.com/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


?>
external _varibles.php
Code:
 

EngeldesTodes

Deutsch Techno-Freak WIR SIND EIN
Feb 21, 2011
1,075
77
well i tryed a different browser cause i used torch that chucks the 404 error i on firefox now and i left with black client both ports are open firewall is on yes it is Revision 2 swfs one's from nippy tut i check the files i have on the desktop and all the files in the game folder there are in my wwwroot folder and yes i useing IIS on a vps windows 2008R2 server but all ports works emu got a connection but firefox leaves it black client and torch browser chucks a 404 at me
 

Evilsmoothie

Mad kung-fu artist
Feb 11, 2013
446
57
port 30000 and poer 3001 are only at inbound rule not in the outbound rule
That is so weird. If I were you, I'd follow a different tutorial from the beginning. I've never had difficulties setting up a retro - so I don't know what you've done wrong, if it's even your fault and not Nippy's.
 

EngeldesTodes

Deutsch Techno-Freak WIR SIND EIN
Feb 21, 2011
1,075
77
That is so weird. If I were you, I'd follow a different tutorial from the beginning. I've never had difficulties setting up a retro - so I don't know what you've done wrong, if it's even your fault and not Nippy's.

i looked at nippy tut again and i have folowed it every step yet i still dunno what wrong with it
 

Users who are viewing this thread

Top